All Packages Class Hierarchy This Package Previous Next Index
Class junit.textui.TextTestResult
java.lang.Object
|
+----junit.framework.TestResult
|
+----junit.textui.TextTestResult
- public class TextTestResult
- extends TestResult
A TestResult which reports the results
textually.
-
TextTestResult()
-
-
addError(Test, Throwable)
- Adds an error to the list of errors.
-
addFailure(Test, Throwable)
- Adds a failure to the list of failures.
-
print()
- Prints failures to the standard output
-
printErrors()
- Prints the errors to the standard output
-
printFailures()
- Prints failures to the standard output
-
printHeader()
- Prints the header of the report
-
startTest(Test)
- Informs the result that a test will be started.
TextTestResult
public TextTestResult()
addError
public synchronized void addError(Test test,
Throwable t)
- Adds an error to the list of errors.
- Overrides:
- addError in class TestResult
addFailure
public synchronized void addFailure(Test test,
Throwable t)
- Adds a failure to the list of failures.
- Overrides:
- addFailure in class TestResult
print
public synchronized void print()
- Prints failures to the standard output
printErrors
public void printErrors()
- Prints the errors to the standard output
printFailures
public void printFailures()
- Prints failures to the standard output
printHeader
public void printHeader()
- Prints the header of the report
startTest
public synchronized void startTest(Test test)
- Informs the result that a test will be started.
- Overrides:
- startTest in class TestResult
All Packages Class Hierarchy This Package Previous Next Index