|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockcentral.editor.nodes.expectation.MethodNameValidator
public class MethodNameValidator
Class used to validate a method name for an Mock Object method expectation.
| Constructor Summary | |
|---|---|
MethodNameValidator(IMethodsListEditor editor)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
isValidMethodName(java.lang.String methodName,
java.lang.Object excluded)
Returns whether the supplied method name is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodNameValidator(IMethodsListEditor editor)
editor - the IMethodsListEditor used to manage the
edit.| Method Detail |
|---|
public java.lang.String isValidMethodName(java.lang.String methodName,
java.lang.Object excluded)
methodName - the name for the methd.excluded - the object (if any) to exclude from duplication-checking.
If an existing expectation is currently being edited, this will be its
model.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||