diff options
author | Rüdiger Timm <rt@openoffice.org> | 2006-12-01 13:55:47 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2006-12-01 13:55:47 +0000 |
commit | fa190ca1c4f19bb7f061e10d960251e37f8f60d4 (patch) | |
tree | 698b774c0127f9a6882c00d715b449fbf8781e95 /jurt/test/com/sun/star | |
parent | f9ae6772bc27adffe55714286a6de51b0dc2aaf2 (diff) |
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/com/sun/star')
-rw-r--r-- | jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java | 20 |
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( |