You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by jc...@apache.org on 2005/10/14 18:38:11 UTC
svn commit: r321147 -
/jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/handler/TestXmlRpcInvocationHandler.java
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