use of org.camunda.bpm.engine.impl.pvm.process.ActivityImpl in project camunda-bpm-platform by camunda.
the class FoxFailedJobParseListenerTest method testTimerBoundaryEventWithoutFailedJobRetryTimeCycle.
@Deployment(resources = { "org/camunda/bpm/engine/test/bpmn/parse/FoxFailedJobParseListenerTest.testTimer.bpmn20.xml" })
public void testTimerBoundaryEventWithoutFailedJobRetryTimeCycle() {
ProcessInstance pi = runtimeService.startProcessInstanceByKey("boundaryEventWithoutFailedJobRetryTimeCycle");
ActivityImpl boundaryActivity = findActivity(pi, "boundaryTimerWithoutFailedJobRetryTimeCycle");
checkNotContainingFoxFailedJobConfig(boundaryActivity);
}
use of org.camunda.bpm.engine.impl.pvm.process.ActivityImpl in project camunda-bpm-platform by camunda.
the class FoxFailedJobParseListenerTest method testSignalEventWithFailedJobRetryTimeCycle.
@Deployment(resources = { "org/camunda/bpm/engine/test/bpmn/parse/FoxFailedJobParseListenerTest.testSignal.bpmn20.xml" })
public void testSignalEventWithFailedJobRetryTimeCycle() {
ProcessInstance pi = runtimeService.startProcessInstanceByKey("signalEventWithFailedJobRetryTimeCycle");
ActivityImpl signal = findActivity(pi, "signalWithFailedJobRetryTimeCycle");
checkFoxFailedJobConfig(signal);
}
use of org.camunda.bpm.engine.impl.pvm.process.ActivityImpl in project camunda-bpm-platform by camunda.
the class FoxFailedJobParseListenerTest method testMultiInstanceBodyWithFailedJobRetryTimeCycle.
@Deployment
public void testMultiInstanceBodyWithFailedJobRetryTimeCycle() {
ProcessInstance pi = runtimeService.startProcessInstanceByKey("process");
ActivityImpl miBody = findMultiInstanceBody(pi, "task");
checkFoxFailedJobConfig(miBody);
ActivityImpl innerActivity = findActivity(pi, "task");
checkNotContainingFoxFailedJobConfig(innerActivity);
}
use of org.camunda.bpm.engine.impl.pvm.process.ActivityImpl in project camunda-bpm-platform by camunda.
the class FoxFailedJobParseListenerTest method testIntermediateCatchTimerEventWithFailedJobRetryTimeCycle.
@Deployment(resources = { "org/camunda/bpm/engine/test/bpmn/parse/FoxFailedJobParseListenerTest.testTimer.bpmn20.xml" })
public void testIntermediateCatchTimerEventWithFailedJobRetryTimeCycle() {
ProcessInstance pi = runtimeService.startProcessInstanceByKey("intermediateTimerEventWithFailedJobRetryTimeCycle");
ActivityImpl timer = findActivity(pi, "timerEventWithFailedJobRetryTimeCycle");
checkFoxFailedJobConfig(timer);
}
use of org.camunda.bpm.engine.impl.pvm.process.ActivityImpl in project camunda-bpm-platform by camunda.
the class FoxFailedJobParseListenerTest method testUserTaskParseFailedJobRetryTimeCycleInActivitiNamespace.
@Deployment(resources = { "org/camunda/bpm/engine/test/bpmn/parse/CamundaFailedJobParseListenerTest.testUserTask.bpmn20.xml" })
public void testUserTaskParseFailedJobRetryTimeCycleInActivitiNamespace() {
ProcessInstance pi = runtimeService.startProcessInstanceByKey("asyncUserTaskFailedJobRetryTimeCycle");
ActivityImpl userTask = findActivity(pi, "task");
checkFoxFailedJobConfig(userTask);
}
Aggregations