public abstract class TestCaseRunner extends Object
| Constructor and Description |
|---|
TestCaseRunner(OPPLTestCase opplTestCase) |
TestCaseRunner(OPPLTestCase opplTestCase,
ExecutionMonitor executionMonitor,
boolean ignoreConfigurationFailure) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkConfiguration() |
protected abstract void |
configurationFailed(String message) |
protected Set<BindingNode> |
executeQuery() |
protected abstract void |
fail(OPPLTest test) |
protected abstract void |
fail(Throwable e) |
ExecutionMonitor |
getExecutionMonitor() |
RuntimeExceptionHandler |
getHandler() |
OPPLTestCase |
getOPPLTestCase() |
boolean |
ignoresConfigurationFailure() |
void |
run() |
protected void |
runTest(OPPLTest test,
Set<? extends BindingNode> bindings) |
protected void |
runTests(Set<? extends BindingNode> bindings) |
protected abstract void |
success(OPPLTest test) |
public TestCaseRunner(OPPLTestCase opplTestCase)
opplTestCase - opplTestCasepublic TestCaseRunner(OPPLTestCase opplTestCase, ExecutionMonitor executionMonitor, boolean ignoreConfigurationFailure)
opplTestCase - opplTestCaseexecutionMonitor - executionMonitorignoreConfigurationFailure - ignoreConfigurationFailurepublic OPPLTestCase getOPPLTestCase()
public final void run()
protected boolean checkConfiguration()
protected abstract void configurationFailed(String message)
protected final void runTests(Set<? extends BindingNode> bindings)
protected void runTest(OPPLTest test, Set<? extends BindingNode> bindings)
protected abstract void success(OPPLTest test)
protected abstract void fail(OPPLTest test)
protected Set<BindingNode> executeQuery()
protected abstract void fail(Throwable e)
public boolean ignoresConfigurationFailure()
public RuntimeExceptionHandler getHandler()
public ExecutionMonitor getExecutionMonitor()
Copyright © 2014 The University of Manchester. All Rights Reserved.