Class LoadModelTaskTests
- java.lang.Object
-
- org.eclipse.epsilon.workflow.test.WorkflowTestCase
-
- org.eclipse.epsilon.workflow.tasks.WorkflowTaskTestCase
-
- org.eclipse.epsilon.workflow.tasks.LoadModelTaskTests
-
public class LoadModelTaskTests extends WorkflowTaskTestCase
Tests that check whether instances of the loadModel ANT task produce the data needed to create a model with EMC.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadModelTaskTests.LoadModelTaskWithSpy
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 LoadModelTaskTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addTaskDefinitionsTo(org.apache.tools.ant.Project project)
void
nameAndTypeAreSetFromAttributeValue()
void
propertiesAreSetFromContainedParameters()
-
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
-
nameAndTypeAreSetFromAttributeValue
public void nameAndTypeAreSetFromAttributeValue() throws java.lang.Exception
- Throws:
java.lang.Exception
-
propertiesAreSetFromContainedParameters
public void propertiesAreSetFromContainedParameters() throws java.lang.Exception
- Throws:
java.lang.Exception
-
addTaskDefinitionsTo
protected void addTaskDefinitionsTo(org.apache.tools.ant.Project project)
- Specified by:
addTaskDefinitionsTo
in classWorkflowTestCase
-
-