|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TestRunnable | |
---|---|
org.apache.qpid.junit.concurrency | Contains code to assist in testing concurrency issues using coordinated threads to present code under test with oportunities to expose concurrency bugs. |
Uses of TestRunnable in org.apache.qpid.junit.concurrency |
---|
Fields in org.apache.qpid.junit.concurrency declared as TestRunnable | |
---|---|
(package private) TestRunnable |
ThreadTestExample.testThread1
Test thread 1. |
(package private) TestRunnable |
ThreadTestExample.testThread2
Test thread 2. |
Methods in org.apache.qpid.junit.concurrency with parameters of type TestRunnable | |
---|---|
void |
ThreadTestCoordinator.addTestThread(TestRunnable runnable,
int id)
Adds a thread to this coordinator and assigns an id to it. |
(package private) boolean |
ThreadTestCoordinator.consumeAllowEvent(int[] threads,
boolean otherWaitIsAllow,
int callerId,
TestRunnable caller)
Consumes an 'allow to continue' from one of the specified threads or waits until one is available or in some cases if one of the specified threads is blocked elsewhere to accept that as an 'allow to continue' event. |
(package private) void |
ThreadTestCoordinator.produceAllowEvents(int[] threads,
int callerId,
TestRunnable caller)
Creates a set of 'allow to continue' events on the event queues of the specified threads. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |