Package mondrian.test
Class TestCaseForker
- java.lang.Object
-
- mondrian.test.TestCaseForker
-
class TestCaseForker extends java.lang.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) java.util.List<java.lang.Throwable>
failures
(package private) BasicQueryTest
testCase
(package private) java.lang.Thread[]
threads
(package private) long
timeoutMs
-
Constructor Summary
Constructors Constructor Description TestCaseForker(BasicQueryTest testCase, long timeoutMs, int threadCount, ChooseRunnable chooseRunnable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
-
-
Field Detail
-
testCase
BasicQueryTest testCase
-
timeoutMs
long timeoutMs
-
threads
java.lang.Thread[] threads
-
failures
java.util.List<java.lang.Throwable> failures
-
chooseRunnable
ChooseRunnable chooseRunnable
-
-
Constructor Detail
-
TestCaseForker
public TestCaseForker(BasicQueryTest testCase, long timeoutMs, int threadCount, ChooseRunnable chooseRunnable)
-
-