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
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
FieldsFields inherited from class org.activiti.engine.impl.test.AbstractActivitiTestCase
deploymentIdFromDeploymentAnnotation, deploymentIdsForAutoCleanup, dynamicBpmnService, exception, historyService, managementService, processEngine, processEngineConfiguration, repositoryService, runtimeService, taskServiceFields inherited from class org.activiti.engine.impl.test.AbstractTestCase
EMPTY_LINE, isEmptyLinesEnabled, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidswapCommandInvoker(boolean debug) protected voidwithRetryInterceptor(Runnable runnable) Methods inherited from class org.activiti.engine.impl.test.AbstractActivitiTestCase
assertAndEnsureCleanDb, assertHistoricActivitiesDeleteReason, assertHistoricTasksDeleteReason, assertProcessEnded, assertProcessNotEnded, createOneTaskAndStartEventWithFormKeyProcess, createOneTaskTestProcess, createTwoTasksTestProcess, deployOneTaskTestProcess, deployTwoTasksTestProcess, executeJobExecutorForTime, initializeServices, runBare, setUp, validateHistoryData, waitForJobExecutorOnCondition, waitForJobExecutorToProcessAllJobs, waitForJobExecutorToProcessAllJobsAndExecutableTimerJobsMethods inherited from class org.activiti.engine.impl.test.AbstractTestCase
assertTextPresent, assertTextPresentIgnoreCase, runTestMethods 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 Details
-
cachedProcessEngine
-
-
Constructor Details
-
PluggableActivitiTestCase
public PluggableActivitiTestCase()
-
-
Method Details
-
initializeProcessEngine
protected void initializeProcessEngine()- Specified by:
initializeProcessEnginein classAbstractActivitiTestCase
-
closeDownProcessEngine
protected void closeDownProcessEngine()- Overrides:
closeDownProcessEnginein classAbstractActivitiTestCase
-
swapCommandInvoker
protected void swapCommandInvoker(boolean debug) -
withRetryInterceptor
-