cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1463972 - /cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/DestinationSequenceTest.java
Date Wed, 03 Apr 2013 12:43:51 GMT
Author: ay
Date: Wed Apr  3 12:43:51 2013
New Revision: 1463972

URL: http://svn.apache.org/r1463972
Log:
fix NPE at ws.rm.DestinationSequenceTest

Modified:
    cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/DestinationSequenceTest.java

Modified: cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/DestinationSequenceTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/DestinationSequenceTest.java?rev=1463972&r1=1463971&r2=1463972&view=diff
==============================================================================
--- cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/DestinationSequenceTest.java (original)
+++ cxf/trunk/rt/ws/rm/src/test/java/org/apache/cxf/ws/rm/DestinationSequenceTest.java Wed
Apr  3 12:43:51 2013
@@ -638,7 +638,7 @@ public class DestinationSequenceTest ext
         DestinationSequence seq = new DestinationSequence(id, ref, destination,
             ProtocolVariation.RM10WSA200408);
         RMEndpoint rme = control.createMock(RMEndpoint.class);
-        EasyMock.expect(destination.getReliableEndpoint()).andReturn(rme);
+        EasyMock.expect(destination.getReliableEndpoint()).andReturn(rme).anyTimes();
         DestinationSequence.SequenceTermination st = seq.new SequenceTermination();
         st.updateInactivityTimeout(30000L);
         long lastAppMessage = System.currentTimeMillis() - 1000L;



Mime
View raw message