|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase edu.sdsc.inca.util.WorkQueueTest
Created by IntelliJ IDEA. User: cmills Date: Feb 4, 2005 Time: 1:14:48 PM To change this template use File | Settings | File Templates.
Constructor Summary | |
WorkQueueTest()
|
Method Summary | |
void |
testAddNull()
Adding null to the queue should throw a nullPointerException. |
void |
testAddRemoveSameWork()
Adds 10 integers and then uses 5 threads to retrieve them. |
void |
testAddWork()
Tests the addition of one task and the removal of that task. |
void |
testConstructorSimple()
just testing to see that it gets through the constructor without an exception. |
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 |
Constructor Detail |
public WorkQueueTest()
Method Detail |
public void testConstructorSimple()
public void testAddWork()
public void testAddNull()
public void testAddRemoveSameWork()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |