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, setStatus
public static final String CURRENT_TESTCOMPOSITE
public TestComposite(TestComposite parent)
public TestStatus getStatus()
getStatus
in class TestEntity
public void notify(Object testObject, TestStatus status)
notify
in interface ITestListener
public void addTest(Test test)
public void endTest()
public void reset()
reset
in class TestEntity
public 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 IExecutionListener
public abstract Collection<? extends TestEntity> getChildren()
public abstract Object getFile()