Example usage for Java junit.framework TestResult fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addError(Test test, Throwable t) Adds an error to the list of errors. |
void | endTest(Test test) Informs the result that a test was completed. |
int | errorCount() Gets the number of detected errors. |
Enumeration | errors() Returns an Enumeration for the errors |
int | failureCount() Gets the number of detected failures. |
Enumeration | failures() Returns an Enumeration for the failures |
int | runCount() Gets the number of run tests. |
void | runProtected(final Test test, Protectable p) Runs a TestCase. |
boolean | shouldStop() Checks whether the test run should stop |
void | startTest(Test test) Informs the result that a test will be started. |
boolean | wasSuccessful() Returns whether the entire test was successful or not. |