Class WorkflowTestCase
- java.lang.Object
-
- org.eclipse.epsilon.workflow.test.WorkflowTestCase
-
- Direct Known Subclasses:
EUnitTestCase
,WorkflowTaskTestCase
public abstract class WorkflowTestCase extends java.lang.Object
Superclass for all test cases for the workflow classes, providing several utility methods.- Version:
- 1.0
- Author:
- Antonio García-Domínguez
-
-
Constructor Summary
Constructors Constructor Description WorkflowTestCase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
addTaskDefinitionsTo(org.apache.tools.ant.Project project)
protected void
assertContains(java.lang.String message, java.lang.String substr)
void
runTarget(java.io.File buildFile, java.lang.String targetName)
Runs the specified target in the provided Ant buildfile.
-
-
-
Method Detail
-
runTarget
public void runTarget(java.io.File buildFile, java.lang.String targetName) throws java.lang.Exception
Runs the specified target in the provided Ant buildfile. Only some tasks are available: check the source code for details.- Parameters:
buildFile
- Ant buildfile to be run.targetName
- Name of the target to be run.- Throws:
org.apache.tools.ant.BuildException
- The build failed.java.lang.Exception
-
addTaskDefinitionsTo
protected abstract void addTaskDefinitionsTo(org.apache.tools.ant.Project project)
-
assertContains
protected void assertContains(java.lang.String message, java.lang.String substr)
-
-