Language
The Free and Open Productivity Suite
basicrunner
Class BasicTestCase
java.lang.Object
|
+--lib.TestCase
|
+--basicrunner.BasicTestCase
- public class BasicTestCase
- extends TestCase
The basic test case.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
oLog
public PrintWriter oLog
- Specifies the PrintWriter to log information.
objName
protected String objName
- The name of the test object
implName
protected String implName
- The implementation name of the test object
BasicTestCase
public BasicTestCase(DescEntry entry)
- Constructor with the entry which is to test.
- Parameters:
entry - The description entry.
initialize
protected void initialize(TestParameters tParam,
PrintWriter pLog)
- Initialize the test case.
The BasicHandler is talken from the test parameters and several
parameters are initialized.
- Overrides:
initialize in class TestCase
- Parameters:
tParam - The test parameters.pLog - A log writer.
createTestEnvironment
protected TestEnvironment createTestEnvironment(TestParameters tParam,
PrintWriter log)
- Create the environment for the test. This is done by BASIC.
- Overrides:
createTestEnvironment in class TestCase
- Parameters:
tParam - The test parameters.log - A log writer.- Returns:
- The test environment
cleanupTestEnvironment
protected void cleanupTestEnvironment(TestParameters tParam,
TestEnvironment tEnv,
LogWriter log)
cleanupTestCase
public void cleanupTestCase(TestParameters tParam)
- BASIC is told to dispose the test object.
- Overrides:
cleanupTestCase in class TestCase
- Parameters:
tParam - The test parameters.