mondrian.test
Class TestCaseForker

java.lang.Object
  extended by 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
(package private)  ChooseRunnable chooseRunnable
           
(package private)  List<Throwable> failures
           
(package private)  BasicQueryTest testCase
           
(package private)  Thread[] threads
           
(package private)  long timeoutMs
           
 
Constructor Summary
TestCaseForker(BasicQueryTest testCase, long timeoutMs, int threadCount, ChooseRunnable chooseRunnable)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testCase

BasicQueryTest testCase

timeoutMs

long timeoutMs

threads

Thread[] threads

failures

List<Throwable> failures

chooseRunnable

ChooseRunnable chooseRunnable
Constructor Detail

TestCaseForker

public TestCaseForker(BasicQueryTest testCase,
                      long timeoutMs,
                      int threadCount,
                      ChooseRunnable chooseRunnable)
Method Detail

run

public void run()

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads