Java junit.framework TestResult fields, constructors, methods, implement or subclass

Example usage for Java junit.framework TestResult fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for junit.framework TestResult.

The text is from its open source code.

Constructor

Method

voidaddError(Test test, Throwable t)
Adds an error to the list of errors.
voidendTest(Test test)
Informs the result that a test was completed.
interrorCount()
Gets the number of detected errors.
Enumerationerrors()
Returns an Enumeration for the errors
intfailureCount()
Gets the number of detected failures.
Enumerationfailures()
Returns an Enumeration for the failures
intrunCount()
Gets the number of run tests.
voidrunProtected(final Test test, Protectable p)
Runs a TestCase.
booleanshouldStop()
Checks whether the test run should stop
voidstartTest(Test test)
Informs the result that a test will be started.
booleanwasSuccessful()
Returns whether the entire test was successful or not.