Class TestEntity
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.ease.lang.unittest.runtime.impl.TestEntity
- All Implemented Interfaces:
ITestEntity,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
Test,TestContainer
public abstract class TestEntity extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements ITestEntity
An implementation of the model object 'Test Entity'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASEFields inherited from interface org.eclipse.ease.lang.unittest.runtime.ITestEntity
CUSTOM_CODE, GLOBAL_SCOPE_TEST -
Method Summary
Modifier and Type Method Description ITestResultaddError(String message, IScriptEngine scriptEngine)org.eclipse.emf.common.notify.NotificationChainbasicSetParent(ITestContainer newParent, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChaineBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)ObjecteInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)voideUnset(int featureID)StringgetDescription()longgetDuration()longgetEndTimestamp()TestStatusgetEntityStatus()longgetEstimatedDuration()org.eclipse.core.runtime.IPathgetFullPath()org.eclipse.emf.common.util.EList<IMetadata>getMetadata()StringgetName()ITestContainergetParent()ObjectgetResource()org.eclipse.emf.common.util.EList<ITestResult>getResults()org.eclipse.emf.common.util.EList<ITestResult>getResults(TestStatus status)ITestContainergetRoot()longgetStartTimestamp()TestStatusgetStatus()ITestSuitegetTestSuite()ITestResultgetWorstResult()booleanhasError()booleanisDisabled()booleanisTerminated()voidreset()voidrun(org.eclipse.ease.lang.unittest.execution.ITestExecutionStrategy strategy)voidsetDescription(String newDescription)voidsetDisabled(String message)voidsetEndTimestamp(long newEndTimestamp)voidsetEntityStatus(TestStatus value)Sets the value of the 'Entity Status' attribute.voidsetEntityStatusGen(TestStatus newEntityStatus)voidsetEstimatedDuration(long newEstimatedDuration)voidsetName(String newName)voidsetParent(ITestContainer newParent)voidsetStartTimestamp(long newStartTimestamp)voidsetTerminated(boolean newTerminated)StringtoString()Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eInternalContainerMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eIsProxy, eProxyURI, eSetClass, eSetDeliver, eSetProxyURIMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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, eVirtualUnsetMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getDescription
- Specified by:
getDescriptionin interfaceITestEntity- Returns:
- the value of the 'Description' attribute.
- See Also:
ITestEntity.setDescription(String),IRuntimePackage.getTestEntity_Description()
-
setDescription
- Specified by:
setDescriptionin interfaceITestEntity- Parameters:
newDescription- the new value of the 'Description' attribute.- See Also:
ITestEntity.getDescription()
-
getName
- Specified by:
getNamein interfaceITestEntity- Returns:
- the value of the 'Name' attribute.
- See Also:
ITestEntity.setName(String),IRuntimePackage.getTestEntity_Name()
-
setName
- Specified by:
setNamein interfaceITestEntity- Parameters:
newName- the new value of the 'Name' attribute.- See Also:
ITestEntity.getName()
-
getEntityStatus
- Specified by:
getEntityStatusin interfaceITestEntity- Returns:
- the value of the 'Entity Status' attribute.
- See Also:
TestStatus,ITestEntity.setEntityStatus(TestStatus),IRuntimePackage.getTestEntity_EntityStatus()
-
setEntityStatusGen
-
getStatus
- Specified by:
getStatusin interfaceITestEntity
-
getRoot
- Specified by:
getRootin interfaceITestEntity
-
hasError
public boolean hasError()- Specified by:
hasErrorin interfaceITestEntity
-
getTestSuite
- Specified by:
getTestSuitein interfaceITestEntity
-
getResource
- Specified by:
getResourcein interfaceITestEntity
-
reset
public void reset()- Specified by:
resetin interfaceITestEntity
-
run
public void run(org.eclipse.ease.lang.unittest.execution.ITestExecutionStrategy strategy)- Specified by:
runin interfaceITestEntity
-
getWorstResult
- Specified by:
getWorstResultin interfaceITestEntity
-
addError
- Specified by:
addErrorin interfaceITestEntity
-
getResults
- Specified by:
getResultsin interfaceITestEntity
-
getFullPath
public org.eclipse.core.runtime.IPath getFullPath()- Specified by:
getFullPathin interfaceITestEntity
-
setDisabled
- Specified by:
setDisabledin interfaceITestEntity
-
isDisabled
public boolean isDisabled()- Specified by:
isDisabledin interfaceITestEntity
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseAddin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getStartTimestamp
public long getStartTimestamp()- Specified by:
getStartTimestampin interfaceITestEntity- Returns:
- the value of the 'Start Timestamp' attribute.
- See Also:
ITestEntity.setStartTimestamp(long),IRuntimePackage.getTestEntity_StartTimestamp()
-
setStartTimestamp
public void setStartTimestamp(long newStartTimestamp)- Specified by:
setStartTimestampin interfaceITestEntity- Parameters:
newStartTimestamp- the new value of the 'Start Timestamp' attribute.- See Also:
ITestEntity.getStartTimestamp()
-
getParent
- Specified by:
getParentin interfaceITestEntity- Returns:
- the value of the 'Parent' container reference.
- See Also:
ITestEntity.setParent(ITestContainer),IRuntimePackage.getTestEntity_Parent(),ITestContainer.getChildren()
-
basicSetParent
public org.eclipse.emf.common.notify.NotificationChain basicSetParent(ITestContainer newParent, org.eclipse.emf.common.notify.NotificationChain msgs) -
setParent
- Specified by:
setParentin interfaceITestEntity- Parameters:
newParent- the new value of the 'Parent' container reference.- See Also:
ITestEntity.getParent()
-
getMetadata
- Specified by:
getMetadatain interfaceITestEntity- Returns:
- the value of the 'Metadata' containment reference list.
- See Also:
IRuntimePackage.getTestEntity_Metadata()
-
getDuration
public long getDuration()- Specified by:
getDurationin interfaceITestEntity- Returns:
- the value of the 'Duration' attribute.
- See Also:
IRuntimePackage.getTestEntity_Duration()
-
getResults
- Specified by:
getResultsin interfaceITestEntity- Returns:
- the value of the 'Results' containment reference list.
- See Also:
IRuntimePackage.getTestEntity_Results()
-
getEstimatedDuration
public long getEstimatedDuration()- Specified by:
getEstimatedDurationin interfaceITestEntity- Returns:
- the value of the 'Estimated Duration' attribute.
- See Also:
ITestEntity.setEstimatedDuration(long),IRuntimePackage.getTestEntity_EstimatedDuration()
-
setEstimatedDuration
public void setEstimatedDuration(long newEstimatedDuration)- Specified by:
setEstimatedDurationin interfaceITestEntity- Parameters:
newEstimatedDuration- the new value of the 'Estimated Duration' attribute.- See Also:
ITestEntity.getEstimatedDuration()
-
isTerminated
public boolean isTerminated()- Specified by:
isTerminatedin interfaceITestEntity- Returns:
- the value of the 'Terminated' attribute.
- See Also:
ITestEntity.setTerminated(boolean),IRuntimePackage.getTestEntity_Terminated()
-
setTerminated
public void setTerminated(boolean newTerminated)- Specified by:
setTerminatedin interfaceITestEntity- Parameters:
newTerminated- the new value of the 'Terminated' attribute.- See Also:
ITestEntity.isTerminated()
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eBasicRemoveFromContainerFeaturein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInvoke
public Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws InvocationTargetException- Specified by:
eInvokein interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eInvokein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl- Throws:
InvocationTargetException
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
setEntityStatus
Description copied from interface:ITestEntitySets the value of the 'Entity Status' attribute.- Specified by:
setEntityStatusin interfaceITestEntity- Parameters:
value- the new value of the 'Entity Status' attribute.- See Also:
TestStatus,ITestEntity.getEntityStatus()
-
getEndTimestamp
public long getEndTimestamp()- Specified by:
getEndTimestampin interfaceITestEntity- Returns:
- the value of the 'End Timestamp' attribute.
- See Also:
ITestEntity.setEndTimestamp(long),IRuntimePackage.getTestEntity_EndTimestamp()
-
setEndTimestamp
public void setEndTimestamp(long newEndTimestamp)- Specified by:
setEndTimestampin interfaceITestEntity- Parameters:
newEndTimestamp- the new value of the 'End Timestamp' attribute.- See Also:
ITestEntity.getEndTimestamp()
-