From ad06153820b0f9862ef057394c234a91447090b5 Mon Sep 17 00:00:00 2001 From: Simon Harrer Date: Tue, 28 May 2013 16:05:27 +0200 Subject: [PATCH] Adds WCP12 partial support test based on while and async invoke --- .../processes/PatternProcesses.groovy | 11 ++++ ...tSynchronizationPattern-While-Partial.bpel | 64 +++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 src/main/tests/patterns/control-flow/WCP12-MultipleInstancesWithoutSynchronizationPattern-While-Partial.bpel diff --git a/src/main/tests/configuration/processes/PatternProcesses.groovy b/src/main/tests/configuration/processes/PatternProcesses.groovy index 0fde0ace..9e1f55c3 100644 --- a/src/main/tests/configuration/processes/PatternProcesses.groovy +++ b/src/main/tests/configuration/processes/PatternProcesses.groovy @@ -157,6 +157,16 @@ class PatternProcesses { ] ) + public final Process MULTIPLE_INSTANCES_WITHOUT_SYNCHRONIZATION_PATTERN_WHILE_PARTIAL = buildPatternProcessWithPartner( + "WCP12-MultipleInstancesWithoutSynchronizationPattern-While-Partial", + [ + new TestCase(testSteps: [ + new TestStep(input: "1", output: "1", operation: WsdlOperation.SYNC)]), + new TestCase(testSteps: [ + new TestStep(input: "2", output: "2", operation: WsdlOperation.SYNC)]) + ] + ) + public final Process MULTIPLE_INSTANCES_WITH_A_PRIORI_DESGIN_TIME_KNOWLEDGE_PATTERN_PARTIAL = buildPatternProcessWithPartner( "WCP13-MultipleInstancesWithAPrioriDesignTimeKnowledgePattern-Partial", [ @@ -250,6 +260,7 @@ class PatternProcesses { DEFERRED_CHOICE_PATTERN, MULTIPLE_INSTANCES_WITHOUT_SYNCHRONIZATION_PATTERN, MULTIPLE_INSTANCES_WITHOUT_SYNCHRONIZATION_PATTERN_PARTIAL, + MULTIPLE_INSTANCES_WITHOUT_SYNCHRONIZATION_PATTERN_WHILE_PARTIAL, MULTIPLE_INSTANCES_WITH_A_PRIORI_DESGIN_TIME_KNOWLEDGE_PATTERN, MULTIPLE_INSTANCES_WITH_A_PRIORI_DESGIN_TIME_KNOWLEDGE_PATTERN_PARTIAL, MULTIPLE_INSTANCES_WITH_A_PRIORI_RUNTIME_KNOWLEDGE_PATTERN, diff --git a/src/main/tests/patterns/control-flow/WCP12-MultipleInstancesWithoutSynchronizationPattern-While-Partial.bpel b/src/main/tests/patterns/control-flow/WCP12-MultipleInstancesWithoutSynchronizationPattern-While-Partial.bpel new file mode 100644 index 00000000..162fe339 --- /dev/null +++ b/src/main/tests/patterns/control-flow/WCP12-MultipleInstancesWithoutSynchronizationPattern-While-Partial.bpel @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + 100 + + + + 0 + + + + $InitData.inputPart + + + + + $counter > 0 + + + + + $counter - 1 + + + + + + + + + $InitData.inputPart + + + + + +