org.apache.velocity.test

Class ExternalLoggerTest

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.10.1 2004/03/03 23:23:04 geirm Exp $

Author: Geir Magnusson Jr.

Field Summary
StringlogString
VelocityEngineve
Constructor Summary
ExternalLoggerTest()
Default constructor.
Method Summary
voidinit(RuntimeServices rs)
voidlogVelocityMessage(int level, String message)
voidrunTest()
Runs the test.
static Testsuite()

Field Detail

logString

private String logString

ve

private VelocityEngine ve

Constructor Detail

ExternalLoggerTest

public ExternalLoggerTest()
Default constructor.

Method Detail

init

public void init(RuntimeServices rs)

logVelocityMessage

public void logVelocityMessage(int level, String message)

runTest

public void runTest()
Runs the test.

suite

public static Test suite()
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.