org.apache.velocity.test
Class ExternalLoggerTest
java.lang.Object
|
+--TestCase
|
+--org.apache.velocity.test.ExternalLoggerTest
- All Implemented Interfaces:
- LogSystem
- public class ExternalLoggerTest
- extends TestCase
- implements LogSystem
Tests if we can hand Velocity an arbitrary class for logging.
- Version:
- $Id: ExternalLoggerTest.java,v 1.4 2001/08/20 11:08:14 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 |
logString
private java.lang.String logString
ve
private VelocityEngine ve
ExternalLoggerTest
public ExternalLoggerTest()
- 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)
- Description copied from interface:
LogSystem
- Send a log message from Velocity.
- Specified by:
logVelocityMessage
in interface LogSystem
Copyright © 2001 Apache Software Foundation. All Rights Reserved.