summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-06-03 13:36:32 +0000
committerOliver Bolte <obo@openoffice.org>2004-06-03 13:36:32 +0000
commit6f8ee5a3de993d970781248738df75c41a8cf3e3 (patch)
tree0ea6e3f5b235043b4dd88273abbaa72e9a3f88ed
parentdcc8fda829eb858f4f23ae34535146ad125935a5 (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.
-rw-r--r--jurt/test/com/sun/star/lib/uno/bridges/java_remote/java_remote_bridge_Test.java18
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 226db1929cdb..6efa185a788f 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);
}