public class ExampleTest extends BaseDOFTest
DOFLOGLEVEL
SETUP_ERROR, SUCCESS, TEST_ERROR, TIMEOUT
Constructor and Description |
---|
ExampleTest(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Do any necessary clean up before exiting the test
|
static void |
main(java.lang.String[] args) |
void |
printTestOptions()
Print the command line options for this specific test.
|
void |
printTestReport()
Print statistics unique to this particular test.
|
void |
runTest()
Run the actual test.
|
void |
setUp()
Do all of the initialization necessary to run the test.
|
logMessage, printOptions, run
getExitCode, parseCommandLine, report, setTestName
public static void main(java.lang.String[] args)
public void setUp() throws java.lang.Exception
Test
setUp
in interface Test
setUp
in class BaseDOFTest
java.lang.Exception
- if there is a failure during set up.public void runTest() throws java.lang.Exception
Test
java.lang.Exception
- if the test fails.public void cleanUp()
Test
cleanUp
in interface Test
cleanUp
in class BaseDOFTest
public void printTestOptions()
BaseTest
printTestOptions
in class BaseDOFTest
public void printTestReport()
BaseTest
printTestReport
in class BaseDOFTest