You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ha...@apache.org on 2002/08/26 09:55:15 UTC
cvs commit: jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/socket CallbackEnabledCustomStreamTestCase.java CustomStreamJNDITestCase.java CustomStreamTestCase.java JSXObjectStreamTestCase.java ObjectStreamTestCase.java
hammant 2002/08/26 00:55:13
Modified: altrmi/src/test/org/apache/excalibur/altrmi/test
AbstractHelloTestCase.java TestClient.java
TestInterface.java TestInterfaceImpl.java
altrmi/src/test/org/apache/excalibur/altrmi/test/direct
DirectMarshalledTestCase.java DirectTestCase.java
altrmi/src/test/org/apache/excalibur/altrmi/test/piped
PipedCustomStreamTestCase.java
PipedObjectStreamTestCase.java
altrmi/src/test/org/apache/excalibur/altrmi/test/proxies
CodedProxyTestCase.java
CodedProxyTestInterfaceProxy.java
DynamicProxyTestCase.java NonProxyTestCase.java
altrmi/src/test/org/apache/excalibur/altrmi/test/rmi
RmiTestCase.java
altrmi/src/test/org/apache/excalibur/altrmi/test/socket
CallbackEnabledCustomStreamTestCase.java
CustomStreamJNDITestCase.java
CustomStreamTestCase.java
JSXObjectStreamTestCase.java
ObjectStreamTestCase.java
Removed: altrmi/src/test/org/apache/excalibur/altrmi/test
AbstractClientTest.java AbstractServerTest.java
SimpleHelloTestServerImpl.java
SocketClientTestJNDI.java
Log:
More removals of pre Junit tests + rename of test class
Revision Changes Path
1.4 +6 -6 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/AbstractHelloTestCase.java
Index: AbstractHelloTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/AbstractHelloTestCase.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- AbstractHelloTestCase.java 25 Aug 2002 20:52:14 -0000 1.3
+++ AbstractHelloTestCase.java 26 Aug 2002 07:55:12 -0000 1.4
@@ -22,7 +22,7 @@
{
protected AbstractServer server;
- protected SimpleHelloTestServerImpl testServer;
+ protected TestInterfaceImpl testServer;
protected TestInterface testClient;
public AbstractHelloTestCase(String name)
@@ -39,7 +39,7 @@
testClient.hello("Hello!?");
// test the server has logged the message.
- assertEquals("Hello!?", ((SimpleHelloTestServerImpl) testServer).getStoredState("void:hello(String)"));
+ assertEquals("Hello!?", ((TestInterfaceImpl) testServer).getStoredState("void:hello(String)"));
}
public void testHello2Call() throws Exception
@@ -54,7 +54,7 @@
assertEquals(11, retVal);
// test the server has logged the message.
- assertEquals("11", ((SimpleHelloTestServerImpl) testServer).getStoredState("int:hello2(int)"));
+ assertEquals("11", ((TestInterfaceImpl) testServer).getStoredState("int:hello2(int)"));
}
public void testHello3CallPart1() throws Exception
@@ -69,7 +69,7 @@
assertTrue(retVal);
// test the server has logged the message.
- assertEquals("22", ((SimpleHelloTestServerImpl) testServer).getStoredState("boolean:hello3(short)"));
+ assertEquals("22", ((TestInterfaceImpl) testServer).getStoredState("boolean:hello3(short)"));
}
@@ -92,7 +92,7 @@
}
// test the server has logged the message.
- assertEquals("90", ((SimpleHelloTestServerImpl) testServer).getStoredState("boolean:hello3(short)"));
+ assertEquals("90", ((TestInterfaceImpl) testServer).getStoredState("boolean:hello3(short)"));
}
public void testHello3CallPart3() throws Exception
@@ -114,7 +114,7 @@
}
// test the server has logged the message.
- assertEquals("91", ((SimpleHelloTestServerImpl) testServer).getStoredState("boolean:hello3(short)"));
+ assertEquals("91", ((TestInterfaceImpl) testServer).getStoredState("boolean:hello3(short)"));
}
public void testSpeed() throws Exception
1.6 +1 -15 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/TestClient.java
Index: TestClient.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/TestClient.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- TestClient.java 24 Apr 2002 12:43:03 -0000 1.5
+++ TestClient.java 26 Aug 2002 07:55:12 -0000 1.6
@@ -147,19 +147,5 @@
System.out.println( "CLT: Number of simple calls in 10 seconds = " + ct );
- String rv = ti.testSpeed2( "toIgnoreForTiming" );
-
- start = System.currentTimeMillis();
- projectedEnd = start + ( 10 * 1000 );
- ct = 0;
-
- while( System.currentTimeMillis() < projectedEnd )
- {
- ct++;
-
- rv = ti.testSpeed2( "qwerty" );
- }
-
- System.out.println( "CLT: Number of complex calls in 10 seconds = " + ct );
}
}
1.3 +1 -11 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/TestInterface.java
Index: TestInterface.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/TestInterface.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- TestInterface.java 24 Apr 2002 12:43:03 -0000 1.2
+++ TestInterface.java 26 Aug 2002 07:55:12 -0000 1.3
@@ -71,16 +71,6 @@
*/
void testSpeed();
- /**
- * Method testSpeed2
- *
- *
- * @param string
- *
- * @return
- *
- */
- String testSpeed2( String string );
/**
* Method makeTestInterface2
1.4 +22 -86 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/TestInterfaceImpl.java
Index: TestInterfaceImpl.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/TestInterfaceImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TestInterfaceImpl.java 24 Apr 2002 12:43:03 -0000 1.3
+++ TestInterfaceImpl.java 26 Aug 2002 07:55:12 -0000 1.4
@@ -11,6 +11,7 @@
import java.io.IOException;
import java.util.Date;
import java.util.Vector;
+import java.util.HashMap;
/**
* Class TestInterfaceImpl
@@ -26,103 +27,38 @@
TestObject[] mTestObjects;
private int testInterface2Counter = 0;
- /**
- * Method hello
- *
- *
- * @param greeting
- *
- */
- public void hello( String greeting )
- {
- System.out.println( "SVR: Greeting (string) : " + greeting );
- }
+ HashMap storedState = new HashMap();
- /**
- * Method hello2
- *
- *
- * @param greeting
- *
- */
- public int hello2( int greeting )
- {
+ public Object getStoredState(String key) {
+ return storedState.get(key);
+ }
- System.out.println( "SVR: Greeting2 (int) : " + greeting );
+ public void hello(String greeting) {
+ storedState.put("void:hello(String)", greeting);
+ }
+ public int hello2(int greeting) {
+ storedState.put("int:hello2(int)", "" + greeting);
return greeting;
}
- /**
- * Method hello3
- *
- *
- * @param greeting
- *
- * @return
- *
- * @throws IOException
- * @throws PropertyVetoException
- *
- */
- public boolean hello3( short greeting ) throws PropertyVetoException, IOException
- {
-
- String str = new Double( Math.random() ).toString();
-
- if( str.startsWith( "0.1" ) | str.startsWith( "0.2" ) | str.startsWith( "0.3" )
- | str.startsWith( "0.4" ) )
- {
- throw new IOException( "Whoa - forced test of exception passing." );
+ public boolean hello3(short greeting) throws PropertyVetoException, IOException {
+ storedState.put("boolean:hello3(short)", "" + greeting);
+ switch(greeting) {
+ case 90:
+ throw new PropertyVetoException("Forced Exception Test", null);
+ case 91:
+ throw new IOException("Forced Exception");
}
-
- System.out.println( "SVR: Greeting3 (short) : " + greeting );
-
return true;
}
- /**
- * Method hello4
- *
- *
- * @param greeting1
- * @param greeting2
- *
- * @return
- *
- */
- public StringBuffer hello4( float greeting1, double greeting2 )
- {
-
- StringBuffer sb = new StringBuffer( "Greeting4 (float, double) : " );
-
- sb.append( greeting1 ).append( " " ).append( greeting2 );
- System.out.println( "SVR: " + sb.toString() );
-
- return sb;
- }
-
- /**
- * Method testSpeed
- *
- *
- */
- public void testSpeed()
- {
+ public StringBuffer hello4(float greeting1, double greeting2) {
+ throw new UnsupportedOperationException();
}
- /**
- * Method testSpeed2
- *
- *
- * @param string
- *
- * @return
- *
- */
- public String testSpeed2( String string )
- {
- return "abc123";
+ public void testSpeed() {
+ // do nothing
}
/**
1.2 +2 -2 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/direct/DirectMarshalledTestCase.java
Index: DirectMarshalledTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/direct/DirectMarshalledTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DirectMarshalledTestCase.java 18 Aug 2002 12:04:49 -0000 1.1
+++ DirectMarshalledTestCase.java 26 Aug 2002 07:55:13 -0000 1.2
@@ -14,7 +14,7 @@
import org.apache.excalibur.altrmi.server.impl.direct.DirectMarshalledServer;
import org.apache.excalibur.altrmi.test.TestInterface;
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
/**
@@ -35,7 +35,7 @@
// server side setup.
server = new DirectMarshalledServer();
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
server.publish(testServer, "Hello", TestInterface.class);
server.start();
1.2 +2 -2 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/direct/DirectTestCase.java
Index: DirectTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/direct/DirectTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DirectTestCase.java 18 Aug 2002 12:04:49 -0000 1.1
+++ DirectTestCase.java 26 Aug 2002 07:55:13 -0000 1.2
@@ -14,7 +14,7 @@
import org.apache.excalibur.altrmi.server.impl.direct.DirectServer;
import org.apache.excalibur.altrmi.test.TestInterface;
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
/**
@@ -35,7 +35,7 @@
// server side setup.
server = new DirectServer();
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
server.publish(testServer, "Hello", TestInterface.class);
server.start();
1.2 +2 -2 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/piped/PipedCustomStreamTestCase.java
Index: PipedCustomStreamTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/piped/PipedCustomStreamTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PipedCustomStreamTestCase.java 24 Aug 2002 10:05:53 -0000 1.1
+++ PipedCustomStreamTestCase.java 26 Aug 2002 07:55:13 -0000 1.2
@@ -14,7 +14,7 @@
import org.apache.excalibur.altrmi.server.impl.piped.PipedCustomStreamServer;
import org.apache.excalibur.altrmi.test.TestInterface;
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
@@ -38,7 +38,7 @@
// server side setup.
server = new PipedCustomStreamServer();
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
server.publish(testServer, "Hello", TestInterface.class);
server.start();
1.2 +2 -2 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/piped/PipedObjectStreamTestCase.java
Index: PipedObjectStreamTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/piped/PipedObjectStreamTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PipedObjectStreamTestCase.java 24 Aug 2002 10:05:53 -0000 1.1
+++ PipedObjectStreamTestCase.java 26 Aug 2002 07:55:13 -0000 1.2
@@ -14,7 +14,7 @@
import org.apache.excalibur.altrmi.server.impl.piped.PipedObjectStreamServer;
import org.apache.excalibur.altrmi.test.TestInterface;
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
@@ -38,7 +38,7 @@
// server side setup.
server = new PipedObjectStreamServer();
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
server.publish(testServer, "Hello", TestInterface.class);
server.start();
1.2 +2 -2 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/proxies/CodedProxyTestCase.java
Index: CodedProxyTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/proxies/CodedProxyTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CodedProxyTestCase.java 18 Aug 2002 13:14:09 -0000 1.1
+++ CodedProxyTestCase.java 26 Aug 2002 07:55:13 -0000 1.2
@@ -8,7 +8,7 @@
package org.apache.excalibur.altrmi.test.proxies;
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
/**
* Test Hand Coded Proxy for comparison sake
@@ -27,7 +27,7 @@
{
super.setUp();
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
testClient = new CodedProxyTestInterfaceProxy( testServer );
}
1.3 +1 -15 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/proxies/CodedProxyTestInterfaceProxy.java
Index: CodedProxyTestInterfaceProxy.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/proxies/CodedProxyTestInterfaceProxy.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CodedProxyTestInterfaceProxy.java 24 Apr 2002 12:43:04 -0000 1.2
+++ CodedProxyTestInterfaceProxy.java 26 Aug 2002 07:55:13 -0000 1.3
@@ -104,20 +104,6 @@
}
/**
- * Method testSpeed2
- *
- *
- * @param string
- *
- * @return
- *
- */
- public String testSpeed2( String string )
- {
- return mActualImpl.testSpeed2( string );
- }
-
- /**
* Method makeTestInterface2
*
*
1.2 +2 -2 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/proxies/DynamicProxyTestCase.java
Index: DynamicProxyTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/proxies/DynamicProxyTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DynamicProxyTestCase.java 18 Aug 2002 13:14:09 -0000 1.1
+++ DynamicProxyTestCase.java 26 Aug 2002 07:55:13 -0000 1.2
@@ -9,7 +9,7 @@
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
import org.apache.excalibur.altrmi.test.TestInterface;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
/**
* Test Dynamic Proxy (reflection) for comparison sake
@@ -27,7 +27,7 @@
{
super.setUp();
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
testClient = (TestInterface) DynamicProxy.newInstance( testServer, new Class[]{TestInterface.class} );
}
1.2 +2 -2 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/proxies/NonProxyTestCase.java
Index: NonProxyTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/proxies/NonProxyTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- NonProxyTestCase.java 18 Aug 2002 13:14:09 -0000 1.1
+++ NonProxyTestCase.java 26 Aug 2002 07:55:13 -0000 1.2
@@ -8,7 +8,7 @@
package org.apache.excalibur.altrmi.test.proxies;
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
/**
* Test Non Proxy for comparison sake
@@ -26,7 +26,7 @@
{
super.setUp();
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
testClient = testServer;
}
1.3 +3 -3 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/rmi/RmiTestCase.java
Index: RmiTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/rmi/RmiTestCase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RmiTestCase.java 24 Aug 2002 10:05:23 -0000 1.2
+++ RmiTestCase.java 26 Aug 2002 07:55:13 -0000 1.3
@@ -15,7 +15,7 @@
import org.apache.excalibur.altrmi.server.impl.AbstractServer;
import org.apache.excalibur.altrmi.test.TestInterface;
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
import java.rmi.registry.LocateRegistry;
@@ -34,7 +34,7 @@
{
private AbstractServer server;
- private SimpleHelloTestServerImpl testServer;
+ private TestInterfaceImpl testServer;
private TestInterface testClient;
public RmiTestCase(String name)
@@ -48,7 +48,7 @@
// server side setup.
server = new RmiServer( "127.0.0.1", 10003 );
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
server.publish(testServer, "Hello", TestInterface.class);
server.start();
1.2 +2 -2 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/socket/CallbackEnabledCustomStreamTestCase.java
Index: CallbackEnabledCustomStreamTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/socket/CallbackEnabledCustomStreamTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CallbackEnabledCustomStreamTestCase.java 25 Aug 2002 22:43:11 -0000 1.1
+++ CallbackEnabledCustomStreamTestCase.java 26 Aug 2002 07:55:13 -0000 1.2
@@ -13,7 +13,7 @@
import org.apache.excalibur.altrmi.test.TestInterface;
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
import org.apache.excalibur.altrmi.server.impl.callback.socket.CallbackEnabledSocketCustomStreamServer;
@@ -35,7 +35,7 @@
// server side setup.
server = new CallbackEnabledSocketCustomStreamServer(10004);
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
server.publish(testServer, "Hello", TestInterface.class);
server.start();
1.3 +2 -2 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/socket/CustomStreamJNDITestCase.java
Index: CustomStreamJNDITestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/socket/CustomStreamJNDITestCase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CustomStreamJNDITestCase.java 25 Aug 2002 23:44:48 -0000 1.2
+++ CustomStreamJNDITestCase.java 26 Aug 2002 07:55:13 -0000 1.3
@@ -10,7 +10,7 @@
import org.apache.excalibur.altrmi.server.impl.socket.CompleteSocketCustomStreamServer;
import org.apache.excalibur.altrmi.test.TestInterface;
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
import javax.naming.Context;
import javax.naming.InitialContext;
@@ -35,7 +35,7 @@
// server side setup.
server = new CompleteSocketCustomStreamServer(10006);
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
server.publish(testServer, "Hello", TestInterface.class);
server.start();
1.2 +2 -2 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/socket/CustomStreamTestCase.java
Index: CustomStreamTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/socket/CustomStreamTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CustomStreamTestCase.java 18 Aug 2002 12:04:50 -0000 1.1
+++ CustomStreamTestCase.java 26 Aug 2002 07:55:13 -0000 1.2
@@ -14,7 +14,7 @@
import org.apache.excalibur.altrmi.server.impl.socket.CompleteSocketCustomStreamServer;
import org.apache.excalibur.altrmi.test.TestInterface;
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
/**
@@ -35,7 +35,7 @@
// server side setup.
server = new CompleteSocketCustomStreamServer(10001);
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
server.publish(testServer, "Hello", TestInterface.class);
server.start();
1.2 +2 -2 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/socket/JSXObjectStreamTestCase.java
Index: JSXObjectStreamTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/socket/JSXObjectStreamTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JSXObjectStreamTestCase.java 25 Aug 2002 23:44:48 -0000 1.1
+++ JSXObjectStreamTestCase.java 26 Aug 2002 07:55:13 -0000 1.2
@@ -14,7 +14,7 @@
import org.apache.excalibur.altrmi.server.impl.socket.CompleteSocketObjectStreamServer;
import org.apache.excalibur.altrmi.test.TestInterface;
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
/**
@@ -36,7 +36,7 @@
// server side setup.
server = new CompleteSocketObjectStreamServer(10009, "JSX.ObjIn", "JSX.ObjOut");
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
server.publish(testServer, "Hello", TestInterface.class);
server.start();
1.2 +2 -2 jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/socket/ObjectStreamTestCase.java
Index: ObjectStreamTestCase.java
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/socket/ObjectStreamTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ObjectStreamTestCase.java 18 Aug 2002 12:04:50 -0000 1.1
+++ ObjectStreamTestCase.java 26 Aug 2002 07:55:13 -0000 1.2
@@ -14,7 +14,7 @@
import org.apache.excalibur.altrmi.server.impl.socket.CompleteSocketObjectStreamServer;
import org.apache.excalibur.altrmi.test.TestInterface;
import org.apache.excalibur.altrmi.test.AbstractHelloTestCase;
-import org.apache.excalibur.altrmi.test.SimpleHelloTestServerImpl;
+import org.apache.excalibur.altrmi.test.TestInterfaceImpl;
/**
@@ -35,7 +35,7 @@
// server side setup.
server = new CompleteSocketObjectStreamServer(10002);
- testServer = new SimpleHelloTestServerImpl();
+ testServer = new TestInterfaceImpl();
server.publish(testServer, "Hello", TestInterface.class);
server.start();
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>