forked from camunda/camunda-bpm-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(engine): fix tests forexception handling between two activities
-change the tests and process defnitions slightly because the second activity was not a scope, which was necessary for the test -rename the .bpmn files to include the word "scope" Related to CAM-4001
- Loading branch information
Ronny Bräunlich
committed
Jun 9, 2015
1 parent
449a251
commit a408f5a
Showing
11 changed files
with
230 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
...src/test/java/org/camunda/bpm/engine/test/bpmn/servicetask/ThrowExceptionServiceTask.java
This file was deleted.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
...r/BoundaryErrorEventTest.testCatchExceptionExpressionThrownByFollowUpScopeTask.bpmn20.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<definitions id="definitions" | ||
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" | ||
xmlns:camunda="http://activiti.org/bpmn" | ||
targetNamespace="Examples"> | ||
|
||
<error id="myError" errorCode="MyError" /> | ||
<error id="myException" errorCode="org.camunda.bpm.engine.test.bpmn.event.error.MyBusinessException" /> | ||
|
||
<process id="testProcess" isExecutable="true"> | ||
|
||
<startEvent id="start" /> | ||
|
||
<sequenceFlow id="flow1" sourceRef="start" targetRef="serviceTask" /> | ||
|
||
<serviceTask id="serviceTask" camunda:expression="${true}" /> | ||
|
||
<boundaryEvent id="catchException" attachedToRef="serviceTask"> | ||
<errorEventDefinition errorRef="myException"/> | ||
</boundaryEvent> | ||
|
||
<sequenceFlow id="flow2" sourceRef="serviceTask" targetRef="serviceTask2" /> | ||
|
||
<serviceTask id="serviceTask2" camunda:class="org.camunda.bpm.engine.test.bpmn.event.error.ThrowErrorDelegate" /> | ||
|
||
<sequenceFlow id="flow7" sourceRef="serviceTask2" targetRef="end" /> | ||
<boundaryEvent id="BoundaryEvent_1" name="" attachedToRef="serviceTask2" cancelActivity="false"> | ||
<timerEventDefinition id="_TimerEventDefinition_3"> | ||
<timeDuration>P1D</timeDuration> | ||
</timerEventDefinition> | ||
</boundaryEvent> | ||
|
||
<endEvent id="end" /> | ||
|
||
<sequenceFlow id="flow5" sourceRef="catchException" targetRef="userTaskException" /> | ||
|
||
<userTask id="userTaskException" name="Exception Task" /> | ||
|
||
<sequenceFlow id="flow6" sourceRef="userTaskException" targetRef="endException" /> | ||
|
||
<endEvent id="endException" /> | ||
|
||
</process> | ||
|
||
</definitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.