cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1311981 - /cxf/trunk/rt/frontend/jaxws/src/test/jaxws22/org/apache/cxf/transport/http_jaxws_spi/JAXWSHttpSpiDestinationTest.java
Date Tue, 10 Apr 2012 20:49:17 GMT
Author: dkulp
Date: Tue Apr 10 20:49:17 2012
New Revision: 1311981

URL: http://svn.apache.org/viewvc?rev=1311981&view=rev
Log:
Fix failing test with jaxws22

Modified:
    cxf/trunk/rt/frontend/jaxws/src/test/jaxws22/org/apache/cxf/transport/http_jaxws_spi/JAXWSHttpSpiDestinationTest.java

Modified: cxf/trunk/rt/frontend/jaxws/src/test/jaxws22/org/apache/cxf/transport/http_jaxws_spi/JAXWSHttpSpiDestinationTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/test/jaxws22/org/apache/cxf/transport/http_jaxws_spi/JAXWSHttpSpiDestinationTest.java?rev=1311981&r1=1311980&r2=1311981&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/test/jaxws22/org/apache/cxf/transport/http_jaxws_spi/JAXWSHttpSpiDestinationTest.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/test/jaxws22/org/apache/cxf/transport/http_jaxws_spi/JAXWSHttpSpiDestinationTest.java
Tue Apr 10 20:49:17 2012
@@ -57,6 +57,8 @@ public class JAXWSHttpSpiDestinationTest
     public void setUp() {
         control = EasyMock.createNiceControl();
         bus = control.createMock(Bus.class);
+        bus.getExtension(org.apache.cxf.policy.PolicyDataEngine.class);
+        EasyMock.expectLastCall().andReturn(null).anyTimes();
         observer = control.createMock(MessageObserver.class);
         context = control.createMock(HttpContext.class);
         endpoint = new EndpointInfo();
@@ -72,6 +74,7 @@ public class JAXWSHttpSpiDestinationTest
     
     @Test
     public void testCtor() throws Exception {
+        control.replay();
         JAXWSHttpSpiDestination destination = 
             new JAXWSHttpSpiDestination(bus, new DestinationRegistryImpl(), endpoint);
 



Mime
View raw message