|
||||||||||
| 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<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>
org.camunda.bpm.engine.test.assertions.cmmn.CaseInstanceAssert
public class CaseInstanceAssert
| 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 |
CaseInstanceAssert(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseInstance actual)
|
| Method Summary | |
|---|---|
protected static CaseInstanceAssert |
assertThat(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseInstance actual)
|
CaseExecutionAssert |
caseExecution(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
Retrieve a child CaseExecution currently available in the context of
the actual caseExecution under test of this AbstractCaseAssert. |
CaseTaskAssert |
caseTask()
Enter into a chained CaseTaskAssert inspecting the one and mostly
one 'caseTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
CaseTaskAssert |
caseTask(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
Enter into a chained CaseTaskAssert inspecting the one and mostly
one 'caseTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
CaseTaskAssert |
caseTask(String activityId)
Enter into a chained CaseTaskAssert inspecting the one and mostly
one 'caseTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
HumanTaskAssert |
humanTask()
Enter into a chained HumanTaskAssert inspecting the one and mostly
one 'humanTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
HumanTaskAssert |
humanTask(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
Enter into a chained HumanTaskAssert inspecting the one and mostly
one 'humanTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
HumanTaskAssert |
humanTask(String activityId)
Enter into a chained HumanTaskAssert inspecting the one and mostly
one 'humanTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
CaseInstanceAssert |
isActive()
Verifies the expectation that the CaseExecution is 'active'. |
CaseInstanceAssert |
isClosed()
Verifies the expectation that the CaseExecution is 'closed'. |
CaseInstanceAssert |
isCompleted()
Verifies the expectation that the CaseExecution is 'completed'. |
CaseInstanceAssert |
isFailed()
Verifies the expectation that the CaseExecution is 'failed'. |
CaseInstanceAssert |
isSuspended()
Verifies the expectation that the CaseExecution is 'suspended'. |
CaseInstanceAssert |
isTerminated()
Verifies the expectation that the CaseExecution is 'terminated'. |
MilestoneAssert |
milestone()
Enter into a chained MilestoneAssert inspecting the one and mostly
one 'milestone' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
MilestoneAssert |
milestone(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
Enter into a chained MilestoneAssert inspecting the one and mostly
one 'milestone' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
MilestoneAssert |
milestone(String activityId)
Enter into a chained MilestoneAssert inspecting the one and mostly
one 'milestone' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
ProcessTaskAssert |
processTask()
Enter into a chained ProcessTaskAssert inspecting the one and mostly
one 'processTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
ProcessTaskAssert |
processTask(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
Enter into a chained ProcessTaskAssert inspecting the one and mostly
one 'processTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
ProcessTaskAssert |
processTask(String activityId)
Enter into a chained ProcessTaskAssert inspecting the one and mostly
one 'processTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
StageAssert |
stage()
Enter into a chained StageAssert inspecting the one and mostly
one 'stage' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
StageAssert |
stage(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
Enter into a chained StageAssert inspecting the one and mostly
one 'stage' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
StageAssert |
stage(String activityId)
Enter into a chained StageAssert inspecting the one and mostly
one 'stage' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. |
| Methods inherited from class org.camunda.bpm.engine.test.assertions.cmmn.AbstractCaseAssert |
|---|
caseExecution, caseExecution, caseExecutionQuery, descendantCaseExecution, getActual, getCurrent, getHistoric, hasVars, historicCaseActivityInstanceQuery, isAvailable, isCaseInstance, isCaseTask, isDisabled, isEnabled, isHumanTask, isMilestone, isProcessTask, isStage, toString, variables, 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 CaseInstanceAssert(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseInstance actual)
| Method Detail |
|---|
protected static CaseInstanceAssert assertThat(org.camunda.bpm.engine.ProcessEngine engine,
org.camunda.bpm.engine.runtime.CaseInstance actual)
public CaseInstanceAssert isActive()
AbstractCaseAssertCaseExecution is 'active'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
isActive in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public CaseInstanceAssert isCompleted()
AbstractCaseAssertCaseExecution is 'completed'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
isCompleted in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public CaseInstanceAssert isClosed()
AbstractCaseAssertCaseExecution is 'closed'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
isClosed in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public CaseInstanceAssert isTerminated()
AbstractCaseAssertCaseExecution is 'terminated'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
isTerminated in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public CaseInstanceAssert isFailed()
AbstractCaseAssertCaseExecution is 'failed'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
isFailed in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public CaseInstanceAssert isSuspended()
AbstractCaseAssertCaseExecution is 'suspended'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this status makes sense
isSuspended in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public HumanTaskAssert humanTask(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
AbstractCaseAssertHumanTaskAssert inspecting the one and mostly
one 'humanTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'humanTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
humanTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>query - CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'humanTask'.
public HumanTaskAssert humanTask(String activityId)
AbstractCaseAssertHumanTaskAssert inspecting the one and mostly
one 'humanTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'humanTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
humanTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>activityId - activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'humanTask'.
public HumanTaskAssert humanTask()
AbstractCaseAssertHumanTaskAssert inspecting the one and mostly
one 'humanTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'humanTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
humanTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public CaseTaskAssert caseTask(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
AbstractCaseAssertCaseTaskAssert inspecting the one and mostly
one 'caseTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'caseTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
caseTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>query - CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'caseTask'.
public CaseTaskAssert caseTask(String activityId)
AbstractCaseAssertCaseTaskAssert inspecting the one and mostly
one 'caseTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'caseTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
caseTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>activityId - activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'caseTask'.
public CaseTaskAssert caseTask()
AbstractCaseAssertCaseTaskAssert inspecting the one and mostly
one 'caseTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'caseTask'.
caseTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public ProcessTaskAssert processTask(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
AbstractCaseAssertProcessTaskAssert inspecting the one and mostly
one 'processTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'processTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
processTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>query - CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'processTask'.
public ProcessTaskAssert processTask(String activityId)
AbstractCaseAssertProcessTaskAssert inspecting the one and mostly
one 'processTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'processTask'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
processTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>activityId - activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'processTask'.
public ProcessTaskAssert processTask()
AbstractCaseAssertProcessTaskAssert inspecting the one and mostly
one 'processTask' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'processTask'.
processTask in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public StageAssert stage(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
AbstractCaseAssertStageAssert inspecting the one and mostly
one 'stage' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'stage'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
stage in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>query - CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'stage'.
public StageAssert stage(String activityId)
AbstractCaseAssertStageAssert inspecting the one and mostly
one 'stage' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'stage'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
stage in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>activityId - activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'stage'.
public StageAssert stage()
AbstractCaseAssertStageAssert inspecting the one and mostly
one 'stage' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'stage'.
stage in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public MilestoneAssert milestone(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
AbstractCaseAssertMilestoneAssert inspecting the one and mostly
one 'milestone' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'milestone'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
milestone in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>query - CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'milestone'.
public MilestoneAssert milestone(String activityId)
AbstractCaseAssertMilestoneAssert inspecting the one and mostly
one 'milestone' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'milestone'.
Change visibility to public for those inheriting classes for whose
underlying objects under test this method makes sense
milestone in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>activityId - activity if further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion as well as
to the type 'milestone'.
public MilestoneAssert milestone()
AbstractCaseAssertMilestoneAssert inspecting the one and mostly
one 'milestone' currently available in the context of the actual caseExecution
under test of this AbstractCaseAssert. The query is automatically narrowed down
to the actual caseExecution under test of this assertion as well as to the type
'milestone'.
milestone in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>public CaseExecutionAssert caseExecution(org.camunda.bpm.engine.runtime.CaseExecutionQuery query)
AbstractCaseAssertCaseExecution currently available in the context of
the actual caseExecution under test of this AbstractCaseAssert. The query is
automatically narrowed down to the actual caseExecution under test of this
assertion.
caseExecution in class AbstractCaseAssert<CaseInstanceAssert,org.camunda.bpm.engine.runtime.CaseInstance>query - CaseExecutionQuery further narrowing down the search for
caseExecutions. The query is automatically narrowed down to the
actual 'parent' CaseExecution under test of this assertion.
to find grandchilds and other descendants, too.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||