org.apache.jackrabbit.test
Class ConcurrentTestSuite
java.lang.Object
junit.framework.TestSuite
org.apache.jackrabbit.test.ConcurrentTestSuite
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- JCRTestSuite
public class ConcurrentTestSuite
- extends junit.framework.TestSuite
ConcurrentTestSuite
implements a test suite that runs tests
with a given concurrency level using multiple threads.
Method Summary |
void |
run(junit.framework.TestResult result)
|
void |
runTest(junit.framework.Test test,
junit.framework.TestResult result)
|
Methods inherited from class junit.framework.TestSuite |
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, setName, testAt, testCount, tests, toString |
ConcurrentTestSuite
public ConcurrentTestSuite(String name)
ConcurrentTestSuite
public ConcurrentTestSuite()
ConcurrentTestSuite
public ConcurrentTestSuite(int numThreads)
ConcurrentTestSuite
public ConcurrentTestSuite(String name,
int numThreads)
run
public void run(junit.framework.TestResult result)
- Specified by:
run
in interface junit.framework.Test
- Overrides:
run
in class junit.framework.TestSuite
runTest
public void runTest(junit.framework.Test test,
junit.framework.TestResult result)
- Overrides:
runTest
in class junit.framework.TestSuite
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.