com.mockrunner.base
Class MultiThreadTestSuite

java.lang.Object
  extended by junit.framework.TestSuite
      extended by com.mockrunner.base.MultiThreadTestSuite
All Implemented Interfaces:
junit.framework.Test

public class MultiThreadTestSuite
extends junit.framework.TestSuite

This TestSuite starts all test methods in a number of seperate threads. Doesn't work properly yet. Do not use it :-)


Constructor Summary
MultiThreadTestSuite(java.lang.Class theClass)
           
MultiThreadTestSuite(java.lang.Class theClass, int numberThreads, boolean doClone)
           
MultiThreadTestSuite(java.lang.Class theClass, java.lang.String name)
           
MultiThreadTestSuite(java.lang.Class theClass, java.lang.String name, int numberThreads, boolean doClone)
           
 
Method Summary
 void run(junit.framework.TestResult result)
           
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, runTest, setName, testAt, testCount, tests, toString, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiThreadTestSuite

public MultiThreadTestSuite(java.lang.Class theClass,
                            java.lang.String name)

MultiThreadTestSuite

public MultiThreadTestSuite(java.lang.Class theClass)

MultiThreadTestSuite

public MultiThreadTestSuite(java.lang.Class theClass,
                            java.lang.String name,
                            int numberThreads,
                            boolean doClone)

MultiThreadTestSuite

public MultiThreadTestSuite(java.lang.Class theClass,
                            int numberThreads,
                            boolean doClone)
Method Detail

run

public void run(junit.framework.TestResult result)
Specified by:
run in interface junit.framework.Test
Overrides:
run in class junit.framework.TestSuite