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.
This commit is contained in:
parent
f9ae6772bc
commit
fa190ca1c4
1 changed files with 13 additions and 7 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue