OOoRunner test harness

basicrunner
Class BasicIfcTest

java.lang.Object
  |
  +--basicrunner.BasicIfcTest

public class BasicIfcTest
extends Object

The BASIC interface test


Field Summary
protected  String testName
          the name of the test
protected  TestResult tRes
          The result orf the test
 
Constructor Summary
BasicIfcTest(String name)
          Constructor with test name.
 
Method Summary
 void methodTested(String methodName, boolean bResult)
          Set the result of the method that is tested.
 TestResult run(DescEntry xTestedEntry, TestEnvironment tEnv, TestParameters tParam)
          Let the test run.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tRes

protected TestResult tRes
The result orf the test

testName

protected String testName
the name of the test
Constructor Detail

BasicIfcTest

public BasicIfcTest(String name)
Constructor with test name.
Parameters:
name - The name of the test.
Method Detail

run

public TestResult run(DescEntry xTestedEntry,
                      TestEnvironment tEnv,
                      TestParameters tParam)
Let the test run.
Parameters:
xTestedEntry - Informaton about the interface to test.
tEnv - The environment of the test.
tParam - The test parameters.
Returns:
A result of the test.

methodTested

public void methodTested(String methodName,
                         boolean bResult)
Set the result of the method that is tested.
Parameters:
methodName - The name of the method.
bResult - The result of the test.

OOoRunner test harness