Package mondrian.test
Class TestCaseForker
- java.lang.Object
-
- mondrian.test.TestCaseForker
-
class TestCaseForker extends Object
Runs a test case in several parallel threads, catching exceptions from each one, and succeeding only if they all succeed.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ChooseRunnable
chooseRunnable
(package private) List<Throwable>
failures
(package private) BasicQueryTest
testCase
(package private) Thread[]
threads
(package private) long
timeoutMs
-
Constructor Summary
Constructors Constructor Description TestCaseForker(BasicQueryTest testCase, long timeoutMs, int threadCount, ChooseRunnable chooseRunnable)
-
-
-
Field Detail
-
testCase
BasicQueryTest testCase
-
timeoutMs
long timeoutMs
-
threads
Thread[] threads
-
chooseRunnable
ChooseRunnable chooseRunnable
-
-
Constructor Detail
-
TestCaseForker
public TestCaseForker(BasicQueryTest testCase, long timeoutMs, int threadCount, ChooseRunnable chooseRunnable)
-
-