org.apache.velocity.test

Class TemplateTestSuite

public class TemplateTestSuite extends TestSuite implements TemplateTestBase

Test suite for Templates.

Version: $Id: TemplateTestSuite.java,v 1.6.8.1 2004/03/03 23:23:04 geirm Exp $

Author: Daniel Rall Jason van Zyl Geir Magnusson Jr. Jon S. Stevens

Field Summary
PropertiestestProperties
Constructor Summary
TemplateTestSuite()
Creates an instace of the Apache Velocity test suite.
Method Summary
voidaddTemplateTestCases()
Adds the template test cases to run to this test suite.
static StringgetTemplateTestKey(int nbr)
Macro which returns the properties file key for the specified template test number.

Field Detail

testProperties

private Properties testProperties

Constructor Detail

TemplateTestSuite

public TemplateTestSuite()
Creates an instace of the Apache Velocity test suite.

Method Detail

addTemplateTestCases

private void addTemplateTestCases()
Adds the template test cases to run to this test suite. Template test cases are listed in the TEST_CASE_PROPERTIES file.

getTemplateTestKey

private static final String getTemplateTestKey(int nbr)
Macro which returns the properties file key for the specified template test number.

Parameters: nbr The template test number to return a property key for.

Returns: The property key.

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