|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.bdd.steps.CamundaSteps
public class CamundaSteps
Generic Steps to control Camunda BPM from the test.
| Constructor Summary | |
|---|---|
CamundaSteps()
|
|
| Method Summary | |
|---|---|
void |
cleanUp()
Clean up all resources. |
void |
deployProcess(String processDefinition)
|
void |
init()
|
void |
processFinishedSucessfully(String eventName)
|
void |
processIsFinished()
Process is finished. |
void |
startProcess(String processKey)
|
void |
stepIsReached(String activityId)
Process step reached. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CamundaSteps()
| Method Detail |
|---|
@BeforeStory public void init()
@AfterStory(uponGivenStory=false) public void cleanUp()
@When(value="the process definition $processDefinition") @Given(value="the process definition $processDefinition") public void deployProcess(String processDefinition)
@When(value="the process $processKey is started") public void startProcess(String processKey)
@Then(value="the process is finished") public void processIsFinished()
@Then(value="the process is finished with event $eventName") public void processFinishedSucessfully(String eventName)
@Then(value="the step $activityId is reached") @When(value="the step $activityId is reached") public void stepIsReached(String activityId)
activityId - name of the step to reach.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||