org.apache.velocity.test

Class MultiLoaderTestCase


public class MultiLoaderTestCase
extends BaseTestCase

Load templates from the Classpath.

Version:
$Id: MultiLoaderTestCase.java,v 1.4.8.1 2004/03/03 23:23:04 geirm Exp $

Authors:
Jason van Zyl
Dave Bryson

Field Summary

private static String
CMP_FILE_EXT
Comparison file extension.
private static String
COMPARE_DIR
Results relative to the build directory.
private static String
FILE_RESOURCE_LOADER_PATH
Path for templates.
private static String
RESULTS_DIR
Results relative to the build directory.
private static String
RESULT_FILE_EXT
Comparison file extension.
private static String
TMPL_FILE_EXT
VTL file extension.

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

perl

Constructor Summary

MultiLoaderTestCase()
Default constructor.

Method Summary

void
runTest()
Runs the test.
static junit.framework.Test
suite()

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

assureResultsDirectoryExists, getFileName, getTestCaseName, isMatch, normalizeNewlines

Field Details

CMP_FILE_EXT

private static final String CMP_FILE_EXT
Comparison file extension.


COMPARE_DIR

private static final String COMPARE_DIR
Results relative to the build directory.


FILE_RESOURCE_LOADER_PATH

private static final String FILE_RESOURCE_LOADER_PATH
Path for templates. This property will override the value in the default velocity properties file.


RESULTS_DIR

private static final String RESULTS_DIR
Results relative to the build directory.


RESULT_FILE_EXT

private static final String RESULT_FILE_EXT
Comparison file extension.


TMPL_FILE_EXT

private static final String TMPL_FILE_EXT
VTL file extension.

Constructor Details

MultiLoaderTestCase

public MultiLoaderTestCase()
Default constructor.

Method Details

runTest

public void runTest()
Runs the test.


suite

public static junit.framework.Test suite()


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