public interface Test
Modifier and Type | Field and Description |
---|---|
static int |
SETUP_ERROR
Indicates that the test failed during setup and not
during the test itself.
|
static int |
SUCCESS
Indicates the test was successful.
|
static int |
TEST_ERROR
Indicates the the test failed during the actual
execution of the test.
|
static int |
TIMEOUT
Standard timeout for ops, connections, etc.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Do any necessary clean up before exiting the test
|
void |
parseCommandLine(java.lang.String[] args)
Parse the command line arguments to properly configure the test.
|
void |
printOptions()
Print the configured test options.
|
void |
report()
Reports statistics on the current test.
|
void |
runTest()
Run the actual test.
|
void |
setUp()
Do all of the initialization necessary to run the test.
|
static final int SETUP_ERROR
static final int TEST_ERROR
static final int SUCCESS
static final int TIMEOUT
void setUp() throws java.lang.Exception
java.lang.Exception
- if there is a failure during set up.void runTest() throws java.lang.Exception
java.lang.Exception
- if the test fails.void report()
BaseTest.printTestReport()
so the test can report statistics specific to the test.void cleanUp()
void parseCommandLine(java.lang.String[] args) throws java.lang.Exception
args
- The command line arguments.java.lang.Exception
- if there is a problem parsing the options.void printOptions()