public abstract class AbstractProcessEngineTestCase extends PvmTestCase
Modifier and Type | Field and Description |
---|---|
protected AuthorizationService |
authorizationService |
protected String |
deploymentId |
protected Throwable |
exception |
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() |
protected void |
assertAndEnsureCleanDb()
Each test is assumed to clean up all DB content it entered.
|
void |
assertProcessEnded(String processInstanceId) |
protected void |
closeDownProcessEngine() |
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 abstract void initializeProcessEngine()
protected void closeDownProcessEngine()
public void runBare() throws Throwable
runBare
in class junit.framework.TestCase
Throwable
protected void assertAndEnsureCleanDb() throws Throwable
Throwable
protected void initializeServices()
public void assertProcessEnded(String processInstanceId)
@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 boolean areJobsAvailable()
protected List<ActivityInstance> getInstancesForActivitiyId(ActivityInstance activityInstance, String activityId)
Copyright © 2015. All rights reserved.