Searched refs:workAt (Results 1 – 2 of 2) sorted by relevance
| /trunk/main/jurt/test/com/sun/star/lib/uno/environments/remote/ |
| H A D | ThreadPool_Test.java | 69 TestWorkAt workAt = new TestWorkAt(); in testThreadAsync() local 76 putJob(workAt, false, threadId, "increment"); in testThreadAsync() 79 synchronized(workAt) { in testThreadAsync() 80 putJob(workAt, false, threadId, "notifyme"); in testThreadAsync() 82 while(!workAt._notified) in testThreadAsync() 83 workAt.wait(); in testThreadAsync() 86 assertTrue("", workAt._counter == TestWorkAt.MESSAGES); in testThreadAsync() 91 TestWorkAt workAt = new TestWorkAt(); in testDynamicThreadSync() local 98 putJob(workAt, true, threadId, "increment"); in testDynamicThreadSync() 101 synchronized(workAt) { in testDynamicThreadSync() [all …]
|
| H A D | JobQueue_Test.java | 122 TestWorkAt workAt = new TestWorkAt(); in testStaticThreadExecutesAsyncs() local 123 testAsyncJobQueue(workAt, async_jobQueue, t._threadId); in testStaticThreadExecutesAsyncs() 127 assertTrue("", workAt._async_counter == TestWorkAt.MESSAGES); in testStaticThreadExecutesAsyncs() 128 assertTrue("", workAt._sync_counter == TestWorkAt.MESSAGES); in testStaticThreadExecutesAsyncs() 136 TestWorkAt workAt = new TestWorkAt(); in testDynamicThreadExecutesAsyncs() local 137 testAsyncJobQueue(workAt, async_jobQueue, threadId); in testDynamicThreadExecutesAsyncs() 138 assertTrue("", workAt._async_counter == TestWorkAt.MESSAGES); in testDynamicThreadExecutesAsyncs() 139 assertTrue("", workAt._sync_counter == TestWorkAt.MESSAGES); in testDynamicThreadExecutesAsyncs() 144 TestWorkAt workAt = new TestWorkAt(); in testExecuteJobs() local 145 testSendRequests(workAt, "increment", jobQueue); in testExecuteJobs() [all …]
|