org.apache.velocity.test |
|
Java Source File Name | Type | Comment |
AbsoluteFileResourceLoaderTestCase.java | Class | |
AnakiaTestCase.java | Class | This is a test case for Anakia. |
ArithmeticTestCase.java | Class | Test arithmetic operations. |
BaseTestCase.java | Class | Base test case that provides a few utility methods for
the rest of the tests. |
BuiltInEventHandlerTestCase.java | Class | Tests the operation of the built in event handlers. |
ClassloaderChangeTestCase.java | Class | Tests if we can hand Velocity an arbitrary class for logging. |
ClasspathResourceTestCase.java | Class | Load templates from the Classpath. |
CommonsExtPropTestCase.java | Class | Tests for the Commons ExtendedProperties class. |
ContextSafetyTestCase.java | Class | Tests if we are context safe : can we switch objects in the context
and re-merge the template safely.
NOTE:
This class should not extend RuntimeTestCase because this test
is run from the VelocityTestSuite which in effect a runtime
test suite and the test suite initializes the Runtime. |
EncodingTestCase.java | Class | Tests input encoding handling. |
EventHandlingTestCase.java | Class | Tests event handling for all event handlers except IncludeEventHandler. |
ExceptionTestCase.java | Class | Test case for miscellaneous Exception related issues. |
ExternalLoggerTestCase.java | Class | Tests if we can hand Velocity an arbitrary class for logging. |
FilteredEventHandlingTestCase.java | Class | Tests event handling for all event handlers when multiple event handlers are
assigned for each type. |
ForeachTestCase.java | Class | This class tests the Foreach loop. |
IncludeErrorTestCase.java | Class | Test that #parse and #include pass errors to calling code. |
IncludeEventHandlingTestCase.java | Class | |
InfoTestCase.java | Class | Test that the Info class in the Introspector holds the correct information. |
InlineScopeVMTestCase.java | Class | Tests if the VM template-locality is working. |
IntrospectionCacheDataTestCase.java | Class | Checks that arrays are cached correctly in the Introspector. |
Introspector2TestCase.java | Class | |
Introspector3TestCase.java | Class | |
IntrospectorTestCase.java | Class | Test case for the Velocity Introspector which uses
the Java Reflection API to determine the correct
signature of the methods used in VTL templates. |
InvalidEventHandlerTestCase.java | Class | Tests event handling for all event handlers except IncludeEventHandler. |
MacroForwardDefineTestCase.java | Class | Make sure that a forward referenced macro inside another macro definition does
not report an error in the log.
(VELOCITY-71).
author: Henning P. |
MethodCacheKeyTestCase.java | Class | Checks that the equals method works correctly when caching method keys. |
MethodInvocationExceptionTestCase.java | Class | Tests if we can hand Velocity an arbitrary class for logging. |
MethodOverloadingTestCase.java | Class | Test a reported bug in which method overloading throws IllegalArgumentException
after a null return value. |
MiscTestCase.java | Class | Test case for any miscellaneous stuff. |
MultiLoaderTestCase.java | Class | Load templates from the Classpath. |
MultipleFileResourcePathTestCase.java | Class | Multiple paths in the file resource loader. |
NumberMethodCallsTestCase.java | Class | Used to check that method calls with number parameters are executed correctly. |
ParseExceptionTestCase.java | Class | Test parser exception is generated with appropriate info. |
ParserTestCase.java | Class | More specific parser tests where just templating
isn't enough. |
ResourceCachingTestCase.java | Class | Test resource caching related issues. |
ResourceLoaderInstanceTestCase.java | Class | Test that an instance of a ResourceLoader can be successfully passed in. |
SecureIntrospectionTestCase.java | Class | Checks that the secure introspector is working properly. |
SetTestCase.java | Class | Test that an instance of a ResourceLoader can be successfully passed in. |
StringResourceLoaderTestCase.java | Class | Multiple paths in the file resource loader. |
TemplateTestBase.java | Interface | This is a base interface that contains a bunch of static final
strings that are of use when testing templates.
author: Jon S. |
TemplateTestCase.java | Class | Easily add test cases which evaluate templates and check their output.
NOTE:
This class DOES NOT extend RuntimeTestCase because the TemplateTestSuite
already initializes the Velocity runtime and adds the template
test cases. |
TemplateTestSuite.java | Class | Test suite for Templates.
author: Daniel Rall author: Jason van Zyl author: Geir Magnusson Jr. author: Jon S. |
TestBaseTestCase.java | Class | I keep breaking the getFileName method all the time... |
TexenClasspathTestCase.java | Class | This is a test case for Texen. |
TexenTestCase.java | Class | This is a test case for Texen. |
UberspectorTestCase.java | Class | |
VelocimacroTestCase.java | Class | This class tests strange Velocimacro issues. |
VelocityAppTestCase.java | Class | This class is intended to test the app.Velocity.java class.
author: Geir Magnusson Jr. author: Jon S. |
VelocityServletTestCase.java | Class | Tests our VelocityServlet implementation. |
VMContextLocalscopeTestCase.java | Class | Tests scope of velocimacros with localscope setting. |
WrappedExceptionTestCase.java | Class | Test thrown exceptions include a proper cause (under JDK 1.4+). |