dain 2005/06/22 20:56:43
Modified: modules/core/src/test/org/openejb/corba/util
DynamicStubClassLoaderTest.java
Log:
Removed PortableStubGenerator since it is totally broken. We now use
DynamicStubClassLoader instead.
Added StubDelegate to handle assigning ClientDelegate objects to new stubs
Removed ClienContextHolder since it is no longer used
Fixed several marshalling errors in the StubMethodInterceptor
Revision Changes Path
1.2 +3 -10
openejb/modules/core/src/test/org/openejb/corba/util/DynamicStubClassLoaderTest.java
Index: DynamicStubClassLoaderTest.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/core/src/test/org/openejb/corba/util/DynamicStubClassLoaderTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DynamicStubClassLoaderTest.java 22 Jun 2005 19:39:52 -0000 1.1
+++ DynamicStubClassLoaderTest.java 23 Jun 2005 00:56:43 -0000 1.2
@@ -44,13 +44,11 @@
*/
package org.openejb.corba.util;
-import java.util.List;
import java.util.Arrays;
+import java.util.List;
import javax.rmi.CORBA.Stub;
import junit.framework.TestCase;
-import org.openejb.corba.ClientContext;
-import org.openejb.corba.ClientContextHolder;
/**
* @version $Revision$ $Date$
@@ -79,11 +77,6 @@
List ids = Arrays.asList(strings);
assertTrue(ids.contains("RMI:org.openejb.corba.compiler.Simple:0000000000000000"));
assertTrue(ids.contains("RMI:org.openejb.corba.compiler.Special:0000000000000000"));
-
- ClientContextHolder clientContextHolder =
(ClientContextHolder)stub;
- ClientContext context = new ClientContext();
- clientContextHolder.setClientContext(context);
- assertSame(context,
clientContextHolder.getClientContext());
} catch (Exception e) {
exception[0] = e;
}