commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r321147 - /jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/handler/TestXmlRpcInvocationHandler.java
Date Fri, 14 Oct 2005 16:38:11 GMT
Author: jcarman
Date: Fri Oct 14 09:38:09 2005
New Revision: 321147

URL: http://svn.apache.org/viewcvs?rev=321147&view=rev
Log:
Speeding up unit test execution by using a one-time setup/teardown of the webserver.

Modified:
    jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/handler/TestXmlRpcInvocationHandler.java

Modified: jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/handler/TestXmlRpcInvocationHandler.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/handler/TestXmlRpcInvocationHandler.java?rev=321147&r1=321146&r2=321147&view=diff
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/handler/TestXmlRpcInvocationHandler.java
(original)
+++ jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/handler/TestXmlRpcInvocationHandler.java
Fri Oct 14 09:38:09 2005
@@ -28,6 +28,7 @@
 import org.apache.commons.proxy.util.EchoImpl;
 import org.apache.xmlrpc.WebServer;
 import org.apache.xmlrpc.XmlRpcClient;
+import org.apache.xmlrpc.XmlRpcClientLite;
 
 /**
  * @author James Carman
@@ -66,7 +67,7 @@
                 server = new WebServer( 9999 );
                 server.addHandler( "echo", new EchoImpl() );
                 server.start();
-                client = new XmlRpcClient( "http://localhost:9999/RPC2" );
+                client = new XmlRpcClientLite( "http://localhost:9999/RPC2" );
             }
 
             protected void tearDown() throws Exception



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message