public abstract class TestEntity extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements ITestEntity
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
CUSTOM_CODE, GLOBAL_SCOPE_TEST
Modifier and Type | Method and Description |
---|---|
ITestResult |
addError(java.lang.String message,
IScriptEngine scriptEngine) |
org.eclipse.emf.common.notify.NotificationChain |
basicSetParent(ITestContainer newParent,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
java.lang.Object |
eInvoke(int operationID,
org.eclipse.emf.common.util.EList<?> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
java.lang.String |
getDescription() |
long |
getDuration() |
long |
getEndTimestamp() |
TestStatus |
getEntityStatus() |
long |
getEstimatedDuration() |
IPath |
getFullPath() |
org.eclipse.emf.common.util.EList<IMetadata> |
getMetadata() |
java.lang.String |
getName() |
ITestContainer |
getParent() |
java.lang.Object |
getResource() |
org.eclipse.emf.common.util.EList<ITestResult> |
getResults() |
org.eclipse.emf.common.util.EList<ITestResult> |
getResults(TestStatus status) |
ITestContainer |
getRoot() |
long |
getStartTimestamp() |
TestStatus |
getStatus() |
ITestSuite |
getTestSuite() |
ITestResult |
getWorstResult() |
boolean |
hasError() |
boolean |
isDisabled() |
boolean |
isTerminated() |
void |
reset() |
void |
run(org.eclipse.ease.lang.unittest.execution.ITestExecutionStrategy strategy) |
void |
setDescription(java.lang.String newDescription) |
void |
setDisabled(java.lang.String message) |
void |
setEndTimestamp(long newEndTimestamp) |
void |
setEntityStatus(TestStatus value)
Sets the value of the '
Entity Status ' attribute. |
void |
setEntityStatusGen(TestStatus newEntityStatus) |
void |
setEstimatedDuration(long newEstimatedDuration) |
void |
setName(java.lang.String newName) |
void |
setParent(ITestContainer newParent) |
void |
setStartTimestamp(long newStartTimestamp) |
void |
setTerminated(boolean newTerminated) |
java.lang.String |
toString() |
eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eIsProxy, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public java.lang.String getDescription()
getDescription
in interface ITestEntity
ITestEntity.setDescription(String)
,
IRuntimePackage.getTestEntity_Description()
public void setDescription(java.lang.String newDescription)
setDescription
in interface ITestEntity
newDescription
- the new value of the 'Description' attribute.ITestEntity.getDescription()
public java.lang.String getName()
getName
in interface ITestEntity
ITestEntity.setName(String)
,
IRuntimePackage.getTestEntity_Name()
public void setName(java.lang.String newName)
setName
in interface ITestEntity
newName
- the new value of the 'Name' attribute.ITestEntity.getName()
public TestStatus getEntityStatus()
getEntityStatus
in interface ITestEntity
TestStatus
,
ITestEntity.setEntityStatus(TestStatus)
,
IRuntimePackage.getTestEntity_EntityStatus()
public void setEntityStatusGen(TestStatus newEntityStatus)
public TestStatus getStatus()
getStatus
in interface ITestEntity
public ITestContainer getRoot()
getRoot
in interface ITestEntity
public boolean hasError()
hasError
in interface ITestEntity
public ITestSuite getTestSuite()
getTestSuite
in interface ITestEntity
public java.lang.Object getResource()
getResource
in interface ITestEntity
public void reset()
reset
in interface ITestEntity
public void run(org.eclipse.ease.lang.unittest.execution.ITestExecutionStrategy strategy)
run
in interface ITestEntity
public ITestResult getWorstResult()
getWorstResult
in interface ITestEntity
public ITestResult addError(java.lang.String message, IScriptEngine scriptEngine)
addError
in interface ITestEntity
public org.eclipse.emf.common.util.EList<ITestResult> getResults(TestStatus status)
getResults
in interface ITestEntity
public IPath getFullPath()
getFullPath
in interface ITestEntity
public void setDisabled(java.lang.String message)
setDisabled
in interface ITestEntity
public boolean isDisabled()
isDisabled
in interface ITestEntity
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public long getStartTimestamp()
getStartTimestamp
in interface ITestEntity
ITestEntity.setStartTimestamp(long)
,
IRuntimePackage.getTestEntity_StartTimestamp()
public void setStartTimestamp(long newStartTimestamp)
setStartTimestamp
in interface ITestEntity
newStartTimestamp
- the new value of the 'Start Timestamp' attribute.ITestEntity.getStartTimestamp()
public ITestContainer getParent()
getParent
in interface ITestEntity
ITestEntity.setParent(ITestContainer)
,
IRuntimePackage.getTestEntity_Parent()
,
ITestContainer.getChildren()
public org.eclipse.emf.common.notify.NotificationChain basicSetParent(ITestContainer newParent, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setParent(ITestContainer newParent)
setParent
in interface ITestEntity
newParent
- the new value of the 'Parent' container reference.ITestEntity.getParent()
public org.eclipse.emf.common.util.EList<IMetadata> getMetadata()
getMetadata
in interface ITestEntity
IRuntimePackage.getTestEntity_Metadata()
public long getDuration()
getDuration
in interface ITestEntity
IRuntimePackage.getTestEntity_Duration()
public org.eclipse.emf.common.util.EList<ITestResult> getResults()
getResults
in interface ITestEntity
IRuntimePackage.getTestEntity_Results()
public long getEstimatedDuration()
getEstimatedDuration
in interface ITestEntity
ITestEntity.setEstimatedDuration(long)
,
IRuntimePackage.getTestEntity_EstimatedDuration()
public void setEstimatedDuration(long newEstimatedDuration)
setEstimatedDuration
in interface ITestEntity
newEstimatedDuration
- the new value of the 'Estimated Duration' attribute.ITestEntity.getEstimatedDuration()
public boolean isTerminated()
isTerminated
in interface ITestEntity
ITestEntity.setTerminated(boolean)
,
IRuntimePackage.getTestEntity_Terminated()
public void setTerminated(boolean newTerminated)
setTerminated
in interface ITestEntity
newTerminated
- the new value of the 'Terminated' attribute.ITestEntity.isTerminated()
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws java.lang.reflect.InvocationTargetException
eInvoke
in interface org.eclipse.emf.ecore.InternalEObject
eInvoke
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
java.lang.reflect.InvocationTargetException
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void setEntityStatus(TestStatus value)
ITestEntity
Entity Status
' attribute.
setEntityStatus
in interface ITestEntity
value
- the new value of the 'Entity Status' attribute.TestStatus
,
ITestEntity.getEntityStatus()
public long getEndTimestamp()
getEndTimestamp
in interface ITestEntity
ITestEntity.setEndTimestamp(long)
,
IRuntimePackage.getTestEntity_EndTimestamp()
public void setEndTimestamp(long newEndTimestamp)
setEndTimestamp
in interface ITestEntity
newEndTimestamp
- the new value of the 'End Timestamp' attribute.ITestEntity.getEndTimestamp()