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.Dynamic
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
Nested 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.EScannableAdapterList
Nested 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
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
Fields inherited from interface org.eclipse.ease.lang.unittest.runtime.ITestEntity
CUSTOM_CODE, GLOBAL_SCOPE_TEST
-
Method Summary
Modifier and TypeMethodDescriptionaddError
(String message, ScriptStackTrace trace) 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) 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) eInvoke
(int operationID, org.eclipse.emf.common.util.EList<?> arguments) boolean
eIsSet
(int featureID) void
void
eUnset
(int featureID) long
long
long
org.eclipse.core.runtime.IPath
org.eclipse.emf.common.util.EList<IMetadata>
getName()
org.eclipse.emf.common.util.EList<ITestResult>
org.eclipse.emf.common.util.EList<ITestResult>
getResults
(TestStatus status) getRoot()
long
boolean
hasError()
boolean
boolean
void
reset()
void
run
(org.eclipse.ease.lang.unittest.execution.ITestExecutionStrategy strategy) void
setDescription
(String newDescription) void
setDisabled
(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
void
setParent
(ITestContainer newParent) void
setStartTimestamp
(long newStartTimestamp) void
setTerminated
(boolean newTerminated) toString()
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eInternalContainer
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eIsProxy, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI
Methods 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, eVirtualUnset
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getDescription
- Specified by:
getDescription
in interfaceITestEntity
- Returns:
- the value of the 'Description' attribute.
- See Also:
-
setDescription
- Specified by:
setDescription
in interfaceITestEntity
- Parameters:
newDescription
- the new value of the 'Description' attribute.- See Also:
-
getName
- Specified by:
getName
in interfaceITestEntity
- Returns:
- the value of the 'Name' attribute.
- See Also:
-
setName
- Specified by:
setName
in interfaceITestEntity
- Parameters:
newName
- the new value of the 'Name' attribute.- See Also:
-
getEntityStatus
- Specified by:
getEntityStatus
in interfaceITestEntity
- Returns:
- the value of the 'Entity Status' attribute.
- See Also:
-
setEntityStatusGen
-
getStatus
- Specified by:
getStatus
in interfaceITestEntity
-
getRoot
- Specified by:
getRoot
in interfaceITestEntity
-
hasError
public boolean hasError()- Specified by:
hasError
in interfaceITestEntity
-
getTestSuite
- Specified by:
getTestSuite
in interfaceITestEntity
-
getResource
- Specified by:
getResource
in interfaceITestEntity
-
reset
public void reset()- Specified by:
reset
in interfaceITestEntity
-
run
public void run(org.eclipse.ease.lang.unittest.execution.ITestExecutionStrategy strategy) - Specified by:
run
in interfaceITestEntity
-
getWorstResult
- Specified by:
getWorstResult
in interfaceITestEntity
-
addError
- Specified by:
addError
in interfaceITestEntity
-
getResults
- Specified by:
getResults
in interfaceITestEntity
-
getFullPath
public org.eclipse.core.runtime.IPath getFullPath()- Specified by:
getFullPath
in interfaceITestEntity
-
setDisabled
- Specified by:
setDisabled
in interfaceITestEntity
-
isDisabled
public boolean isDisabled()- Specified by:
isDisabled
in 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:
eInverseAdd
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getStartTimestamp
public long getStartTimestamp()- Specified by:
getStartTimestamp
in interfaceITestEntity
- Returns:
- the value of the 'Start Timestamp' attribute.
- See Also:
-
setStartTimestamp
public void setStartTimestamp(long newStartTimestamp) - Specified by:
setStartTimestamp
in interfaceITestEntity
- Parameters:
newStartTimestamp
- the new value of the 'Start Timestamp' attribute.- See Also:
-
getParent
- Specified by:
getParent
in interfaceITestEntity
- Returns:
- the value of the 'Parent' container reference.
- See Also:
-
basicSetParent
public org.eclipse.emf.common.notify.NotificationChain basicSetParent(ITestContainer newParent, org.eclipse.emf.common.notify.NotificationChain msgs) -
setParent
- Specified by:
setParent
in interfaceITestEntity
- Parameters:
newParent
- the new value of the 'Parent' container reference.- See Also:
-
getMetadata
- Specified by:
getMetadata
in interfaceITestEntity
- Returns:
- the value of the 'Metadata' containment reference list.
- See Also:
-
getDuration
public long getDuration()- Specified by:
getDuration
in interfaceITestEntity
- Returns:
- the value of the 'Duration' attribute.
- See Also:
-
getResults
- Specified by:
getResults
in interfaceITestEntity
- Returns:
- the value of the 'Results' containment reference list.
- See Also:
-
getEstimatedDuration
public long getEstimatedDuration()- Specified by:
getEstimatedDuration
in interfaceITestEntity
- Returns:
- the value of the 'Estimated Duration' attribute.
- See Also:
-
setEstimatedDuration
public void setEstimatedDuration(long newEstimatedDuration) - Specified by:
setEstimatedDuration
in interfaceITestEntity
- Parameters:
newEstimatedDuration
- the new value of the 'Estimated Duration' attribute.- See Also:
-
isTerminated
public boolean isTerminated()- Specified by:
isTerminated
in interfaceITestEntity
- Returns:
- the value of the 'Terminated' attribute.
- See Also:
-
setTerminated
public void setTerminated(boolean newTerminated) - Specified by:
setTerminated
in interfaceITestEntity
- Parameters:
newTerminated
- the new value of the 'Terminated' attribute.- See Also:
-
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:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eBasicRemoveFromContainerFeature
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInvoke
public Object eInvoke(int operationID, org.eclipse.emf.common.util.EList<?> arguments) throws InvocationTargetException - Specified by:
eInvoke
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eInvoke
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
- Throws:
InvocationTargetException
-
toString
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
setEntityStatus
Description copied from interface:ITestEntity
Sets the value of the 'Entity Status
' attribute.- Specified by:
setEntityStatus
in interfaceITestEntity
- Parameters:
value
- the new value of the 'Entity Status' attribute.- See Also:
-
getEndTimestamp
public long getEndTimestamp()- Specified by:
getEndTimestamp
in interfaceITestEntity
- Returns:
- the value of the 'End Timestamp' attribute.
- See Also:
-
setEndTimestamp
public void setEndTimestamp(long newEndTimestamp) - Specified by:
setEndTimestamp
in interfaceITestEntity
- Parameters:
newEndTimestamp
- the new value of the 'End Timestamp' attribute.- See Also:
-