|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
freemarker.testcase.TestBeanModels
public final class TestBeanModels
A simple test case for testing most aspects of the
freemarker.ext.beans
package.
Constructor Summary | |
---|---|
TestBeanModels(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 |
testArrayModel()
Performs the bean model test of the Array model. |
void |
testCollectionModel()
Performs the bean model test of the Collection model. |
void |
testListModel()
Performs the bean model test of the List model. |
void |
testMapModel()
Performs the bean model test of the Map model. |
void |
testMethodCalls()
Performs tests on coersion of Simple and Fast models into forms usable by the freemarker.ext.beans package. |
void |
testRootMapModel()
Performs the bean model test of the Root Map model. |
void |
testScalarModel()
Performs the bean model test of the Scalar model. |
void |
testStaticModel()
Performs the bean model test of the Scalar model. |
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 TestBeanModels(java.lang.String aTestname)
aTestname
- the name of the testMethod Detail |
---|
public void testListModel() throws java.lang.Exception
java.lang.Exception
public void testCollectionModel() throws java.lang.Exception
java.lang.Exception
public void testArrayModel() throws java.lang.Exception
java.lang.Exception
public void testMapModel() throws java.lang.Exception
java.lang.Exception
public void testRootMapModel() throws java.lang.Exception
java.lang.Exception
public void testScalarModel() throws java.lang.Exception
java.lang.Exception
public void testStaticModel() throws java.lang.Exception
java.lang.Exception
public void testMethodCalls() throws java.lang.Exception
freemarker.ext.beans
package.
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
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |