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 class
IntrospectorTestCase.MethodProvider

Field Summary

private ArrayList
failures
private Method
method
private String
result
private String
type

Fields inherited from class org.apache.velocity.test.BaseTestCase

perl

Constructor Summary

IntrospectorTestCase()
IntrospectorTestCase(String name)
Creates a new instance.

Method Summary

void
runTest()
static junit.framework.Test
suite()
Get the containing TestSuite.

Methods inherited from class org.apache.velocity.test.BaseTestCase

assureResultsDirectoryExists, getFileName, getTestCaseName, isMatch, normalizeNewlines

Field Details

failures

private ArrayList failures

method

private Method method

result

private String result

type

private String type

Constructor Details

IntrospectorTestCase

(package private)  IntrospectorTestCase()

IntrospectorTestCase

public IntrospectorTestCase(String name)
Creates a new instance.

Method Details

runTest

public void runTest()

suite

public static junit.framework.Test suite()
Get the containing TestSuite. This is always VelocityTestSuite.
Returns:
The TestSuite to run.

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