public class ExampleProvider extends BaseTestProvider
BaseTestProvider.BaseProvider
exceptionType, sendexception
DOFLOGLEVEL
SETUP_ERROR, SUCCESS, TEST_ERROR, TIMEOUT
Constructor and Description |
---|
ExampleProvider(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Do any necessary clean up before exiting the test
|
org.opendof.core.oal.DOFObject.Provider |
getProvider() |
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.
|
startProvider, stop
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 BaseTestProvider
public void printTestReport()
BaseTest
printTestReport
in class BaseDOFTest
public org.opendof.core.oal.DOFObject.Provider getProvider()
getProvider
in class BaseTestProvider