summaryrefslogtreecommitdiff
path: root/bridges/test/com
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-23 12:09:40 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-23 12:09:40 +0000
commit23817b6dae0d75f06149249e69bde47d38d4742a (patch)
tree0edb0485aad6afbdbf9de18a1c6082bd3909abff /bridges/test/com
parentdf78a3ec5ba222d06cd4cdb768b45765fbbe711e (diff)
INTEGRATION: CWS sb79 (1.3.136); FILE MERGED
2007/09/27 12:01:05 sb 1.3.136.1: #i51323# refactored
Diffstat (limited to 'bridges/test/com')
-rw-r--r--bridges/test/com/sun/star/lib/uno/bridges/java_remote/StopMessageDispatcherTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/bridges/test/com/sun/star/lib/uno/bridges/java_remote/StopMessageDispatcherTest.java b/bridges/test/com/sun/star/lib/uno/bridges/java_remote/StopMessageDispatcherTest.java
index 3f212991e5dc..63e930cc8703 100644
--- a/bridges/test/com/sun/star/lib/uno/bridges/java_remote/StopMessageDispatcherTest.java
+++ b/bridges/test/com/sun/star/lib/uno/bridges/java_remote/StopMessageDispatcherTest.java
@@ -4,9 +4,9 @@
*
* $RCSfile: StopMessageDispatcherTest.java,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 22:56:47 $
+ * last change: $Author: ihi $ $Date: 2007-11-23 13:09:40 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -35,13 +35,13 @@
package com.sun.star.lib.uno.bridges.javaremote;
-import com.sun.star.bridge.XBridge;
import com.sun.star.bridge.XInstanceProvider;
import com.sun.star.lang.DisposedException;
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.uno.UnoRuntime;
+import com.sun.star.uno.XComponentContext;
import com.sun.star.uno.XInterface;
import complexlib.ComplexTestCase;
@@ -67,9 +67,9 @@ public final class StopMessageDispatcherTest extends ComplexTestCase {
new Client().execute();
}
- protected boolean run(XBridge bridge) throws Throwable {
+ protected boolean run(XComponentContext context) throws Throwable {
XTest test = (XTest) UnoRuntime.queryInterface(
- XTest.class, bridge.getInstance("Test"));
+ XTest.class, getBridge(context).getInstance("Test"));
Thread[] threads = new Thread[101];
int n = Thread.enumerate(threads);
if (n > 100) {