cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1496631 - /cxf/trunk/rt/transports/http-netty/netty-server/src/test/java/org/apache/cxf/transport/http/netty/server/spring/ApplicationContextTest.java
Date Tue, 25 Jun 2013 20:32:01 GMT
Author: dkulp
Date: Tue Jun 25 20:32:01 2013
New Revision: 1496631

URL: http://svn.apache.org/r1496631
Log:
Fix broken compile

Modified:
    cxf/trunk/rt/transports/http-netty/netty-server/src/test/java/org/apache/cxf/transport/http/netty/server/spring/ApplicationContextTest.java

Modified: cxf/trunk/rt/transports/http-netty/netty-server/src/test/java/org/apache/cxf/transport/http/netty/server/spring/ApplicationContextTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-netty/netty-server/src/test/java/org/apache/cxf/transport/http/netty/server/spring/ApplicationContextTest.java?rev=1496631&r1=1496630&r2=1496631&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http-netty/netty-server/src/test/java/org/apache/cxf/transport/http/netty/server/spring/ApplicationContextTest.java
(original)
+++ cxf/trunk/rt/transports/http-netty/netty-server/src/test/java/org/apache/cxf/transport/http/netty/server/spring/ApplicationContextTest.java
Tue Jun 25 20:32:01 2013
@@ -108,7 +108,7 @@ public class ApplicationContextTest exte
         
         DestinationFactoryManager dfm = bus.getExtension(DestinationFactoryManager.class);
         DestinationFactory factory = dfm.getDestinationFactory("http://cxf.apache.org/transports/http");
-        Destination d = factory.getDestination(info);
+        Destination d = factory.getDestination(info, bus);
         assertTrue(d instanceof NettyHttpDestination);
         NettyHttpDestination jd = (NettyHttpDestination) d;        
         assertEquals("foobar", jd.getServer().getContentEncoding());   
@@ -119,16 +119,16 @@ public class ApplicationContextTest exte
         
         ConduitInitiatorManager cim = bus.getExtension(ConduitInitiatorManager.class);
         ConduitInitiator ci = cim.getConduitInitiator("http://cxf.apache.org/transports/http");
-        HTTPConduit conduit = (HTTPConduit) ci.getConduit(info);
+        HTTPConduit conduit = (HTTPConduit) ci.getConduit(info, bus);
         assertEquals(97, conduit.getClient().getConnectionTimeout());
         
         info.setName(new QName("urn:test:ns", "Bar"));
-        conduit = (HTTPConduit) ci.getConduit(info);
+        conduit = (HTTPConduit) ci.getConduit(info, bus);
         assertEquals(79, conduit.getClient().getConnectionTimeout());
 
         NettyHttpDestination jd2 = 
             (NettyHttpDestination)factory.getDestination(
-                getEndpointInfo("foo", "bar", "http://localhost:9001"));
+                getEndpointInfo("foo", "bar", "http://localhost:9001"), bus);
         
         engine = (NettyHttpServerEngine)jd2.getEngine();
         //assertEquals(40000, engine.getMaxIdleTime());
@@ -136,7 +136,7 @@ public class ApplicationContextTest exte
         
         NettyHttpDestination jd3 = 
             (NettyHttpDestination)factory.getDestination(
-                getEndpointInfo("sna", "foo", "https://localhost:9002"));
+                getEndpointInfo("sna", "foo", "https://localhost:9002"), bus);
         
         engine = (NettyHttpServerEngine)jd3.getEngine();
         assertEquals(engine.getTlsServerParameters().getClientAuthentication().isWant(),
true);
@@ -144,7 +144,7 @@ public class ApplicationContextTest exte
         
         NettyHttpDestination jd4 = 
             (NettyHttpDestination)factory.getDestination(
-                getEndpointInfo("sna", "foo2", "https://localhost:9003"));
+                getEndpointInfo("sna", "foo2", "https://localhost:9003"), bus);
         
         engine = (NettyHttpServerEngine)jd4.getEngine();
         assertEquals(engine.getTlsServerParameters().getClientAuthentication().isWant(),
false);



Mime
View raw message