org.apache.velocity.test

Class ConfigurationTestCase


public class ConfigurationTestCase
extends BaseTestCase

Tests for the Configuration class.
Version:
$Id: ConfigurationTestCase.java,v 1.5.4.1 2004/03/03 23:23:04 geirm Exp $
Author:
Jason van Zyl

Field Summary

private static String
COMPARE_DIR
Comparison directory.
private static String
RESULTS_DIR
Results directory.
private static String
TEST_CONFIG
Test configuration

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

perl

Constructor Summary

ConfigurationTestCase()
Creates a new instance.

Method Summary

private void
message(FileWriter result, String message)
void
runTest()
Runs the test.
private void
showIterator(FileWriter result, Iterator i)
private void
showVector(FileWriter result, Vector v)
static junit.framework.Test
suite()

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

assureResultsDirectoryExists, getFileName, getTestCaseName, isMatch, normalizeNewlines

Field Details

COMPARE_DIR

private static final String COMPARE_DIR
Comparison directory.

RESULTS_DIR

private static final String RESULTS_DIR
Results directory.

TEST_CONFIG

private static final String TEST_CONFIG
Test configuration

Constructor Details

ConfigurationTestCase

public ConfigurationTestCase()
Creates a new instance.

Method Details

message

private void message(FileWriter result,
                     String message)
            throws Exception

runTest

public void runTest()
Runs the test.

showIterator

private void showIterator(FileWriter result,
                          Iterator i)
            throws Exception

showVector

private void showVector(FileWriter result,
                        Vector v)
            throws Exception

suite

public static junit.framework.Test suite()

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