org.apache.velocity.test
Class ClassloaderChangeTest
java.lang.Object
|
+--TestCase
|
+--org.apache.velocity.test.ClassloaderChangeTest
- All Implemented Interfaces:
- LogSystem
- public class ClassloaderChangeTest
- extends TestCase
- implements LogSystem
Tests if we can hand Velocity an arbitrary class for logging.
- Version:
- $Id: ClassloaderChangeTest.java,v 1.1 2001/09/16 23:55:32 geirm Exp $
- Author:
- Geir Magnusson Jr.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ve
private VelocityEngine ve
sawCacheDump
private boolean sawCacheDump
OUTPUT
private static java.lang.String OUTPUT
ClassloaderChangeTest
public ClassloaderChangeTest()
- Default constructor.
init
public void init(RuntimeServices rs)
- Description copied from interface:
LogSystem
- init()
- Specified by:
init
in interface LogSystem
suite
public static junit.framework.Test suite()
runTest
public void runTest()
- Runs the test.
logVelocityMessage
public void logVelocityMessage(int level,
java.lang.String message)
- method to catch Velocity log messages. When we
see the introspector dump message, then set the flag
- Specified by:
logVelocityMessage
in interface LogSystem
Copyright © 2001 Apache Software Foundation. All Rights Reserved.