Class EUnitBasicTests
- java.lang.Object
-
- org.eclipse.epsilon.workflow.test.WorkflowTestCase
-
- org.eclipse.epsilon.workflow.tasks.eunit.EUnitTestCase
-
- org.eclipse.epsilon.workflow.tasks.eunit.EUnitBasicTests
-
- All Implemented Interfaces:
org.xml.sax.ErrorHandler
public class EUnitBasicTests extends EUnitTestCase
EUnit tests: basic aspects.- Version:
- 1.0
- Author:
- Antonio García-Domínguez
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.workflow.tasks.eunit.EUnitTestCase
ANT_BUILD_FILE, BASE_DIR
-
-
Constructor Summary
Constructors Constructor Description EUnitBasicTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
allPassModelRef()
void
allPassProducesGoodOutput()
void
allPassProducesGoodOutputWithCustomRelativePathFromBuildDir()
void
allPassWithContextOperations()
void
allPassXMLReportCanBeSuppressed()
void
buildFailsWithBadImports()
void
customPackageIsHonored()
void
failingTestProducesGoodOutput()
void
failingTestProducesGoodOutputEvenIfAborted()
void
onlyWithIsHonored()
void
parametric1LevelProducesGoodOutput()
void
parametric2LevelsProducesGoodOutput()
void
parametric2LevelsWithReusedOpProducesGoodOutput()
void
parametricHandleErrors()
void
suiteSetupTeardown()
void
testWithErrorsProducesGoodOutput()
void
variables()
void
withCanUseDataVariables()
void
withCanUseDataVariablesHandleErrors()
void
withIsHonored()
void
withUsingMissingModelsIsFailedTestCase()
-
Methods inherited from class org.eclipse.epsilon.workflow.tasks.eunit.EUnitTestCase
addTaskDefinitionsTo, checkOutput, cleanUp, error, fatalError, warning
-
Methods inherited from class org.eclipse.epsilon.workflow.test.WorkflowTestCase
assertContains, runTarget
-
-
-
-
Method Detail
-
allPassProducesGoodOutput
public void allPassProducesGoodOutput() throws java.lang.Exception
- Throws:
java.lang.Exception
-
allPassWithContextOperations
public void allPassWithContextOperations() throws java.lang.Exception
- Throws:
java.lang.Exception
-
allPassProducesGoodOutputWithCustomRelativePathFromBuildDir
public void allPassProducesGoodOutputWithCustomRelativePathFromBuildDir() throws java.lang.Exception
- Throws:
java.lang.Exception
-
allPassModelRef
public void allPassModelRef() throws java.lang.Exception
- Throws:
java.lang.Exception
-
allPassXMLReportCanBeSuppressed
public void allPassXMLReportCanBeSuppressed() throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildFailsWithBadImports
public void buildFailsWithBadImports() throws java.lang.Exception
- Throws:
java.lang.Exception
-
customPackageIsHonored
public void customPackageIsHonored() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failingTestProducesGoodOutput
public void failingTestProducesGoodOutput() throws java.lang.Exception
- Throws:
java.lang.Exception
-
failingTestProducesGoodOutputEvenIfAborted
public void failingTestProducesGoodOutputEvenIfAborted() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testWithErrorsProducesGoodOutput
public void testWithErrorsProducesGoodOutput() throws java.lang.Exception
- Throws:
java.lang.Exception
-
parametric1LevelProducesGoodOutput
public void parametric1LevelProducesGoodOutput() throws java.lang.Exception
- Throws:
java.lang.Exception
-
parametric2LevelsProducesGoodOutput
public void parametric2LevelsProducesGoodOutput() throws java.lang.Exception
- Throws:
java.lang.Exception
-
parametric2LevelsWithReusedOpProducesGoodOutput
public void parametric2LevelsWithReusedOpProducesGoodOutput() throws java.lang.Exception
- Throws:
java.lang.Exception
-
parametricHandleErrors
public void parametricHandleErrors() throws java.lang.Exception
- Throws:
java.lang.Exception
-
suiteSetupTeardown
public void suiteSetupTeardown() throws java.lang.Exception
- Throws:
java.lang.Exception
-
withCanUseDataVariables
public void withCanUseDataVariables() throws java.lang.Exception
- Throws:
java.lang.Exception
-
withCanUseDataVariablesHandleErrors
public void withCanUseDataVariablesHandleErrors() throws java.lang.Exception
- Throws:
java.lang.Exception
-
withIsHonored
public void withIsHonored() throws java.lang.Exception
- Throws:
java.lang.Exception
-
withUsingMissingModelsIsFailedTestCase
public void withUsingMissingModelsIsFailedTestCase() throws java.lang.Exception
- Throws:
java.lang.Exception
-
onlyWithIsHonored
public void onlyWithIsHonored() throws java.lang.Exception
- Throws:
java.lang.Exception
-
variables
public void variables() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-