Package freemarker.testcase
Test cases for various aspects of the FreeMarker implementation. These use the JUnit testing framework to carry out and report on tests.
To run the tests:
- Get a copy of JUnit from the JUnit web site
- Modify
testcase.propertiesto point to the FreeMarker testcase directory on your local machine - Run one of the TestRunners in JUnit, such as
junit.swingui.TestRunner - Point the TestRunner at
freemarker.testcase.FreeMarkerTestSuite - Look for green...
Any errors will result in the text of the failed test case(s) appearing in your current working directory. From there it should be possible to diagnose the cause of the failure.
-
Class Summary Class Description ParserTestCase Test case for parser.PerformanceTest This class executes a FreeMarker template repeatedly in an endless loop.TemplateCacheTest TemplateTestCase TemplateTestCase.TestBean TemplateTestSuite Test suite for FreeMarker.