Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
</resultNode>
</testCase>

<testCase id="001a">
<description>Test DS without using invocableName and type (equivalent to test 001)</description>
<resultNode name="decisionService_001">
<expected>
<value xsi:type="xsd:string">foo</value>
</expected>
</resultNode>
</testCase>

<testCase id="002" invocableName="decisionService_002" type="decisionService">
<description>Direct invocation: with an input decision</description>
<!-- we expect the input param value to 'override' the actual impl of 'decision_002_input' -->
Expand Down Expand Up @@ -230,4 +239,33 @@
</resultNode>
</testCase>

<!-- DS with multiple output decisions -->
<testCase id="015" invocableName="decisionService_015" type="decisionService">
<description>Direct invocation: with no params</description>
<resultNode name="decision_015_1">
<expected>
<value xsi:type="xsd:string">15_1</value>
</expected>
</resultNode>
<resultNode name="decision_015_2">
<expected>
<value xsi:type="xsd:string">15_2</value>
</expected>
</resultNode>
</testCase>

<testCase id="015_a">
<description>Direct invocation: with no params</description>
<resultNode name="decisionService_015">
<expected>
<component name="decision_015_1">
<value xsi:type="xsd:string">15_1</value>
</component>
<component name="decision_015_2">
<value xsi:type="xsd:string">15_2</value>
</component>
</expected>
</resultNode>
</testCase>

</testCases>
Original file line number Diff line number Diff line change
Expand Up @@ -593,5 +593,25 @@
<variable name="inputData_014_1" typeRef="string"/>
</inputData>

<!-- DS with multiple output decisions: no params -->
<decisionService name="decisionService_015" id="_decisionService_015">
<variable name="decisionService_015"/>
<outputDecision href="#_decision_015_1"/>
<outputDecision href="#_decision_015_2"/>
</decisionService>

<decision name="decision_015_1" id="_decision_015_1">
<variable name="decision_015_1"/>
<literalExpression>
<text>"15_1"</text>
</literalExpression>
</decision>

<decision name="decision_015_2" id="_decision_015_2">
<variable name="decision_015_2"/>
<literalExpression>
<text>"15_2"</text>
</literalExpression>
</decision>

</definitions>