cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhar...@apache.org
Subject svn commit: r640394 - /incubator/cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/policy/PolicyUtilsTest.java
Date Mon, 24 Mar 2008 12:11:02 GMT
Author: bharath
Date: Mon Mar 24 05:11:01 2008
New Revision: 640394

URL: http://svn.apache.org/viewvc?rev=640394&view=rev
Log:
Changes to test after fixing [JIRA  CXF-1487]
http://www.nabble.com/WS-RM-BaseRetransmissionInterval-td13383409.html#a133834
While merging RM policy assertions no min/max logic has to be applied.

Modified:
    incubator/cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/policy/PolicyUtilsTest.java

Modified: incubator/cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/policy/PolicyUtilsTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/policy/PolicyUtilsTest.java?rev=640394&r1=640393&r2=640394&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/policy/PolicyUtilsTest.java
(original)
+++ incubator/cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/policy/PolicyUtilsTest.java
Mon Mar 24 05:11:01 2008
@@ -100,7 +100,7 @@
         
         c = PolicyUtils.intersect(a, b);
         assertEquals(7200000L, c.getInactivityTimeout().getMilliseconds().longValue());
-        assertEquals(10000L, c.getBaseRetransmissionInterval().getMilliseconds().longValue());
+        assertEquals(20000L, c.getBaseRetransmissionInterval().getMilliseconds().longValue());
         assertNull(c.getAcknowledgementInterval());
         assertNull(c.getExponentialBackoff());
        
@@ -110,14 +110,14 @@
         
         c = PolicyUtils.intersect(a, b);
         assertEquals(7200000L, c.getInactivityTimeout().getMilliseconds().longValue());
-        assertEquals(10000L, c.getBaseRetransmissionInterval().getMilliseconds().longValue());
+        assertEquals(20000L, c.getBaseRetransmissionInterval().getMilliseconds().longValue());
         assertEquals(2000L, c.getAcknowledgementInterval().getMilliseconds().longValue());
         assertNull(c.getExponentialBackoff());
         
         b.setExponentialBackoff(new RMAssertion.ExponentialBackoff());
         c = PolicyUtils.intersect(a, b);
         assertEquals(7200000L, c.getInactivityTimeout().getMilliseconds().longValue());
-        assertEquals(10000L, c.getBaseRetransmissionInterval().getMilliseconds().longValue());
+        assertEquals(20000L, c.getBaseRetransmissionInterval().getMilliseconds().longValue());
         assertEquals(2000L, c.getAcknowledgementInterval().getMilliseconds().longValue());
         assertNotNull(c.getExponentialBackoff());    
     }



Mime
View raw message