public class CmmnAwareTests extends BpmnAwareTests
DEFAULT_LOCK_DURATION_EXTERNAL_TASK, DEFAULT_WORKER_EXTERNAL_TASK| Constructor and Description |
|---|
CmmnAwareTests() |
| Modifier and Type | Method and Description |
|---|---|
static CaseDefinitionAssert |
assertThat(org.camunda.bpm.engine.repository.CaseDefinition actual)
Assert that...
|
static CaseExecutionAssert |
assertThat(org.camunda.bpm.engine.runtime.CaseExecution actual)
Assert that...
|
static CaseInstanceAssert |
assertThat(org.camunda.bpm.engine.runtime.CaseInstance actual)
Assert that...
|
static org.camunda.bpm.engine.repository.CaseDefinitionQuery |
caseDefinitionQuery()
Helper method to easily create a new CaseDefinitionQuery.
|
static org.camunda.bpm.engine.runtime.CaseExecution |
caseExecution(org.camunda.bpm.engine.runtime.CaseExecutionQuery caseExecutionQuery,
org.camunda.bpm.engine.runtime.CaseInstance caseInstance)
Helper method to find any
CaseExecution in the context of a CaseInstance |
static org.camunda.bpm.engine.runtime.CaseExecution |
caseExecution(String activityId,
org.camunda.bpm.engine.runtime.CaseInstance caseInstance)
Helper method to find any
CaseExecution in the context of a CaseInstance. |
static org.camunda.bpm.engine.runtime.CaseExecutionQuery |
caseExecutionQuery()
Helper method to easily create a new CaseExecutionQuery.
|
static org.camunda.bpm.engine.runtime.CaseInstanceQuery |
caseInstanceQuery()
Helper method to easily create a new CaseInstanceQuery.
|
static org.camunda.bpm.engine.CaseService |
caseService()
Helper method to easily access CaseService
|
static void |
complete(org.camunda.bpm.engine.runtime.CaseExecution caseExecution)
Helper method to easily complete a CaseExecution.
|
static void |
complete(org.camunda.bpm.engine.runtime.CaseExecution caseExecution,
Map<String,Object> variables)
Helper method to easily complete a caseExecution and pass some
case variables.
|
static void |
disable(org.camunda.bpm.engine.runtime.CaseExecution caseExecution)
Helper method to easily disable a case execution.
|
static void |
manuallyStart(org.camunda.bpm.engine.runtime.CaseExecution caseExecution)
Helper method to manually start a case execution.
|
assertThat, assertThat, assertThat, assertThat, assertThat, authorizationService, calledProcessInstance, calledProcessInstance, calledProcessInstance, calledProcessInstance, calledProcessInstance, calledProcessInstance, claim, complete, complete, complete, complete, complete, complete, decisionService, execute, executionQuery, externalTask, externalTask, externalTask, externalTask, externalTask, externalTask, externalTaskQuery, externalTaskService, fetchAndLock, formService, historyService, identityService, job, job, job, job, job, job, jobQuery, managementService, processDefinition, processDefinition, processDefinition, processDefinition, processDefinitionQuery, processInstanceQuery, repositoryService, runtimeService, task, task, task, task, task, task, taskQuery, taskService, unclaim, withVariablesinit, processEngine, resetpublic static CaseInstanceAssert assertThat(org.camunda.bpm.engine.runtime.CaseInstance actual)
actual - CaseInstance under testpublic static CaseExecutionAssert assertThat(org.camunda.bpm.engine.runtime.CaseExecution actual)
actual - CaseExecution under testpublic static CaseDefinitionAssert assertThat(org.camunda.bpm.engine.repository.CaseDefinition actual)
actual - ProcessDefinition under testpublic static org.camunda.bpm.engine.CaseService caseService()
CaseServicepublic static org.camunda.bpm.engine.runtime.CaseInstanceQuery caseInstanceQuery()
public static org.camunda.bpm.engine.runtime.CaseExecutionQuery caseExecutionQuery()
public static org.camunda.bpm.engine.repository.CaseDefinitionQuery caseDefinitionQuery()
public static void complete(org.camunda.bpm.engine.runtime.CaseExecution caseExecution)
caseExecution - the CaseExecution to completepublic static void disable(org.camunda.bpm.engine.runtime.CaseExecution caseExecution)
caseExecution - the case execution to completepublic static void manuallyStart(org.camunda.bpm.engine.runtime.CaseExecution caseExecution)
caseExecution - the case execution to startpublic static org.camunda.bpm.engine.runtime.CaseExecution caseExecution(String activityId, org.camunda.bpm.engine.runtime.CaseInstance caseInstance)
CaseExecution in the context of a CaseInstance.activityId - activity to findcaseInstance - CaseInstance to search inpublic static org.camunda.bpm.engine.runtime.CaseExecution caseExecution(org.camunda.bpm.engine.runtime.CaseExecutionQuery caseExecutionQuery,
org.camunda.bpm.engine.runtime.CaseInstance caseInstance)
CaseExecution in the context of a CaseInstancecaseExecutionQuery - query for narrowing down on the CaseExecution to findcaseInstance - CaseInstance to search inpublic static void complete(org.camunda.bpm.engine.runtime.CaseExecution caseExecution,
Map<String,Object> variables)
caseExecution - CaseExecution to be completedvariables - Case variables to be passed to the
case instance when completing the caseExecution. For
setting those variables, you can use
BpmnAwareTests.withVariables(String, Object, Object...)Copyright © 2019 Camunda Services GmbH. All rights reserved.