|
|||||||||
| 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.AbstractTestCase
freemarker.testcase.DummyTestCase
public final class DummyTestCase
Dummy test case. This tests the AbstractTestCase class, by generating a test that is identical to the reference text. The input file is identical to the template file, and no transformation is performed.
| Field Summary |
|---|
| Fields inherited from class freemarker.testcase.AbstractTestCase |
|---|
m_aFilename, m_aReferenceText, m_aTemplateText |
| Constructor Summary | |
|---|---|
DummyTestCase(java.lang.String aTestname)
Creates new DummyTestCase. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Main method for calling the test in standalone mode. |
void |
runTest()
Performs the test. |
void |
setUp()
Sets up the reference and template files. |
| 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 DummyTestCase(java.lang.String aTestname)
aTestname - the name of the test to be supplied to JUnit| Method Detail |
|---|
public void setUp()
setUp in class junit.framework.TestCasepublic void runTest()
runTest in class junit.framework.TestCasepublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||