Class BatchRule
java.lang.Object
org.junit.rules.TestWatcher
org.operaton.bpm.engine.test.util.BatchRule
- All Implemented Interfaces:
org.junit.rules.TestRule
public class BatchRule
extends org.junit.rules.TestWatcher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ProcessEngineRuleprotected ProcessEngineTestRulestatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionBatchRule(ProcessEngineRule engineRule, ProcessEngineTestRule engineTestRule) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteSeedJobs(Batch batch) executeSeedJobs(Batch batch, boolean cleanUp) protected voidfinished(org.junit.runner.Description description) getExecutionJobs(Batch batch) protected JobgetJobForDefinition(String definitionId) getSeedJob(Batch batch) Methods inherited from class org.junit.rules.TestWatcher
apply, failed, skipped, skipped, starting, succeeded
-
Field Details
-
SEED_JOB
- See Also:
-
MONITOR_JOB
- See Also:
-
EXECUTION_JOBS
- See Also:
-
engineRule
-
engineTestRule
-
batchIds
-
-
Constructor Details
-
BatchRule
-
-
Method Details
-
finished
protected void finished(org.junit.runner.Description description) - Overrides:
finishedin classorg.junit.rules.TestWatcher
-
clearDatabase
public void clearDatabase() -
syncExec
-
syncExec
-
executeSeedJobs
-
executeSeedJobs
-
getSeedJob
-
getJobForDefinition
-
getExecutionJobs
-