public interface TestCase
| Modifier and Type | Method and Description |
|---|---|
List<TestCaseActivity> |
getActivities()
Gets the test case's activities.
|
List<TestCaseActivityScope> |
getActivityScopes()
Gets the scopes of the test case activities.
|
String |
getDescription()
Returns the test case's description.
|
TestCaseActivity |
getEndActivity()
Gets the end activity, if the test case's path is not empty.
|
List<String> |
getFlowNodeIds()
Gets the flow node IDs of the test case's path.
|
List<String> |
getInvalidFlowNodeIds()
Gets the flow node IDs of the test case's path, which are not valid (do not exist within the
related process).
|
String |
getName()
Returns the test case's name.
|
org.camunda.bpm.model.bpmn.instance.Process |
getProcess()
Returns the related process.
|
String |
getProcessId()
Returns the ID of the underlying BPMN process.
|
String |
getProcessName()
Returns the name of the underlying BPMN process.
|
TestCaseActivity |
getStartActivity()
Gets the start activity, if the test case's path is not empty.
|
boolean |
hasEmptyPath()
Determines if the test case path consists of no flow nodes.
|
boolean |
hasIncompletePath()
Determines if the test case path consists of only one flow node.
|
boolean |
hasInvalidPath()
Determines if the test case path contains invalid flow nodes.
|
boolean |
isValid()
Determines if the test case is valid - the path is not empty, incomplete nor invalid.
|
List<TestCaseActivity> getActivities()
List<TestCaseActivityScope> getActivityScopes()
String getDescription()
null, if not specified.TestCaseActivity getEndActivity()
IllegalStateException - If the path is empty.hasEmptyPath()List<String> getFlowNodeIds()
List<String> getInvalidFlowNodeIds()
String getName()
null, if not specified.org.camunda.bpm.model.bpmn.instance.Process getProcess()
String getProcessId()
BaseElement.getId()String getProcessName()
null, if not specified.CallableElement.getName()TestCaseActivity getStartActivity()
IllegalStateException - If the path is empty.hasEmptyPath()boolean hasEmptyPath()
true, if the test case has an empty path. Otherwise false.boolean hasIncompletePath()
true, if the test case has an incomplete path. Otherwise false.boolean hasInvalidPath()
true, if the test case has an invalid path. Otherwise false.getInvalidFlowNodeIds()boolean isValid()
true, if the test case is valid. Otherwise false.hasEmptyPath(),
hasIncompletePath(),
hasInvalidPath()Copyright © 2023 Camunda. All rights reserved.