org.apache.velocity.test

Class CommonsExtPropTestCase


public class CommonsExtPropTestCase
extends BaseTestCase

Tests for the Commons ExtendedProperties class. This is an identical copy of the ConfigurationTestCase, which will disappear when the Configuration class does
Version:
$Id: CommonsExtPropTestCase.java,v 1.2.4.1 2004/03/03 23:23:04 geirm Exp $
Authors:
Jason van Zyl
Geir Magnusson Jr.

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

CommonsExtPropTestCase()
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

CommonsExtPropTestCase

public CommonsExtPropTestCase()
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.