Author: chamikara
Date: Wed Mar  8 22:32:02 2006
New Revision: 384449

URL: http://svn.apache.org/viewcvs?rev=384449&view=rev
Log:
Updates to test cases due to the last refactoring

Modified:
    
webservices/sandesha/trunk/test/src/org/apache/sandesha2/AddressablePingTest.java
    
webservices/sandesha/trunk/test/src/org/apache/sandesha2/AnonymousPingTest.java

Modified: 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/AddressablePingTest.java
URL: 
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/test/src/org/apache/sandesha2/AddressablePingTest.java?rev=384449&r1=384448&r2=384449&view=diff
==============================================================================
--- 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/AddressablePingTest.java
 (original)
+++ 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/AddressablePingTest.java
 Wed Mar  8 22:32:02 2006
@@ -35,7 +35,7 @@
 import org.apache.ws.commons.soap.SOAP11Constants;
 import org.apache.axis2.transport.http.SimpleHTTPServer;
 import org.apache.sandesha2.client.Sandesha2ClientAPI;
-import org.apache.sandesha2.client.SequenceReport;
+import org.apache.sandesha2.client.reports.SequenceReport;
 
 import junit.framework.TestCase;
 
@@ -121,7 +121,7 @@
                assertTrue(sequenceReport.getCompletedMessages().contains(new 
Long(1)));
                assertTrue(sequenceReport.getCompletedMessages().contains(new 
Long(2)));
                assertTrue(sequenceReport.getCompletedMessages().contains(new 
Long(3)));
-               
assertEquals(sequenceReport.getSequenceStatus(),SequenceReport.SEQUENCE_STATUS_COMPLETED);
+               
assertEquals(sequenceReport.getSequenceStatus(),SequenceReport.SEQUENCE_STATUS_TERMINATED);
                
assertEquals(sequenceReport.getSequenceDirection(),SequenceReport.SEQUENCE_DIRECTION_OUT);
                
                serviceClient.finalizeInvoke();

Modified: 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/AnonymousPingTest.java
URL: 
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/test/src/org/apache/sandesha2/AnonymousPingTest.java?rev=384449&r1=384448&r2=384449&view=diff
==============================================================================
--- 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/AnonymousPingTest.java 
(original)
+++ 
webservices/sandesha/trunk/test/src/org/apache/sandesha2/AnonymousPingTest.java 
Wed Mar  8 22:32:02 2006
@@ -35,7 +35,7 @@
 import org.apache.ws.commons.soap.SOAP11Constants;
 import org.apache.axis2.transport.http.SimpleHTTPServer;
 import org.apache.sandesha2.client.Sandesha2ClientAPI;
-import org.apache.sandesha2.client.SequenceReport;
+import org.apache.sandesha2.client.reports.SequenceReport;
 
 import junit.framework.TestCase;
 
@@ -115,7 +115,7 @@
                assertTrue(sequenceReport.getCompletedMessages().contains(new 
Long(1)));
                assertTrue(sequenceReport.getCompletedMessages().contains(new 
Long(2)));
                assertTrue(sequenceReport.getCompletedMessages().contains(new 
Long(3)));
-               
assertEquals(sequenceReport.getSequenceStatus(),SequenceReport.SEQUENCE_STATUS_COMPLETED);
+               
assertEquals(sequenceReport.getSequenceStatus(),SequenceReport.SEQUENCE_STATUS_TERMINATED);
                
assertEquals(sequenceReport.getSequenceDirection(),SequenceReport.SEQUENCE_DIRECTION_OUT);
                
                serviceClient.finalizeInvoke();



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to