|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
JSR166TestCase
AbstractQueueTest
public class AbstractQueueTest
| Nested Class Summary |
|---|
| Field Summary |
|---|
| Fields inherited from class JSR166TestCase |
|---|
eight, expensiveTests, five, four, LONG_DELAY_MS, m1, m10, m2, m3, m4, m5, m6, MEDIUM_DELAY_MS, nine, one, seven, SHORT_DELAY_MS, six, SIZE, SMALL_DELAY_MS, TEST_STRING, three, two, zero |
| Constructor Summary | |
|---|---|
AbstractQueueTest()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testAddAll1()
addAll(null) throws NPE |
void |
testAddAll2()
addAll of a collection with null elements throws NPE |
void |
testAddAll3()
addAll of a collection with any null elements throws NPE after possibly adding some elements |
void |
testAddAll4()
addAll throws ISE if an add fails |
void |
testAddAllSelf()
addAll(this) throws IAE |
void |
testAddF()
add throws ISE true if offer fails |
void |
testAddNPE()
add throws NPE if offer does |
void |
testAddS()
add returns true if offer succeeds |
void |
testElementF()
element throws NSEE if peek returns null |
void |
testElementS()
element returns normally if peek succeeds |
void |
testRemoveF()
remove throws NSEE if poll returns null |
void |
testRemoveS()
remove returns normally if poll succeeds |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, setName, 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractQueueTest()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
public void testAddS()
public void testAddF()
public void testAddNPE()
public void testRemoveS()
public void testRemoveF()
public void testElementS()
public void testElementF()
public void testAddAll1()
public void testAddAllSelf()
public void testAddAll2()
public void testAddAll3()
public void testAddAll4()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||