|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.ourgrid.test.threadServices.ThreadListsTest
public class ThreadListsTest
Test for the ThreadLists class.
Constructor Summary | |
---|---|
ThreadListsTest(java.lang.String str)
Constructor. |
Method Summary | |
---|---|
void |
testIncludeInRunningThreads()
Verifies if a thread was included in runningThreads after calling the includeInRunningThreads method. |
void |
testIncludeInStartedThreads()
Verifies if a thread was included in startedThreads after calling the includeInRunningThreads method. |
void |
testIsThreadRunning()
Tests the waitUntilThreadStartedRunning method. |
void |
testIsThreadStarted()
Tests the isThreadStarted method. |
void |
testSeveralMethodsOneThread()
Tests the ThreadServices class, verifying a certain Thread state. |
void |
testSeveralMethodsTwoThreads()
Tests the ThreadServices class, verifying two Threads' states. |
void |
testSeveralMethodsTwoThreadsSimilar()
Tests several methods from ThreadServices with two threads. |
void |
testWaitUntilAllThreadsDie()
Tests the waitUntilThreadsDie method. |
void |
testWaitUntilThreadIsRunning()
Tests the ThreadServices.waitUntilThreadHasStartedRunning method. |
void |
testWaitUntilThreadIsWaiting()
Tests the waitUntilThreadIsWaiting method. |
void |
testWaitUntilThreadStopsRunning()
Tests the waitUntilThreadHasFinished method. |
void |
testWaitUntilWorkIsDoneNotifying()
Tests the waitUntilWorkIsDone method. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface junit.framework.Test |
---|
countTestCases, run |
Constructor Detail |
---|
public ThreadListsTest(java.lang.String str)
str
- The test name.Method Detail |
---|
public void testSeveralMethodsOneThread()
public void testSeveralMethodsTwoThreads()
public void testSeveralMethodsTwoThreadsSimilar()
public void testWaitUntilWorkIsDoneNotifying()
public void testWaitUntilAllThreadsDie()
public void testWaitUntilThreadStopsRunning()
public void testWaitUntilThreadIsRunning()
public void testWaitUntilThreadIsWaiting()
public void testIsThreadRunning()
public void testIncludeInRunningThreads()
public void testIncludeInStartedThreads()
public void testIsThreadStarted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |