Package junit.extensions
Class ActiveTestSuite
java.lang.Object
junit.framework.TestSuite
junit.extensions.ActiveTestSuite
- All Implemented Interfaces:
Test
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
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionActiveTestSuite
(Class<? extends TestCase> theClass) ActiveTestSuite
(Class<? extends TestCase> theClass, String name) ActiveTestSuite
(String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(TestResult result) Runs the tests and collects their result in a TestResult.void
void
runTest
(Test test, TestResult result) (package private) void
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, setName, testAt, testCount, tests, toString, warning
-
Field Details
-
fActiveTestDeathCount
private volatile int fActiveTestDeathCount
-
-
Constructor Details
-
ActiveTestSuite
public ActiveTestSuite() -
ActiveTestSuite
-
ActiveTestSuite
-
ActiveTestSuite
-
-
Method Details