|
TPTP 4.2.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines an extended API to the Test interface
that enforces that all implementors are a JUnit compliant Test with additional
information regarding the parent Test, the current iteration and the name of the Test.
This interface must be implemented by JUnit tests that are associated to a TPTP
behavior model.
| Method Summary | |
|---|---|
java.lang.String |
getId()
Returns the id of the test |
int |
getIteration()
Returns the current iteration of the test or -1 if the iteration cannot be calculated. |
java.lang.String |
getName()
Returns the name of the test. |
junit.framework.Test |
getParent()
Returns the parent of this test. |
java.lang.String |
getTestInvocationId()
Gets the test invocation id. |
boolean |
isLoop()
Returns whether or not this test implements a loop. |
boolean |
isSynchronous()
Returns whether this test is synchronous or asynchronous. |
IHyadesTest |
setId(java.lang.String id)
Sets the test id |
IHyadesTest |
setLoop(boolean loop)
Sets whether this test implements a loop |
void |
setParent(junit.framework.Test parent)
Sets the parent of this test. |
IHyadesTest |
setSynchronous(boolean synchronous)
Sets wheter this test must be executed synchronously or asynchronously. |
IHyadesTest |
setTestInvocationId(java.lang.String testInvocationId)
Sets the test invocation id. |
java.lang.String |
toJUnitString()
Returns the default JUnit toString value. |
| Methods inherited from interface junit.framework.Test |
|---|
countTestCases, run |
| Method Detail |
public IHyadesTest setId(java.lang.String id)
public java.lang.String getId()
public void setParent(junit.framework.Test parent)
parent - public junit.framework.Test getParent()
public IHyadesTest setTestInvocationId(java.lang.String testInvocationId)
testInvocationId -
public java.lang.String getTestInvocationId()
public int getIteration()
public java.lang.String getName()
public java.lang.String toJUnitString()
public IHyadesTest setSynchronous(boolean synchronous)
synchronous -
public boolean isSynchronous()
public IHyadesTest setLoop(boolean loop)
loop -
public boolean isLoop()
|
TPTP 4.2.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||