org.apache.velocity.test

Class ConfigurationTestCase

public class ConfigurationTestCase extends BaseTestCase

Deprecated: Will be removed when Configuration class is removed

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
static StringCOMPARE_DIR
Comparison directory.
static StringRESULTS_DIR
Results directory.
static StringTEST_CONFIG
Test configuration
Constructor Summary
ConfigurationTestCase()
Creates a new instance.
Method Summary
voidmessage(FileWriter result, String message)
voidrunTest()
Runs the test.
voidshowIterator(FileWriter result, Iterator i)
voidshowVector(FileWriter result, Vector v)
static Testsuite()

Field Detail

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 Detail

ConfigurationTestCase

public ConfigurationTestCase()
Creates a new instance.

Method Detail

message

private void message(FileWriter result, String message)

runTest

public void runTest()
Runs the test.

showIterator

private void showIterator(FileWriter result, Iterator i)

showVector

private void showVector(FileWriter result, Vector v)

suite

public static Test suite()
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.