public class ConcurrentTestSuite
extends junit.framework.TestSuite
ConcurrentTestSuite
implements a test suite that runs tests
with a given concurrency level using multiple threads.Constructor and Description |
---|
ConcurrentTestSuite() |
ConcurrentTestSuite(int numThreads) |
ConcurrentTestSuite(String name) |
ConcurrentTestSuite(String name,
int numThreads) |
Modifier and Type | Method and Description |
---|---|
void |
run(junit.framework.TestResult result) |
void |
runTest(junit.framework.Test test,
junit.framework.TestResult result) |
public ConcurrentTestSuite(String name)
public ConcurrentTestSuite()
public ConcurrentTestSuite(int numThreads)
public ConcurrentTestSuite(String name, int numThreads)
public void run(junit.framework.TestResult result)
run
in interface junit.framework.Test
run
in class junit.framework.TestSuite
public void runTest(junit.framework.Test test, junit.framework.TestResult result)
runTest
in class junit.framework.TestSuite
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.