mondrian.test
Class QueryRunner
java.lang.Object
java.lang.Thread
mondrian.test.QueryRunner
- All Implemented Interfaces:
- Runnable
public class QueryRunner
- extends Thread
Thread which runs an MDX query and checks it against an expected result.
It is used for concurrency testing.
Constructor Summary |
QueryRunner(int id,
int numSeconds,
boolean useRandomQuery)
|
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Queries
static final String[] Queries
QueryRunner
public QueryRunner(int id,
int numSeconds,
boolean useRandomQuery)
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
report
public void report(PrintStream out)
main
public static void main(String[] args)