diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 12:09:40 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-23 12:09:40 +0000 |
commit | ac04c52d651b2c9e6b4060093661bca46ddab492 (patch) | |
tree | 16a5a83d27078bab1e8c14763cfd8ddde031c33c /bridges/test | |
parent | 9acccd166baa47586d3cd0b6abaeb31178a0f87c (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')
-rw-r--r-- | bridges/test/com/sun/star/lib/uno/bridges/java_remote/StopMessageDispatcherTest.java | 10 |
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 3f212991e..63e930cc8 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) { |