summaryrefslogtreecommitdiff
path: root/jurt/test
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-12-01 13:56:14 +0000
committerRüdiger Timm <rt@openoffice.org>2006-12-01 13:56:14 +0000
commit92d1fdb68227bf37340507d35d91f347a5e3f54c (patch)
tree412cc025cf2a8dbdce41c33e913470fee2285eb1 /jurt/test
parent652e9c0315c5262574d285f26dc1a61893406d08 (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')
-rw-r--r--jurt/test/com/sun/star/lib/uno/protocols/urp/Marshaling_Test.java16
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 158a93eddb62..5b18f177bcbc 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();