| <?xml version="1.0" encoding="UTF-8"?> |
| <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="runtime" nsURI="http://eclipse.org/ease/unittest/runtime" nsPrefix="runtime"> |
| <eClassifiers xsi:type="ecore:EClass" name="TestEntity" abstract="true"> |
| <eOperations name="getStatus" eType="#//TestStatus"/> |
| <eOperations name="getRoot" eType="#//TestContainer"/> |
| <eOperations name="hasError" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| <eOperations name="getTestSuite" eType="#//TestSuite"/> |
| <eOperations name="getResource" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> |
| <eOperations name="reset"/> |
| <eOperations name="run"> |
| <eParameters name="strategy" eType="#//TestExecutionStrategy"/> |
| </eOperations> |
| <eOperations name="getWorstResult" eType="#//TestResult"/> |
| <eOperations name="addError" eType="#//TestResult"> |
| <eParameters name="message" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eParameters name="scriptEngine" eType="#//ScriptEngine"/> |
| </eOperations> |
| <eOperations name="getResults" upperBound="-1" eType="#//TestResult"> |
| <eParameters name="status" eType="#//TestStatus"/> |
| </eOperations> |
| <eOperations name="getFullPath" eType="#//Path"/> |
| <eOperations name="setDisabled"> |
| <eParameters name="message" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| </eOperations> |
| <eOperations name="isDisabled" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="description" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="entityStatus" eType="#//TestStatus"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="endTimestamp" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong" |
| defaultValueLiteral="0"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="startTimestamp" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong" |
| defaultValueLiteral="0"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="parent" eType="#//TestContainer" |
| eOpposite="#//TestContainer/children"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="metadata" upperBound="-1" |
| eType="#//Metadata" containment="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="duration" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong" |
| changeable="false" volatile="true" transient="true" derived="true"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="results" upperBound="-1" |
| eType="#//TestResult" containment="true"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="estimatedDuration" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong" |
| defaultValueLiteral="-1"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="terminated" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="TestContainer" abstract="true" eSuperTypes="#//TestEntity"> |
| <eOperations name="getTest" eType="#//Test"> |
| <eParameters name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| </eOperations> |
| <eOperations name="getChildContainers" upperBound="-1" eType="#//TestContainer"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1" |
| eType="#//TestEntity" containment="true" eOpposite="#//TestEntity/parent"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="resource" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject" |
| transient="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="Test" eSuperTypes="#//TestEntity #//StackTraceContainer"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="durationLimit" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong" |
| defaultValueLiteral="-1"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="TestSuite" eSuperTypes="#//TestContainer"> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="activeTests" upperBound="-1" |
| eType="#//TestEntity"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="definition" eType="ecore:EClass TestDefinition.ecore#//TestSuiteDefinition"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="masterEngine" eType="#//ScriptEngine" |
| transient="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="TestFolder" eSuperTypes="#//TestContainer"/> |
| <eClassifiers xsi:type="ecore:EClass" name="TestClass" eSuperTypes="#//TestContainer #//StackTraceContainer"/> |
| <eClassifiers xsi:type="ecore:EEnum" name="TestStatus"> |
| <eLiterals name="NOT_RUN"/> |
| <eLiterals name="FINISHED" value="1" literal="FINISHED"/> |
| <eLiterals name="DISABLED" value="2"/> |
| <eLiterals name="PASS" value="3"/> |
| <eLiterals name="FAILURE" value="4"/> |
| <eLiterals name="ERROR" value="5"/> |
| <eLiterals name="RUNNING" value="6"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="TestResult" eSuperTypes="#//StackTraceContainer"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="status" eType="#//TestStatus"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="message" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="TestFile" eSuperTypes="#//TestContainer"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="insertionOrder" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EDataType" name="ScriptEngine" instanceClassName="org.eclipse.ease.IScriptEngine" |
| serializable="false"/> |
| <eClassifiers xsi:type="ecore:EDataType" name="Throwable" instanceClassName="java.lang.Throwable" |
| serializable="false"/> |
| <eClassifiers xsi:type="ecore:EDataType" name="ScriptStackTrace" instanceClassName="org.eclipse.ease.debugging.ScriptStackTrace" |
| serializable="false"/> |
| <eClassifiers xsi:type="ecore:EClass" name="StackTraceContainer"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="stackTrace" eType="#//ScriptStackTrace" |
| transient="true"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="Metadata" eSuperTypes="#//StackTraceContainer"> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="key" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EDataType" name="TestExecutionStrategy" instanceClassName="org.eclipse.ease.lang.unittest.execution.ITestExecutionStrategy" |
| serializable="false"/> |
| <eClassifiers xsi:type="ecore:EDataType" name="Path" instanceClassName="org.eclipse.core.runtime.IPath" |
| serializable="false"/> |
| </ecore:EPackage> |