|
|||||||||
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.AbstractTestCase | +--freemarker.testcase.TestStringNumber
Test class for testing Strings and numbers, and the conversions between
the two. In particular, test the
AsNumber
and AsString
classes in the
freemarker.ext.misc
package.
Fields inherited from class freemarker.testcase.AbstractTestCase |
m_aFilename, m_aReferenceText, m_aTemplateText |
Constructor Summary | |
TestStringNumber(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. |
void |
runTest()
Performs the test. |
void |
setUp()
Set up the test case prior to running. |
Methods inherited from class freemarker.testcase.AbstractTestCase |
getReferenceText, getTemplateText, getTestcasePath, getTextFromFile, isTextIdentical, setUpFiles, showTestResults, writeText |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, setName, 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 TestStringNumber(java.lang.String aTestname)
aTestname
- the name of the testMethod Detail |
public void setUp()
setUp
in class junit.framework.TestCase
public void runTest() throws java.io.IOException
runTest
in class junit.framework.TestCase
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 |