|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.assertj.core.api.AbstractAssert<S,A>
org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert<S,A>
org.camunda.bpm.engine.test.assertions.cmmn.AbstractCaseAssert<CaseTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>
org.camunda.bpm.engine.test.assertions.cmmn.CaseTaskAssert
public class CaseTaskAssert
| Field Summary |
|---|
| Fields inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert |
|---|
engine |
| Fields inherited from class org.assertj.core.api.AbstractAssert |
|---|
actual, info, myself |
| Constructor Summary | |
|---|---|
protected |
CaseTaskAssert(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseExecution actual)
|
| Method Summary | |
|---|---|
protected static CaseTaskAssert |
assertThat(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseExecution actual)
|
CaseTaskAssert |
hasNoVariables()
Verifies the expectation that the CaseTask holds no
case variables at all. |
CaseTaskAssert |
hasVariables(String... names)
Verifies the expectation that the CaseTask holds one or
more case variables with the specified names. |
CaseTaskAssert |
isActive()
Verifies the expectation that the CaseTask is in CaseExecutionState 'active'. |
CaseTaskAssert |
isAvailable()
Verifies the expectation that the CaseTask is in CaseExecutionState 'available'. |
CaseTaskAssert |
isCompleted()
Verifies the expectation that the CaseTask is in CaseExecutionState 'completed'. |
CaseTaskAssert |
isDisabled()
Verifies the expectation that the CaseTask is in CaseExecutionState 'disabled'. |
CaseTaskAssert |
isEnabled()
Verifies the expectation that the CaseTask is in CaseExecutionState 'enabled'. |
CaseTaskAssert |
isFailed()
Verifies the expectation that the CaseTask is in CaseExecutionState 'failed'. |
CaseTaskAssert |
isSuspended()
Verifies the expectation that the CaseTask is in CaseExecutionState 'suspended'. |
CaseTaskAssert |
isTerminated()
Verifies the expectation that the CaseTask is in CaseExecutionState 'terminated'. |
org.assertj.core.api.MapAssert<String,Object> |
variables()
Enter into a chained map assert inspecting the variables currently available in the context of the case task instance under test of this CaseTaskAssert. |
| Methods inherited from class org.camunda.bpm.engine.test.assertions.cmmn.AbstractCaseAssert |
|---|
caseExecution, caseExecution, caseExecution, caseExecutionQuery, caseTask, caseTask, caseTask, descendantCaseExecution, getActual, getCurrent, getHistoric, hasVars, historicCaseActivityInstanceQuery, humanTask, humanTask, humanTask, isCaseInstance, isCaseTask, isClosed, isHumanTask, isMilestone, isProcessTask, isStage, milestone, milestone, milestone, processTask, processTask, processTask, stage, stage, stage, toString, vars |
| Methods inherited from class org.camunda.bpm.engine.test.assertions.bpmn.AbstractProcessAssert |
|---|
assertApi, authorizationService, caseDefinitionQuery, caseInstanceQuery, caseService, executionQuery, formService, getExistingCurrent, getLastAssert, historicActivityInstanceQuery, historicDetailQuery, historicProcessInstanceQuery, historicTaskInstanceQuery, historicVariableInstanceQuery, historyService, identityService, jobQuery, managementService, processDefinitionQuery, processInstanceQuery, repositoryService, resetLastAsserts, runtimeService, supportsApi, taskQuery, taskService, variableInstanceQuery |
| Methods inherited from class org.assertj.core.api.AbstractAssert |
|---|
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CaseTaskAssert(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseExecution actual)
| Method Detail |
|---|
protected static CaseTaskAssert assertThat(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseExecution actual)
public CaseTaskAssert isAvailable()
CaseTask is in CaseExecutionState 'available'.
isAvailable in class AbstractCaseAssert<CaseTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>CaseTaskAssertpublic CaseTaskAssert isEnabled()
CaseTask is in CaseExecutionState 'enabled'.
isEnabled in class AbstractCaseAssert<CaseTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>CaseTaskAssertpublic CaseTaskAssert isDisabled()
CaseTask is in CaseExecutionState 'disabled'.
isDisabled in class AbstractCaseAssert<CaseTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>CaseTaskAssertpublic CaseTaskAssert isActive()
CaseTask is in CaseExecutionState 'active'.
isActive in class AbstractCaseAssert<CaseTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>CaseTaskAssertpublic CaseTaskAssert isSuspended()
CaseTask is in CaseExecutionState 'suspended'.
isSuspended in class AbstractCaseAssert<CaseTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>CaseTaskAssertpublic CaseTaskAssert isCompleted()
CaseTask is in CaseExecutionState 'completed'.
isCompleted in class AbstractCaseAssert<CaseTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>CaseTaskAssertpublic CaseTaskAssert isFailed()
CaseTask is in CaseExecutionState 'failed'.
isFailed in class AbstractCaseAssert<CaseTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>CaseTaskAssertpublic CaseTaskAssert isTerminated()
CaseTask is in CaseExecutionState 'terminated'.
isTerminated in class AbstractCaseAssert<CaseTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>CaseTaskAssertpublic CaseTaskAssert hasNoVariables()
CaseTask holds no
case variables at all.
CaseTaskAssertpublic CaseTaskAssert hasVariables(String... names)
CaseTask holds one or
more case variables with the specified names.
names - the names of the case task variables expected to exist. In
case no variable name is given, the existence of at least one
variable will be verified.
CaseTaskAssertpublic org.assertj.core.api.MapAssert<String,Object> variables()
variables in class AbstractCaseAssert<CaseTaskAssert,org.camunda.bpm.engine.runtime.CaseExecution>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||