|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMockObjectDataManager
Interface for classes that manage Mock Object name, interface and JNDI name data.
| Method Summary | |
|---|---|
java.lang.String |
getDefaultNewJndiName()
Returns a default value for a new JNDI name. |
java.lang.String |
getDefaultNewMockObjectName()
Returns a default value for a new Mock Object name. |
java.util.List<java.lang.String> |
getMockObjectNames(java.lang.Object excluded)
Returns the list of Mock Object names within the current Fixture. |
boolean |
isJndiNameInUse(java.lang.String jndiName,
java.lang.Object excluded)
Returns whether the supplied JNDI name is currently in use within the Fixture. |
java.lang.String |
isValidInterface(java.lang.String interfaceName)
Returns an error message indicating an invalid Mock Object interface, or null if the supplied interface name is valid. |
java.lang.String |
isValidJndiName(java.lang.String jndiName,
java.lang.Object excluded)
Returns an error message indicating an invalid JNDI name, or null if the supplied JNDI name is valid. |
java.lang.String |
isValidMockObjectName(java.lang.String mockObjectName,
java.lang.Object excluded)
Returns an error message indicating an invalid Mock Object name, or null if the supplied name is valid. |
| Method Detail |
|---|
java.lang.String getDefaultNewMockObjectName()
java.util.List<java.lang.String> getMockObjectNames(java.lang.Object excluded)
Fixture.
excluded - an Object the name of which to exclude from the list.
Fixture.
java.lang.String isValidMockObjectName(java.lang.String mockObjectName,
java.lang.Object excluded)
mockObjectName - the name for the Mock Object.excluded - an Object to exclude from duplicated-name testing.
java.lang.String isValidInterface(java.lang.String interfaceName)
interfaceName - the class name of the interface.
java.lang.String getDefaultNewJndiName()
java.lang.String isValidJndiName(java.lang.String jndiName,
java.lang.Object excluded)
jndiName - the JNDI name.excluded - the Object being edited, if any, to exclude from
duplicate-checking.
boolean isJndiNameInUse(java.lang.String jndiName,
java.lang.Object excluded)
Fixture.
jndiName - the JNDI name.excluded - an Object to exclude from duplicate-checking.
Fixture.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||