java.lang.Object
junit.framework.TestSuite
junit.extensions.ActiveTestSuite
- All Implemented Interfaces:
- junit.framework.Test
- public class ActiveTestSuite
- extends junit.framework.TestSuite
A TestSuite for active Tests. It runs each
test in a separate thread and waits until all
threads have terminated.
-- Aarhus Radisson Scandinavian Center 11th floor
| Fields inherited from class junit.framework.TestSuite |
|
| Methods inherited from class junit.framework.TestSuite |
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, setName, testAt, testCount, tests, toString |
fActiveTestDeathCount
private volatile int fActiveTestDeathCount
ActiveTestSuite
public ActiveTestSuite()
ActiveTestSuite
public ActiveTestSuite(java.lang.Class theClass)
ActiveTestSuite
public ActiveTestSuite(java.lang.String name)
ActiveTestSuite
public ActiveTestSuite(java.lang.Class theClass,
java.lang.String name)
run
public void run(junit.framework.TestResult result)
- Description copied from class:
junit.framework.TestSuite
- Runs the tests and collects their result in a TestResult.
runTest
public void runTest(junit.framework.Test test,
junit.framework.TestResult result)
waitUntilFinished
void waitUntilFinished()
runFinished
public void runFinished(junit.framework.Test test)