Build 1.0_r1(from source)

junit.extensions
Class ActiveTestSuite

java.lang.Object
  extended by junit.framework.TestSuite
      extended by junit.extensions.ActiveTestSuite
All Implemented Interfaces:
Test

public class ActiveTestSuite
extends 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


Constructor Summary
ActiveTestSuite()
           
ActiveTestSuite(Class theClass)
           
ActiveTestSuite(Class theClass, String name)
           
ActiveTestSuite(String name)
           
 
Method Summary
 void run(TestResult result)
          Runs the tests and collects their result in a TestResult.
 void runFinished(Test test)
           
 void runTest(Test test, TestResult result)
           
(package private)  void waitUntilFinished()
           
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, setName, testAt, testCount, tests, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActiveTestSuite

public ActiveTestSuite()

ActiveTestSuite

public ActiveTestSuite(Class theClass)

ActiveTestSuite

public ActiveTestSuite(String name)

ActiveTestSuite

public ActiveTestSuite(Class theClass,
                       String name)
Method Detail

run

public void run(TestResult result)
Description copied from class: TestSuite
Runs the tests and collects their result in a TestResult.

Specified by:
run in interface Test
Overrides:
run in class TestSuite

runTest

public void runTest(Test test,
                    TestResult result)
Overrides:
runTest in class TestSuite

waitUntilFinished

void waitUntilFinished()

runFinished

public void runFinished(Test test)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature