You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by lw...@apache.org on 2006/09/20 01:20:02 UTC

svn commit: r448012 - in /incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity: TestActivityFlow.bpel test.properties

Author: lwaterman
Date: Tue Sep 19 16:20:01 2006
New Revision: 448012

URL: http://svn.apache.org/viewvc?view=rev&rev=448012
Log:
Fix xpath syntax error

Modified:
    incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity/TestActivityFlow.bpel
    incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity/test.properties

Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity/TestActivityFlow.bpel
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity/TestActivityFlow.bpel?view=diff&rev=448012&r1=448011&r2=448012
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity/TestActivityFlow.bpel (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity/TestActivityFlow.bpel Tue Sep 19 16:20:01 2006
@@ -60,7 +60,7 @@
 				</sources>
 				<assign name="assign1">
 					<copy>
-						<from>$request.requestMessageData/testMessage/requestID</from>
+						<from>$request.requestMessageData/requestID</from>
 						<to variable="probeInput" part="probeName"/>
 					</copy>
 					<copy>
@@ -110,7 +110,7 @@
 				</targets>
 				<sources>
 					<source linkName="probe2-to-probe3">
-						<transitionCondition>$request.requestMessageData/testMessage/flowIndicators/indicatorTwo =
+						<transitionCondition>$request.requestMessageData/flowIndicators/indicatorTwo =
 							'yes'</transitionCondition>
 					</source>
 				</sources>
@@ -190,7 +190,7 @@
 				</sequence>
 			</then>
 			<elseif>
-				<condition>$request.requestMessageData/testMessage/loopIndicator = 'max'</condition>
+				<condition>$request.requestMessageData/loopIndicator = 'max'</condition>
 				<sequence>
 					<assign name="flow1-max-assign">
 						<copy>

Modified: incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity/test.properties
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity/test.properties?view=diff&rev=448012&r1=448011&r2=448012
==============================================================================
--- incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity/test.properties (original)
+++ incubator/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity/test.properties Tue Sep 19 16:20:01 2006
@@ -1,6 +1,15 @@
 namespace=http://ode/bpel/unit-test/testFlowActivity.wsdl
 service=TestFlowActivityService
 operation=request
-request=<message><requestMessageData><testMessage><requestID>Start Test1.1</requestID><requestText>Event Start Test1.1</requestText><flowIndicators><indicatorOne>yes</indicatorOne><indicatorTwo>yes</indicatorTwo></flowIndicators><loopIndicator>min</loopIndicator></testMessage></requestMessageData></message>
-response=.*Event Start Test1.1 -&gt; root process splits into A and B -&gt; process B completes -&gt; process A completes -&gt; processes A and B merge on process C -&gt; merge into root process -&gt; test switch statement -&gt; case min: set loop iterations = 5 -&gt; test loop iterations -&gt; 2 -&gt; 3 -&gt; 4 -&gt; 5 -&gt; 6 -&gt; test1Process complete.*
-
+request1=<message><requestMessageData><testMessage><requestID>Start Test1.1</requestID><requestText>Event Start Test1.1</requestText><flowIndicators><indicatorOne>yes</indicatorOne><indicatorTwo>yes</indicatorTwo></flowIndicators><loopIndicator>min</loopIndicator></testMessage></requestMessageData></message>
+response1=.*processes A and B merge on process C -&gt; merge into root process -&gt; test switch statement -&gt; case min: set loop iterations = 5 -&gt; test loop iterations -&gt; 2 -&gt; 3 -&gt; 4 -&gt; 5 -&gt; 6 -&gt; test1Process complete.*
+request2=<message><requestMessageData><testMessage><requestID>Start Test1.2</requestID><requestText>Event Start Test1.2</requestText><flowIndicators><indicatorOne>yes</indicatorOne><indicatorTwo>no</indicatorTwo></flowIndicators><loopIndicator>min</loopIndicator></testMessage></requestMessageData></message>
+response2=.*merge into root process -&gt; test switch statement -&gt; case min: set loop iterations = 5 -&gt; test loop iterations -&gt; 2 -&gt; 3 -&gt; 4 -&gt; 5 -&gt; 6 -&gt; test1Process complete.*
+request3=<message><requestMessageData><testMessage><requestID>Start Test1.3</requestID><requestText>Event Start Test1.3</requestText><flowIndicators><indicatorOne>no</indicatorOne><indicatorTwo>yes</indicatorTwo></flowIndicators><loopIndicator>min</loopIndicator></testMessage></requestMessageData></message>
+response3=.*merge into root process -&gt; test switch statement -&gt; case min: set loop iterations = 5 -&gt; test loop iterations -&gt; 2 -&gt; 3 -&gt; 4 -&gt; 5 -&gt; 6 -&gt; test1Process complete.*
+request4=<message><requestMessageData><testMessage><requestID>Start Test1.4</requestID><requestText>Event Start Test1.4</requestText><flowIndicators><indicatorOne>no</indicatorOne><indicatorTwo>no</indicatorTwo></flowIndicators><loopIndicator>min</loopIndicator></testMessage></requestMessageData></message>
+response4=.*merge into root process -&gt; test switch statement -&gt; case min: set loop iterations = 5 -&gt; test loop iterations -&gt; 2 -&gt; 3 -&gt; 4 -&gt; 5 -&gt; 6 -&gt; test1Process complete.*
+request5=<message><requestMessageData><testMessage><requestID>Start Test1.5</requestID><requestText>Event Start Test1.5</requestText><flowIndicators><indicatorOne>yes</indicatorOne><indicatorTwo>yes</indicatorTwo></flowIndicators><loopIndicator>max</loopIndicator></testMessage></requestMessageData></message>
+response5=.*processes A and B merge on process C -&gt; merge into root process -&gt; test switch statement -&gt; case max: set loop iterations = 10 -&gt; test loop iterations -&gt; 2 -&gt; 3 -&gt; 4 -&gt; 5 -&gt; 6 -&gt; 7 -&gt; 8 -&gt; 9 -&gt; 10 -&gt; 11 -&gt; test1Process complete.*
+request6=<message><requestMessageData><testMessage><requestID>Start Test1.6</requestID><requestText>Event Start Test1.6</requestText><flowIndicators><indicatorOne>yes</indicatorOne><indicatorTwo>yes</indicatorTwo></flowIndicators><loopIndicator>default</loopIndicator></testMessage></requestMessageData></message>
+response6=.*processes A and B merge on process C -&gt; merge into root process -&gt; test switch statement -&gt; otherwise: set loop iterations = 0 -&gt; test loop iterations -&gt; test1Process complete.*