|
||||||||||
| 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.davesag.generica.test.ListUtilsTest
ListUtilsTest is collection of all of the tests on the
ListUtils.
| Constructor Summary | |
ListUtilsTest()
null constructor |
|
ListUtilsTest(String name)
constructor that takes a test name |
|
| Method Summary | |
static Test |
suite()
the test suite |
void |
testInsertIntoList()
tests that we can insert an item into a list. |
void |
testRemoveAndInsertIntoList()
tests that we can remove an item from a list and then re-insert it. |
void |
testRemoveFromEndAndInsertIntoList()
tests that we can remove an item from the end of a list and then re-insert it nearer the front. |
String |
toImage()
test name |
| 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 ListUtilsTest()
public ListUtilsTest(String name)
name - the name of this suite of tests| Method Detail |
public void testInsertIntoList()
public void testRemoveAndInsertIntoList()
public void testRemoveFromEndAndInsertIntoList()
public static Test suite()
public String toImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||