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 in VA/Java style
|
||||||||||
|
Returns a filtered stack trace
|
||||||||||
|
Filters stack frames from internal JUnit classes
|
||||||||||
|
This method was deprecated
in API level 16.
not present in JUnit4.10
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
Returns the Test corresponding to the given suite.
|
||||||||||
|
This method was deprecated
in API level 16.
not present in JUnit4.10
|
||||||||||
|
|
||||||||||
|
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.
Extract the class name from a String in VA/Java style
Returns a filtered stack trace
Filters stack frames from internal JUnit classes
This method was deprecated
in API level 16.
not present in JUnit4.10
Returns the loader to be used.
Returns the Test corresponding to the given suite. This is a template method, subclasses override runFailed(), clearStatus().
This method was deprecated
in API level 16.
not present in JUnit4.10
Sets the loading behaviour of the test runner
Truncates a String to the maximum length.
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.