Author: mriou Date: Fri Jun 15 11:26:18 2007 New Revision: 547759 URL: http://svn.apache.org/viewvc?view=rev&rev=547759 Log: Better test name, this now works thanks to all the previous fixes. High test karma.
Modified: incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BasicActivities20Test.java Modified: incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BasicActivities20Test.java URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BasicActivities20Test.java?view=diff&rev=547759&r1=547758&r2=547759 ============================================================================== --- incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BasicActivities20Test.java (original) +++ incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BasicActivities20Test.java Fri Jun 15 11:26:18 2007 @@ -18,18 +18,14 @@ */ package org.apache.ode.test; +import org.apache.ode.bpel.iapi.ContextException; +import org.apache.ode.bpel.iapi.MessageExchange; + +import javax.xml.namespace.QName; import java.text.DateFormat; import java.text.SimpleDateFormat; -import java.util.Calendar; import java.util.Date; -import javax.xml.namespace.QName; - -import org.apache.log4j.helpers.ISO8601DateFormat; -import org.apache.ode.bpel.iapi.ContextException; -import org.apache.ode.bpel.iapi.MessageExchange; -import org.apache.ode.utils.ISO8601DateParser; - public class BasicActivities20Test extends BPELTestAbstract { public void testHelloWorld2() throws Throwable { go("/bpel/2.0/HelloWorld2"); @@ -78,7 +74,7 @@ deploy("/bpel/2.0/TestWaitUntil"); DateFormat idf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS"); String isountil = idf.format(new Date(System.currentTimeMillis()+5000)); - Invocation inv = addInvoke("Wait1#1", new QName("http://ode/bpel/unit-test.wsdl", "testService"), "testOperation", + Invocation inv = addInvoke("WaitUntil", new QName("http://ode/bpel/unit-test.wsdl", "testService"), "testOperation", "<message><TestPart/><Time>"+isountil+"</Time></message>", null); inv.minimumWaitMs=5*1000L;