|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CastorTestable
Every root object in an object model used in a tests has to implement this interface as well as to override the equals() method. It can be useful that all the objects in an object model used for tests implement this interface.
Method Summary | |
---|---|
java.lang.String |
dumpFields()
Returns a recursive dump of the contents of the object's fields in a user readable format. |
void |
randomizeFields()
Randomizes the contents of the fields of this instance. |
Method Detail |
---|
java.lang.String dumpFields()
We don't rely on the Object.toString()
function as
might be implemented with another semantic.
void randomizeFields() throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.InstantiationException
- if this method is called for an Interface
or abstract class
java.lang.IllegalAccessException
- if this method is not accessible
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |