|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Reporter
Reports results from the TCK back to the user.
The sequence these methods are called is described below:
startTests(startObjenesis(result | exception) * endObjenesis) * endTests
TCK
,
TextReporter
Method Summary | |
---|---|
void |
endTest()
Report that tests have been completed for a particular Objenesis instance and candidate. |
void |
endTests()
Report that all tests have finished. |
void |
exception(java.lang.Exception exception)
Report that something bad happened during the test. |
void |
result(boolean instantiatedObject)
Report details about what happened when an Objenesis instance tried to instantiate the current candidate. |
void |
startTest(java.lang.String candidateDescription,
java.lang.String objenesisDescription)
Report that a test between a candidate and an objenesis instance if about to start. |
void |
startTests(java.lang.String platformDescription,
java.util.Collection allCandidates,
java.util.Collection allObjenesisInstances)
Report that the tests are starting. |
Method Detail |
---|
void startTests(java.lang.String platformDescription, java.util.Collection allCandidates, java.util.Collection allObjenesisInstances)
platformDescription
- Description the platform being run on (i.e. JVM version, vendor,
etc).allCandidates
- Descriptions (String) of all candidates being used in tests.allObjenesisInstances
- Descriptions of all Objenesis instances being used in tests.void startTest(java.lang.String candidateDescription, java.lang.String objenesisDescription)
candidateDescription
- Description of the candidate class.objenesisDescription
- Description of the objenesis instance.void result(boolean instantiatedObject)
instantiatedObject
- Whether the ObjectInstantiator successfully instantiated the
candidate class.void exception(java.lang.Exception exception)
exception
- Exception thrown by instantiator.void endTest()
void endTests()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |