Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

junit.extensions
Class ActiveTestSuite  view ActiveTestSuite download ActiveTestSuite.java

java.lang.Object
  extended byjunit.framework.TestSuite
      extended byjunit.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


Field Summary
private  int fActiveTestDeathCount
           
 
Fields inherited from class junit.framework.TestSuite
 
Constructor Summary
ActiveTestSuite()
           
ActiveTestSuite(java.lang.Class theClass)
           
ActiveTestSuite(java.lang.Class theClass, java.lang.String name)
           
ActiveTestSuite(java.lang.String name)
           
 
Method Summary
 void run(junit.framework.TestResult result)
          Runs the tests and collects their result in a TestResult.
 void runFinished(junit.framework.Test test)
           
 void runTest(junit.framework.Test test, junit.framework.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
 

Field Detail

fActiveTestDeathCount

private volatile int fActiveTestDeathCount
Constructor Detail

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)
Method Detail

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)