public class CmmnAwareTests extends BpmnAwareTests
| 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.
|
static Map<String,Object> |
withVariables(String key,
Object value,
Object... furtherKeyValuePairs)
Helper method to easily construct a map of case variables
|
authorizationService, calledProcessInstance, calledProcessInstance, calledProcessInstance, calledProcessInstance, calledProcessInstance, calledProcessInstance, claim, complete, complete, execute, executionQuery, 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, unclaimassertThat, assertThat, assertThat, assertThatassertApi, init, processEngine, reset, supportsApiallOf, allOf, anyOf, anyOf, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThatThrownBy, atIndex, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, byLessThan, catchThrowable, contentOf, contentOf, contentOf, contentOf, contentOf, contentOf, doesNotHave, entry, extractProperty, extractProperty, fail, fail, fail, failBecauseExceptionWasNotThrown, filter, filter, in, linesOf, linesOf, linesOf, linesOf, linesOf, linesOf, not, not, notIn, offset, offset, registerCustomDateFormat, registerCustomDateFormat, setAllowComparingPrivateFields, setAllowExtractingPrivateFields, setLenientDateParsing, setMaxElementsForPrinting, setMaxLengthForSingleLineDescription, setRemoveAssertJRelatedElementsFromStackTrace, shouldHaveThrown, tuple, useDefaultDateFormatsOnly, useDefaultRepresentation, useRepresentation, within, within, within, within, within, within, within, withinPercentage, withinPercentage, withinPercentage, withPrecision, withPrecisionpublic 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
withVariables(String, Object, Object...)public static Map<String,Object> withVariables(String key, Object value, Object... furtherKeyValuePairs)
key - (obligatory) key of first case variablevalue - (obligatory) value of first case variablefurtherKeyValuePairs - (optional) key/value pairs for further
case variablesCopyright © 2019 Camunda Services GmbH. All rights reserved.