public abstract class BaseDOFTest extends BaseTest implements org.opendof.core.oal.DOF.Log.Listener
BaseTest
. It adds a DOF log listener implementation.Modifier and Type | Field and Description |
---|---|
org.opendof.core.oal.DOF.Log.Level |
DOFLOGLEVEL |
SETUP_ERROR, SUCCESS, TEST_ERROR, TIMEOUT
Constructor and Description |
---|
BaseDOFTest(java.lang.String testName) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Do any necessary clean up before exiting the test
|
void |
logMessage(java.util.Date timestamp,
org.opendof.core.oal.DOF.Log.Level level,
java.lang.String message,
java.lang.Throwable t) |
void |
printOptions()
Print the configured test options.
|
void |
printTestOptions()
Print the command line options for this specific test.
|
void |
printTestReport()
Print statistics unique to this particular test.
|
int |
run(java.lang.String[] args)
Executes the test.
|
void |
setUp()
Do all of the initialization necessary to run the test.
|
getExitCode, parseCommandLine, report, setTestName
public int run(java.lang.String[] args)
public void setUp() throws java.lang.Exception
Test
public void cleanUp()
Test
public void printTestOptions()
BaseTest
printTestOptions
in class BaseTest
public void printOptions()
Test
printOptions
in interface Test
printOptions
in class BaseTest
public void printTestReport()
BaseTest
printTestReport
in class BaseTest
public void logMessage(java.util.Date timestamp, org.opendof.core.oal.DOF.Log.Level level, java.lang.String message, java.lang.Throwable t)
logMessage
in interface org.opendof.core.oal.DOF.Log.Listener