|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--freemarker.testcase.TestListModel
A simple test case for performing unit tests on SimpleList. These complement the tests performed by the other list tests by improving code coverage for this model in particular.
Constructor Summary | |
TestListModel(java.lang.String aTestname)
Constructor that passes the name of the test up to the JUnit constructor. |
Method Summary | |
static void |
main(java.lang.String[] argc)
Bootstrap for the self-test code. |
static junit.framework.Test |
suite()
Return a suite of all the tests in this class by reflection. |
void |
testListAdd()
Performs a SimpleList test. |
void |
testListCopy1()
Performs a SimpleList test. |
void |
testListCopy2()
Performs a SimpleList test. |
void |
testSimpleArrayList()
Performs a SimpleList test. |
void |
testSimpleCollectionList()
Performs a SimpleList test. |
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 TestListModel(java.lang.String aTestname)
aTestname
- the name of the testMethod Detail |
public void testSimpleArrayList() throws java.lang.Exception
public void testSimpleCollectionList() throws java.lang.Exception
public void testListCopy1() throws java.lang.Exception
public void testListCopy2() throws java.lang.Exception
public void testListAdd() throws java.lang.Exception
public static junit.framework.Test suite()
TestSuite
of all the methods starting with the
word "test"public static void main(java.lang.String[] argc) throws java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |