Class ExecutionTreeStructureAssertion
java.lang.Object
org.operaton.bpm.engine.test.util.ExecutionTreeStructureAssertion
- All Implemented Interfaces:
ExecutionTreeAssertion
- Author:
- Thorben Lindhauer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildAssertion(ExecutionTreeStructureAssertion childAssertion) voidassertExecution(ExecutionTree tree) static voiddescribe(ExecutionTreeStructureAssertion assertion, String prefix, StringBuilder errorBuilder) protected booleanmatches(ExecutionTree tree) This assumes that all children have been fetchedvoidsetExpectedActivityId(String expectedActivityId) voidsetExpectedId(String expectedId) voidsetExpectedIsConcurrent(Boolean expectedIsConcurrent) voidsetExpectedIsEventScope(Boolean expectedIsEventScope) voidsetExpectedIsScope(Boolean expectedIsScope) toString()
-
Field Details
-
expectedActivityId
-
expectedIsScope
-
expectedIsConcurrent
-
expectedIsEventScope
-
expectedId
-
childAssertions
-
-
Constructor Details
-
ExecutionTreeStructureAssertion
public ExecutionTreeStructureAssertion()
-
-
Method Details
-
addChildAssertion
-
setExpectedActivityId
-
matches
This assumes that all children have been fetched -
assertExecution
- Specified by:
assertExecutionin interfaceExecutionTreeAssertion
-
describe
public static void describe(ExecutionTreeStructureAssertion assertion, String prefix, StringBuilder errorBuilder) -
toString
-
setExpectedIsScope
-
setExpectedIsConcurrent
-
setExpectedIsEventScope
-
setExpectedId
-