diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-05-22 07:41:26 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-05-22 07:41:26 +0000 |
commit | b422a4a99e4488a4261d451c73fb0dd5b3682d67 (patch) | |
tree | 85511b4ace0fb5de8f9c28e27e8fda999a880512 /bridges | |
parent | 3752c8ed18bbf55b0e70efcb96739329571be16d (diff) |
INTEGRATION: CWS uno4 (1.2.2); FILE MERGED
2003/05/09 12:36:58 sb 1.2.2.1: #108642# United TestBed from jurt and bridges.
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/test/java_uno/equals/TestEquals.java | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/bridges/test/java_uno/equals/TestEquals.java b/bridges/test/java_uno/equals/TestEquals.java index 7172f6fe44e5..ae91a7089e7b 100644 --- a/bridges/test/java_uno/equals/TestEquals.java +++ b/bridges/test/java_uno/equals/TestEquals.java @@ -2,9 +2,9 @@ * * $RCSfile: TestEquals.java,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2003-04-23 16:34:30 $ + * last change: $Author: vg $ $Date: 2003-05-22 08:41:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -69,6 +69,7 @@ import com.sun.star.connection.XAcceptor; import com.sun.star.connection.XConnection; import com.sun.star.lang.XMultiComponentFactory; import com.sun.star.lang.XSingleComponentFactory; +import com.sun.star.lib.TestBed; import com.sun.star.lib.uno.typeinfo.MethodTypeInfo; import com.sun.star.lib.uno.typeinfo.TypeInfo; import com.sun.star.loader.XImplementationLoader; @@ -79,7 +80,6 @@ import java.io.File; import java.net.MalformedURLException; import java.util.HashMap; import java.util.Hashtable; -import test.java_uno.TestBed; // In this test scenario, the Java server (see implementation of method // notifyAccepting) has a remote bridge to the Java client and a local JNI @@ -96,8 +96,10 @@ public final class TestEquals { // args[1] must be a file system path to a services.rdb public static void main(String[] args) throws Exception { TestBed t = new TestBed(); - t.execute(new Provider(t, toFileUrl(args[0]), toFileUrl(args[1])), true, - Client.class, 0); + System.out.println( + "success? " + + t.execute(new Provider(t, toFileUrl(args[0]), toFileUrl(args[1])), + true, Client.class, 0)); } private static String toFileUrl(String path) throws MalformedURLException { |