diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2006-12-01 13:56:14 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2006-12-01 13:56:14 +0000 |
commit | eaa993a82ad5c44dca5538af8766664e10a61e4d (patch) | |
tree | 264277be2968574a8f90c464a6f07bb23df1e44d /jurt/test/com | |
parent | c0929ba3c89db7d469e957d4174d7853852a9b47 (diff) |
INTEGRATION: CWS sb23 (1.3.8); FILE MERGED
2006/08/18 16:29:42 sb 1.3.8.3: RESYNC: (1.3-1.4); FILE MERGED
2005/02/18 09:21:52 sb 1.3.8.2: #i35277# More cleanup; functionality moved from java_remote_bridge to urp, so that urp can autonomously handle protocol property requests.
2005/02/16 16:54:45 sb 1.3.8.1: #i35277# More cleanup.
Diffstat (limited to 'jurt/test/com')
-rw-r--r-- | jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java b/jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java index 158a93edd..5b18f177b 100644 --- a/jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java +++ b/jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java @@ -4,9 +4,9 @@ * * $RCSfile: Marshaling_Test.java,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-07 19:14:52 $ + * last change: $Author: rt $ $Date: 2006-12-01 14:56:14 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -34,7 +34,6 @@ ************************************************************************/ package com.sun.star.lib.uno.protocols.urp; -import com.sun.star.lib.uno.environments.remote.IProtocol; import com.sun.star.lib.uno.typedesc.TypeDescription; import com.sun.star.uno.Any; import com.sun.star.uno.IBridge; @@ -43,7 +42,6 @@ import com.sun.star.uno.TypeClass; import com.sun.star.uno.XInterface; import complexlib.ComplexTestCase; import java.lang.reflect.Array; -import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Modifier; @@ -57,18 +55,8 @@ public final class Marshaling_Test extends ComplexTestCase { } public void test() throws Exception { - String protocolDescription = "urp"; - short cacheSize = (short)256; TestBridge testBridge = new TestBridge(); - - - Class protocol_class = Class.forName("com.sun.star.lib.uno.protocols." + protocolDescription + "." + protocolDescription); - Constructor protocol_constructor = protocol_class.getConstructor(new Class[] {IBridge.class}); - - IProtocol iProtocol = (IProtocol)protocol_constructor.newInstance(new Object[]{testBridge}); - - Marshal marshal = new Marshal(testBridge, cacheSize); TestObject testObject = new TestObject(); |