diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-06-03 13:36:32 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-06-03 13:36:32 +0000 |
commit | 9e125d73433f84efd80f077e83b1424413b5b8d1 (patch) | |
tree | 985ff634f3581fc8e49837263341425c6c8a4ad7 /jurt/test | |
parent | 61fa2223cac01b1501c44ab1a744ee9bb2debbb9 (diff) |
INTEGRATION: CWS sb18 (1.9.40); FILE MERGED
2004/05/12 09:06:46 sb 1.9.40.1: #i21150# Moved tests from directory protocols to directory protocols/urp to have access to non-public classes.
Diffstat (limited to 'jurt/test')
-rw-r--r-- | jurt/test/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge_Test.java | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/jurt/test/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge_Test.java b/jurt/test/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge_Test.java index 226db1929..6efa185a7 100644 --- a/jurt/test/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge_Test.java +++ b/jurt/test/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge_Test.java @@ -2,9 +2,9 @@ * * $RCSfile: java_remote_bridge_Test.java,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: vg $ $Date: 2003-10-09 10:14:33 $ + * last change: $Author: obo $ $Date: 2004-06-03 14:36:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -58,7 +58,6 @@ * * ************************************************************************/ - package com.sun.star.lib.uno.bridges.java_remote; import com.sun.star.bridge.XBridge; @@ -67,6 +66,7 @@ import com.sun.star.comp.connections.PipedConnection; import com.sun.star.connection.XConnection; import com.sun.star.container.NoSuchElementException; import com.sun.star.lib.uno.environments.java.java_environment; +import com.sun.star.lib.uno.environments.remote.Protocol; import com.sun.star.lib.uno.typeinfo.MethodTypeInfo; import com.sun.star.lib.uno.typeinfo.TypeInfo; import com.sun.star.uno.IQueryInterface; @@ -206,11 +206,15 @@ public final class java_remote_bridge_Test extends ComplexTestCase { assure("proxy count", ProxyFactory.getDebugCount() == 0); System.out.println("waiting for pending messages to be done"); - while (bridgeB.getProtocol().getRequestsSendCount() - > bridgeA.getProtocol().getRequestsReceivedCount()) { + while (((Protocol) bridgeB.getProtocol()).getRequestsSendCount() + > ((Protocol) bridgeA.getProtocol()).getRequestsReceivedCount()) + { System.out.println( - "pending: " + bridgeB.getProtocol().getRequestsSendCount() - + ", " + bridgeA.getProtocol().getRequestsReceivedCount()); + "pending: " + + ((Protocol) bridgeB.getProtocol()).getRequestsSendCount() + + ", " + + (((Protocol) bridgeA.getProtocol()). + getRequestsReceivedCount())); Thread.sleep(100); } |