org.apache.velocity.test

Class IntrospectorTestCase

public class IntrospectorTestCase extends BaseTestCase

Test case for the Velocity Introspector which uses the Java Reflection API to determine the correct signature of the methods used in VTL templates. This should be split into separate tests for each of the methods searched for but this is a start for now.

Version: $Id: IntrospectorTestCase.java,v 1.10.8.1 2004/03/03 23:23:04 geirm Exp $

Author: Jason van Zyl

Nested Class Summary
static classIntrospectorTestCase.MethodProvider
Field Summary
ArrayListfailures
Methodmethod
Stringresult
Stringtype
Constructor Summary
IntrospectorTestCase()
IntrospectorTestCase(String name)
Creates a new instance.
Method Summary
voidrunTest()
static Testsuite()
Get the containing TestSuite.

Field Detail

failures

private ArrayList failures

method

private Method method

result

private String result

type

private String type

Constructor Detail

IntrospectorTestCase

IntrospectorTestCase()

IntrospectorTestCase

public IntrospectorTestCase(String name)
Creates a new instance.

Method Detail

runTest

public void runTest()

suite

public static Test suite()
Get the containing TestSuite. This is always VelocityTestSuite.

Returns: The TestSuite to run.

Copyright B) 2002 Apache Software Foundation. All Rights Reserved.