summaryrefslogtreecommitdiffstats
path: root/jurt/test
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2006-12-01 13:55:47 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2006-12-01 13:55:47 +0000
commitfa190ca1c4f19bb7f061e10d960251e37f8f60d4 (patch)
tree698b774c0127f9a6882c00d715b449fbf8781e95 /jurt/test
parentINTEGRATION: CWS sb23 (1.11.8); FILE MERGED (diff)
downloadcore-fa190ca1c4f19bb7f061e10d960251e37f8f60d4.tar.gz
core-fa190ca1c4f19bb7f061e10d960251e37f8f60d4.zip
INTEGRATION: CWS sb23 (1.13.4); FILE MERGED
2006/08/18 16:29:24 sb 1.13.4.3: RESYNC: (1.13-1.14); FILE MERGED 2005/03/15 10:29:37 sb 1.13.4.2: #88601# Support for current context in Java URP. 2005/03/14 10:55:38 sb 1.13.4.1: #i35277# Further cleanup.
Diffstat (limited to 'jurt/test')
-rw-r--r--jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java20
1 files changed, 13 insertions, 7 deletions
diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java b/jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java
index 69e2f67c5905..3d13e22b4524 100644
--- a/jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java
+++ b/jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java
@@ -4,9 +4,9 @@
*
* $RCSfile: ThreadPool_Test.java,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 19:14:06 $
+ * last change: $Author: rt $ $Date: 2006-12-01 14:55:47 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -35,6 +35,7 @@
package com.sun.star.lib.uno.environments.remote;
+import com.sun.star.lib.uno.typedesc.MethodDescription;
import com.sun.star.lib.uno.typedesc.TypeDescription;
import complexlib.ComplexTestCase;
@@ -352,8 +353,13 @@ public class ThreadPool_Test extends ComplexTestCase {
ThreadId threadId, String operation) {
__iThreadPool.putJob(
new Job(iWorkAt, __iReceiver,
- new TestMessage(synchron, __workAt_td, "oid", threadId,
- null, operation, null)));
+ new Message(
+ threadId, operation != null, "oid", __workAt_td,
+ (operation == null
+ ? null
+ : ((MethodDescription)
+ __workAt_td.getMethodDescription(operation))),
+ synchron, null, false, null, null)));
}
private static final class TestThread extends Thread {
@@ -407,9 +413,9 @@ public class ThreadPool_Test extends ComplexTestCase {
public void syncCall() throws Throwable
{
- IMessage iMessage = new TestMessage(
- true, ThreadPool_Test.__workAt_td, "oid",
- __iThreadPool.getThreadId(), null, null, null);
+ Message iMessage = new Message(
+ __iThreadPool.getThreadId(), false, "oid", __workAt_td, null,
+ false, null, false, null, null);
// marshal reply
ThreadPool_Test.__iThreadPool.putJob(