summaryrefslogtreecommitdiff
path: root/jurt/test/com/sun/star/lib/uno
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-08-20 08:23:12 +0000
committerRüdiger Timm <rt@openoffice.org>2004-08-20 08:23:12 +0000
commit14f727bd43d8fbb22b95f99cffad10973f3d2ae9 (patch)
tree07cc3c11b2012379a89c7f744f10bbf2d9891cfe /jurt/test/com/sun/star/lib/uno
parent084377e40375a11804d2fa8a86ee85213939a0a0 (diff)
INTEGRATION: CWS sb21 (1.10.58); FILE MERGED
2004/08/03 15:35:32 sb 1.10.58.1: #i32131# Redesigned ThreadId to not depend on hashCode values, which are not unique.
Diffstat (limited to 'jurt/test/com/sun/star/lib/uno')
-rw-r--r--jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java b/jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java
index c0d993bad1b7..ad85d3d8f7b4 100644
--- a/jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java
+++ b/jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java
@@ -2,9 +2,9 @@
*
* $RCSfile: JobQueue_Test.java,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: vg $ $Date: 2003-10-09 10:15:08 $
+ * last change: $Author: rt $ $Date: 2004-08-20 09:23:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -148,8 +148,9 @@ public final class JobQueue_Test extends ComplexTestCase {
}
public void testDynamicThreadExecutesJob() throws InterruptedException {
- testExecuteJobs(new JobQueue(__javaThreadPoolFactory, new ThreadId(),
- true));
+ testExecuteJobs(
+ new JobQueue(
+ __javaThreadPoolFactory, ThreadId.createFresh(), true));
}
public void testStaticThreadExecutesAsyncs() throws InterruptedException {
@@ -170,7 +171,7 @@ public final class JobQueue_Test extends ComplexTestCase {
}
public void testDynamicThreadExecutesAsyncs() throws InterruptedException {
- ThreadId threadId = new ThreadId();
+ ThreadId threadId = ThreadId.createFresh();
JobQueue async_jobQueue = new JobQueue(__javaThreadPoolFactory,
threadId);
TestWorkAt workAt = new TestWorkAt();