Class LoadModelTests
- java.lang.Object
-
- org.eclipse.epsilon.workflow.test.WorkflowTestCase
-
- org.eclipse.epsilon.workflow.tasks.WorkflowTaskTestCase
-
- org.eclipse.epsilon.workflow.tasks.emf.LoadModelTests
-
public class LoadModelTests extends WorkflowTaskTestCase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadModelTests.LoadModelWithSpy
An extension to LoadModelTask that stubs out the createModel method to return a spy (which can be interrogated by the tests) rather than a real model.
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.workflow.tasks.WorkflowTaskTestCase
antFile
-
-
Constructor Summary
Constructors Constructor Description LoadModelTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addTaskDefinitionsTo(org.apache.tools.ant.Project project)
void
metamodelFileIsConvertedToUri()
void
modelFileIsConvertedToUri()
void
nameIsMappedToName()
void
readIsMappedToReadOnLoad()
-
Methods inherited from class org.eclipse.epsilon.workflow.tasks.WorkflowTaskTestCase
runTask
-
Methods inherited from class org.eclipse.epsilon.workflow.test.WorkflowTestCase
assertContains, runTarget
-
-
-
-
Method Detail
-
nameIsMappedToName
public void nameIsMappedToName() throws java.lang.Exception
- Throws:
java.lang.Exception
-
readIsMappedToReadOnLoad
public void readIsMappedToReadOnLoad() throws java.lang.Exception
- Throws:
java.lang.Exception
-
metamodelFileIsConvertedToUri
public void metamodelFileIsConvertedToUri() throws java.lang.Exception
- Throws:
java.lang.Exception
-
modelFileIsConvertedToUri
public void modelFileIsConvertedToUri() throws java.lang.Exception
- Throws:
java.lang.Exception
-
addTaskDefinitionsTo
protected void addTaskDefinitionsTo(org.apache.tools.ant.Project project)
- Specified by:
addTaskDefinitionsTo
in classWorkflowTestCase
-
-