Package org.activiti.engine.impl.test
Class PluggableActivitiTestCase
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.activiti.engine.impl.test.AbstractTestCase
-
- org.activiti.engine.impl.test.AbstractActivitiTestCase
-
- org.activiti.engine.impl.test.PluggableActivitiTestCase
-
- All Implemented Interfaces:
junit.framework.Test
public abstract class PluggableActivitiTestCase extends AbstractActivitiTestCase
Base class for the activiti test cases. The main reason not to use our own test support classes is that we need to run our test suite with various configurations, e.g. with and without spring, standalone or on a server etc. Those requirements create some complications so we think it's best to use a separate base class. That way it is much easier for us to maintain our own codebase and at the same time provide stability on the test support classes that we offer as part of our api (in org.activiti.engine.test).
-
-
Field Summary
Fields Modifier and Type Field Description protected static ProcessEnginecachedProcessEngine-
Fields inherited from class org.activiti.engine.impl.test.AbstractActivitiTestCase
deploymentIdFromDeploymentAnnotation, deploymentIdsForAutoCleanup, dynamicBpmnService, exception, historyService, managementService, processEngine, processEngineConfiguration, repositoryService, runtimeService, taskService
-
Fields inherited from class org.activiti.engine.impl.test.AbstractTestCase
EMPTY_LINE, isEmptyLinesEnabled, log
-
-
Constructor Summary
Constructors Constructor Description PluggableActivitiTestCase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcloseDownProcessEngine()protected voidinitializeProcessEngine()protected voidswapCommandInvoker(boolean debug)-
Methods inherited from class org.activiti.engine.impl.test.AbstractActivitiTestCase
assertAndEnsureCleanDb, assertHistoricActivitiesDeleteReason, assertHistoricTasksDeleteReason, assertProcessEnded, createOneTaskTestProcess, createTwoTasksTestProcess, deployOneTaskTestProcess, deployTwoTasksTestProcess, executeJobExecutorForTime, initializeServices, runBare, setUp, validateHistoryData, waitForJobExecutorOnCondition, waitForJobExecutorToProcessAllJobs, waitForJobExecutorToProcessAllJobsAndExecutableTimerJobs
-
Methods inherited from class org.activiti.engine.impl.test.AbstractTestCase
assertTextPresent, assertTextPresentIgnoreCase, runTest
-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, setName, tearDown, toString
-
-
-
-
Field Detail
-
cachedProcessEngine
protected static ProcessEngine cachedProcessEngine
-
-
Method Detail
-
initializeProcessEngine
protected void initializeProcessEngine()
- Specified by:
initializeProcessEnginein classAbstractActivitiTestCase
-
closeDownProcessEngine
protected void closeDownProcessEngine()
- Overrides:
closeDownProcessEnginein classAbstractActivitiTestCase
-
swapCommandInvoker
protected void swapCommandInvoker(boolean debug)
-
-