cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsosno...@apache.org
Subject svn commit: r1137470 - /cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
Date Sun, 19 Jun 2011 23:53:13 GMT
Author: dsosnoski
Date: Sun Jun 19 23:53:13 2011
New Revision: 1137470

URL: http://svn.apache.org/viewvc?rev=1137470&view=rev
Log:
Restore some of the tests left out for RM restructuring.

Modified:
    cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java

Modified: cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java?rev=1137470&r1=1137469&r2=1137470&view=diff
==============================================================================
--- cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
(original)
+++ cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/rm/SequenceTest.java
Sun Jun 19 23:53:13 2011
@@ -617,7 +617,7 @@ public class SequenceTest extends Abstra
         RMManager manager = greeterBus.getExtension(RMManager.class);
         assertEquals("Unexpected maximum sequence length.", 10, 
             manager.getSourcePolicy().getSequenceTerminationPolicy().getMaxLength());
-        manager.getSourcePolicy().getSequenceTerminationPolicy().setMaxLength(new Long(2));
+        manager.getSourcePolicy().getSequenceTerminationPolicy().setMaxLength(2);
         
         greeter.greetMe("one");
         greeter.greetMe("two");
@@ -774,9 +774,9 @@ public class SequenceTest extends Abstra
         }   
         
         // the third inbound message has a SequenceFault header
-/*        MessageFlow mf = new MessageFlow(outRecorder.getOutboundMessages(),
+        MessageFlow mf = new MessageFlow(outRecorder.getOutboundMessages(),
             inRecorder.getInboundMessages(), Names200408.WSA_NAMESPACE_NAME, RM10Constants.NAMESPACE_URI);
-        mf.verifySequenceFault(RM10Constants.UNKNOWN_SEQUENCE_FAULT_QNAME, false, 1);   */
+        mf.verifySequenceFault(RM10Constants.UNKNOWN_SEQUENCE_FAULT_QNAME, false, 1);
     }
     
     @Test
@@ -835,9 +835,7 @@ public class SequenceTest extends Abstra
         mf.verifyAcknowledgements(new boolean[] {false, true, false} , false);
         
         // the third inbound message has a SequenceFault header
-        
-//        mf.verifySequenceFault(RM10Constants.UNKNOWN_SEQUENCE_FAULT_QNAME, false, 2);
-     
+        mf.verifySequenceFault(RM10Constants.UNKNOWN_SEQUENCE_FAULT_QNAME, false, 2);
     }
 
     @Test    
@@ -1108,7 +1106,7 @@ public class SequenceTest extends Abstra
         }        
     }
     
-/*    @Test
+    @Test
     public void testMultiClientTwoway() throws Exception {
         SpringBusFactory bf = new SpringBusFactory();
         String cfgResource = "org/apache/cxf/systest/ws/rm/rminterceptors.xml";         
  
@@ -1207,7 +1205,7 @@ public class SequenceTest extends Abstra
             }
             greeter = null;
         }        
-    }   */
+    }
     
     @Test
     public void testServerSideMessageLoss() throws Exception {



Mime
View raw message