summaryrefslogtreecommitdiff
path: root/jurt/test/com
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
commitf097fb9d1da5c8eaf0fbd25a3c67352e42d51a4c (patch)
tree7a61556a5fc89963c126f1eddf6848a7f36d56c3 /jurt/test/com
parent4d5727ed72739c07bde4fa2bdf2c80ed5a6fca14 (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')
-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 69e2f67c5..3d13e22b4 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(