public interface ITestEntity
extends org.eclipse.emf.ecore.EObject
The following features are supported:
IRuntimePackage.getTestEntity()
Modifier and Type | Field and Description |
---|---|
static int |
CUSTOM_CODE
EMF event to indicate we should run custom code.
|
static java.lang.String |
GLOBAL_SCOPE_TEST
Name for test to represent errors outside of test methods.
|
Modifier and Type | Method and Description |
---|---|
ITestResult |
addError(java.lang.String message,
IScriptEngine scriptEngine) |
java.lang.String |
getDescription()
Returns the value of the 'Description' attribute.
|
long |
getDuration()
Returns the value of the 'Duration' attribute.
|
long |
getEndTimestamp()
Returns the value of the 'End Timestamp' attribute.
|
TestStatus |
getEntityStatus()
Returns the value of the 'Entity Status' attribute.
|
long |
getEstimatedDuration()
Returns the value of the 'Estimated Duration' attribute.
|
IPath |
getFullPath() |
org.eclipse.emf.common.util.EList<IMetadata> |
getMetadata()
Returns the value of the 'Metadata' containment reference list.
|
java.lang.String |
getName()
Returns the value of the 'Name' attribute.
|
ITestContainer |
getParent()
Returns the value of the 'Parent' container reference.
|
java.lang.Object |
getResource() |
org.eclipse.emf.common.util.EList<ITestResult> |
getResults()
Returns the value of the 'Results' containment reference list.
|
org.eclipse.emf.common.util.EList<ITestResult> |
getResults(TestStatus status) |
ITestContainer |
getRoot() |
long |
getStartTimestamp()
Returns the value of the 'Start Timestamp' attribute.
|
TestStatus |
getStatus() |
ITestSuite |
getTestSuite() |
ITestResult |
getWorstResult() |
boolean |
hasError() |
boolean |
isDisabled() |
boolean |
isTerminated()
Returns the value of the 'Terminated' attribute.
|
void |
reset() |
void |
run(org.eclipse.ease.lang.unittest.execution.ITestExecutionStrategy strategy) |
void |
setDescription(java.lang.String value)
Sets the value of the '
Description ' attribute. |
void |
setDisabled(java.lang.String message) |
void |
setEndTimestamp(long value)
Sets the value of the '
End Timestamp ' attribute. |
void |
setEntityStatus(TestStatus value)
Sets the value of the '
Entity Status ' attribute. |
void |
setEstimatedDuration(long value)
Sets the value of the '
Estimated Duration ' attribute. |
void |
setName(java.lang.String value)
Sets the value of the '
Name ' attribute. |
void |
setParent(ITestContainer value)
Sets the value of the '
Parent ' container reference. |
void |
setStartTimestamp(long value)
Sets the value of the '
Start Timestamp ' attribute. |
void |
setTerminated(boolean value)
Sets the value of the '
Terminated ' attribute. |
static final int CUSTOM_CODE
static final java.lang.String GLOBAL_SCOPE_TEST
java.lang.String getDescription()
If the meaning of the 'Description' attribute isn't clear, there really should be more of a description here...
setDescription(String)
,
IRuntimePackage.getTestEntity_Description()
void setDescription(java.lang.String value)
Description
' attribute.
value
- the new value of the 'Description' attribute.getDescription()
java.lang.String getName()
If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
setName(String)
,
IRuntimePackage.getTestEntity_Name()
void setName(java.lang.String value)
Name
' attribute.
value
- the new value of the 'Name' attribute.getName()
TestStatus getEntityStatus()
TestStatus
.
If the meaning of the 'Entity Status' attribute isn't clear, there really should be more of a description here...
TestStatus
,
setEntityStatus(TestStatus)
,
IRuntimePackage.getTestEntity_EntityStatus()
void setEntityStatus(TestStatus value)
Entity Status
' attribute.
value
- the new value of the 'Entity Status' attribute.TestStatus
,
getEntityStatus()
long getEndTimestamp()
"0"
.
If the meaning of the 'End Timestamp' attribute isn't clear, there really should be more of a description here...
setEndTimestamp(long)
,
IRuntimePackage.getTestEntity_EndTimestamp()
void setEndTimestamp(long value)
End Timestamp
' attribute.
value
- the new value of the 'End Timestamp' attribute.getEndTimestamp()
TestStatus getStatus()
ITestContainer getRoot()
boolean hasError()
ITestSuite getTestSuite()
java.lang.Object getResource()
void reset()
void run(org.eclipse.ease.lang.unittest.execution.ITestExecutionStrategy strategy)
ITestResult getWorstResult()
ITestResult addError(java.lang.String message, IScriptEngine scriptEngine)
org.eclipse.emf.common.util.EList<ITestResult> getResults(TestStatus status)
IPath getFullPath()
void setDisabled(java.lang.String message)
boolean isDisabled()
long getStartTimestamp()
"0"
.
If the meaning of the 'Start Timestamp' attribute isn't clear, there really should be more of a description here...
setStartTimestamp(long)
,
IRuntimePackage.getTestEntity_StartTimestamp()
void setStartTimestamp(long value)
Start Timestamp
' attribute. value
- the new value of the 'Start Timestamp' attribute.getStartTimestamp()
ITestContainer getParent()
Children
'.
If the meaning of the 'Parent' container reference isn't clear, there really should be more of a description here...
setParent(ITestContainer)
,
IRuntimePackage.getTestEntity_Parent()
,
ITestContainer.getChildren()
void setParent(ITestContainer value)
Parent
' container reference.
value
- the new value of the 'Parent' container reference.getParent()
org.eclipse.emf.common.util.EList<IMetadata> getMetadata()
IMetadata
.
If the meaning of the 'Metadata' containment reference list isn't clear, there really should be more of a description here...
IRuntimePackage.getTestEntity_Metadata()
long getDuration()
If the meaning of the 'Duration' attribute isn't clear, there really should be more of a description here...
IRuntimePackage.getTestEntity_Duration()
org.eclipse.emf.common.util.EList<ITestResult> getResults()
ITestResult
.
If the meaning of the 'Results' containment reference list isn't clear, there really should be more of a description here...
IRuntimePackage.getTestEntity_Results()
long getEstimatedDuration()
"-1"
.
If the meaning of the 'Estimated Duration' attribute isn't clear, there really should be more of a description here...
setEstimatedDuration(long)
,
IRuntimePackage.getTestEntity_EstimatedDuration()
void setEstimatedDuration(long value)
Estimated Duration
' attribute.
value
- the new value of the 'Estimated Duration' attribute.getEstimatedDuration()
boolean isTerminated()
If the meaning of the 'Terminated' attribute isn't clear, there really should be more of a description here...
setTerminated(boolean)
,
IRuntimePackage.getTestEntity_Terminated()
void setTerminated(boolean value)
Terminated
' attribute.
value
- the new value of the 'Terminated' attribute.isTerminated()