|
||||||||||
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.mygrid.test.EventQueueTest
public class EventQueueTest
Class desired to test the EventQueue class.
Constructor Summary | |
---|---|
EventQueueTest(java.lang.String name)
The constructor. |
Method Summary | |
---|---|
protected void |
setUp()
Initializes the EventQueue and creates a
mockEvent . |
void |
testPutAndBlockingRemove()
Tests the put and blockingRemove operations using threads. |
void |
testPutAndBlockingRemoveByManyThreads()
Tests the put and blockingRemove operations using many threads. |
void |
testPutAndUnblockingRemove()
Tests the put and unblockingRemove operations. |
void |
testPutAndUnblockingRemoveByManyThreads()
Tests the put and unblockingRemove operations using many threads. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 EventQueueTest(java.lang.String name)
name
- Test nameMethod Detail |
---|
protected void setUp() throws java.lang.Exception
EventQueue
and creates a
mockEvent
.
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testPutAndUnblockingRemove()
public void testPutAndUnblockingRemoveByManyThreads()
public void testPutAndBlockingRemove()
public void testPutAndBlockingRemoveByManyThreads()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |