java.lang.Object | |
↳ | junit.runner.BaseTestRunner |
Known Direct Subclasses |
Base class for all test runners. This class was born live on stage in Sardinia during XP2000.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | SUITE_METHODNAME |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
An error occurred.
| |||||||||||
A failure occurred.
| |||||||||||
Returns the formatted string of the elapsed time.
| |||||||||||
A test ended.
| |||||||||||
Extract the class name from a String
| |||||||||||
Returns a filtered stack trace
| |||||||||||
Filters stack frames from internal JUnit classes
| |||||||||||
Returns the loader to be used.
| |||||||||||
Returns the Test corresponding to the given suite.
| |||||||||||
Sets the loading behaviour of the test runner
| |||||||||||
A test started.
| |||||||||||
Truncates a String to the maximum length.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Clears the status message.
| |||||||||||
Returns the loaded Class for a suite name.
| |||||||||||
Processes the command line arguments and
returns the name of the suite class to run or null
| |||||||||||
Override to define how to handle a failed loading of
a test suite.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
From interface junit.framework.TestListener
|
A failure occurred.
Returns the formatted string of the elapsed time.
A test ended.
Filters stack frames from internal JUnit classes
Returns the loader to be used.
Returns the Test corresponding to the given suite. This is a template method, subclasses override runFailed(), clearStatus().
IOException |
---|
Sets the loading behaviour of the test runner
A test started.
Clears the status message.
Returns the loaded Class for a suite name.
ClassNotFoundException |
---|
Processes the command line arguments and returns the name of the suite class to run or null
Override to define how to handle a failed loading of a test suite.