public abstract class AbstractProcessEngineTestCase extends PvmTestCase
Modifier and Type | Field and Description |
---|---|
protected AuthorizationService |
authorizationService |
protected CaseService |
caseService |
protected String |
deploymentId |
protected Throwable |
exception |
protected FilterService |
filterService |
protected FormService |
formService |
protected HistoryService |
historyService |
protected IdentityService |
identityService |
protected ManagementService |
managementService |
protected ProcessEngine |
processEngine |
protected ProcessEngineConfigurationImpl |
processEngineConfiguration |
protected RepositoryService |
repositoryService |
protected RuntimeService |
runtimeService |
protected TaskService |
taskService |
protected LogUtil.ThreadLogMode |
threadRenderingMode |
DEFAULT_THREAD_LOG_MODE, EMPTY_LINE, isEmptyLinesEnabled, log
Constructor and Description |
---|
AbstractProcessEngineTestCase() |
Modifier and Type | Method and Description |
---|---|
boolean |
areJobsAvailable() |
void |
assertCaseEnded(String caseInstanceId) |
void |
assertProcessEnded(String processInstanceId) |
protected void |
closeDownProcessEngine() |
void |
deployment(BpmnModelInstance... bpmnModelInstances) |
void |
executeAvailableJobs() |
protected List<ActivityInstance> |
getInstancesForActivitiyId(ActivityInstance activityInstance,
String activityId) |
protected abstract void |
initializeProcessEngine() |
protected void |
initializeServices() |
protected void |
runAsUser(String userId,
List<String> groupIds,
Runnable r) |
void |
runBare() |
void |
waitForJobExecutorOnCondition(long maxMillisToWait,
Callable<Boolean> condition) |
void |
waitForJobExecutorOnCondition(long maxMillisToWait,
long intervalMillis,
Callable<Boolean> condition)
Deprecated.
|
void |
waitForJobExecutorToProcessAllJobs(long maxMillisToWait) |
void |
waitForJobExecutorToProcessAllJobs(long maxMillisToWait,
long intervalMillis)
Deprecated.
|
assertTextPresent, assertTextPresentIgnoreCase, runTest
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, setUp, tearDown, toString
protected ProcessEngine processEngine
protected LogUtil.ThreadLogMode threadRenderingMode
protected String deploymentId
protected Throwable exception
protected ProcessEngineConfigurationImpl processEngineConfiguration
protected RepositoryService repositoryService
protected RuntimeService runtimeService
protected TaskService taskService
protected FormService formService
protected HistoryService historyService
protected IdentityService identityService
protected ManagementService managementService
protected AuthorizationService authorizationService
protected CaseService caseService
protected FilterService filterService
protected abstract void initializeProcessEngine()
protected void closeDownProcessEngine()
public void runBare() throws Throwable
runBare
in class junit.framework.TestCase
Throwable
protected void initializeServices()
public void assertProcessEnded(String processInstanceId)
public void assertCaseEnded(String caseInstanceId)
@Deprecated public void waitForJobExecutorToProcessAllJobs(long maxMillisToWait, long intervalMillis)
public void waitForJobExecutorToProcessAllJobs(long maxMillisToWait)
@Deprecated public void waitForJobExecutorOnCondition(long maxMillisToWait, long intervalMillis, Callable<Boolean> condition)
public void waitForJobExecutorOnCondition(long maxMillisToWait, Callable<Boolean> condition)
public void executeAvailableJobs()
public boolean areJobsAvailable()
protected List<ActivityInstance> getInstancesForActivitiyId(ActivityInstance activityInstance, String activityId)
public void deployment(BpmnModelInstance... bpmnModelInstances)
Copyright © 2018. All rights reserved.