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:
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 Exception
- Throws:
Exception
-
allPassWithContextOperations
public void allPassWithContextOperations() throws Exception
- Throws:
Exception
-
allPassProducesGoodOutputWithCustomRelativePathFromBuildDir
public void allPassProducesGoodOutputWithCustomRelativePathFromBuildDir() throws Exception
- Throws:
Exception
-
allPassXMLReportCanBeSuppressed
public void allPassXMLReportCanBeSuppressed() throws Exception
- Throws:
Exception
-
failingTestProducesGoodOutput
public void failingTestProducesGoodOutput() throws Exception
- Throws:
Exception
-
failingTestProducesGoodOutputEvenIfAborted
public void failingTestProducesGoodOutputEvenIfAborted() throws Exception
- Throws:
Exception
-
testWithErrorsProducesGoodOutput
public void testWithErrorsProducesGoodOutput() throws Exception
- Throws:
Exception
-
parametric1LevelProducesGoodOutput
public void parametric1LevelProducesGoodOutput() throws Exception
- Throws:
Exception
-
parametric2LevelsProducesGoodOutput
public void parametric2LevelsProducesGoodOutput() throws Exception
- Throws:
Exception
-
parametric2LevelsWithReusedOpProducesGoodOutput
public void parametric2LevelsWithReusedOpProducesGoodOutput() throws Exception
- Throws:
Exception
-
withCanUseDataVariablesHandleErrors
public void withCanUseDataVariablesHandleErrors() throws Exception
- Throws:
Exception
-
withUsingMissingModelsIsFailedTestCase
public void withUsingMissingModelsIsFailedTestCase() throws Exception
- Throws:
Exception
-
-