| org.apache.velocity.test.EventHandlingTestCase
EventHandlingTestCase | public class EventHandlingTestCase extends TestCase implements LogChute(Code) | | Tests event handling for all event handlers except IncludeEventHandler. This is tested
separately due to its complexity.
author: Geir Magnusson Jr. version: $Id: EventHandlingTestCase.java 463298 2006-10-12 16:10:32Z henning $ |
EventHandlingTestCase | public EventHandlingTestCase(String name)(Code) | | Default constructor.
|
clearLogString | public static void clearLogString()(Code) | | |
isLevelEnabled | public boolean isLevelEnabled(int level)(Code) | | |
log | public void log(int level, String message)(Code) | | handler for LogChute interface
|
setLogString | public static void setLogString(String message)(Code) | | |
suite | public static Test suite()(Code) | | |
testConfigurationEventHandlers | public void testConfigurationEventHandlers() throws Exception(Code) | | Test assigning the event handlers via properties
|
testManualEventHandlers | public void testManualEventHandlers() throws Exception(Code) | | |
throwException | public void throwException() throws Exception(Code) | | silly method to throw an exception to test
the method invocation exception event handling
|
|
|