org.apache.velocity.test.misc

Class Test

public class Test extends Object implements ReferenceInsertionEventHandler, NullSetEventHandler, MethodExceptionEventHandler

This class the testbed for Velocity. It is used to test all the directives support by Velocity.

Version: $Id: Test.java,v 1.34.8.1 2004/03/03 23:23:05 geirm Exp $

Author: Jason van Zyl Geir Magnusson Jr.

Field Summary
static StackwriterStack
Cache of writers
Constructor Summary
Test(String templateFile, String encoding)
Method Summary
static voidmain(String[] args)
ObjectmethodException(Class claz, String method, Exception e)
ObjectreferenceInsert(String reference, Object value)
booleanshouldLogOnNullSet(String lhs, String rhs)

Field Detail

writerStack

private static Stack writerStack
Cache of writers

Constructor Detail

Test

public Test(String templateFile, String encoding)

Method Detail

main

public static void main(String[] args)

methodException

public Object methodException(Class claz, String method, Exception e)

referenceInsert

public Object referenceInsert(String reference, Object value)

shouldLogOnNullSet

public boolean shouldLogOnNullSet(String lhs, String rhs)
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.