public abstract class TestComposite extends TestEntity implements ITestListener, IExecutionListener
| Modifier and Type | Field and Description |
|---|---|
static String |
CURRENT_TESTCOMPOSITE |
ENGINE_END, ENGINE_START, SCRIPT_END, SCRIPT_INJECTION_END, SCRIPT_INJECTION_START, SCRIPT_START| Constructor and Description |
|---|
TestComposite(TestComposite parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTest(Test test) |
void |
addTestResult(TestStatus status,
String message) |
void |
addTestResult(TestStatus status,
String message,
List<IScriptDebugFrame> trace) |
void |
endTest() |
abstract Collection<? extends TestEntity> |
getChildren() |
Test |
getCurrentTest() |
abstract Object |
getFile() |
TestStatus |
getStatus() |
List<Test> |
getTests() |
void |
notify(IScriptEngine engine,
Script script,
int status) |
void |
notify(Object testObject,
TestStatus status) |
void |
reset() |
addTestListener, getExecutionTime, getParent, getStartTime, removeTestListener, setStatuspublic static final String CURRENT_TESTCOMPOSITE
public TestComposite(TestComposite parent)
public TestStatus getStatus()
getStatus in class TestEntitypublic void notify(Object testObject, TestStatus status)
notify in interface ITestListenerpublic void addTest(Test test)
public void endTest()
public void reset()
reset in class TestEntitypublic Test getCurrentTest()
public void addTestResult(TestStatus status, String message)
public void addTestResult(TestStatus status, String message, List<IScriptDebugFrame> trace)
public void notify(IScriptEngine engine, Script script, int status)
notify in interface IExecutionListenerpublic abstract Collection<? extends TestEntity> getChildren()
public abstract Object getFile()