org.apache.velocity.test

Class ClasspathResourceTest


public class ClasspathResourceTest
extends BaseTestCase

Load templates from the Classpath.
Version:
$Id: ClasspathResourceTest.java,v 1.9.4.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
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

ClasspathResourceTest()
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.

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

ClasspathResourceTest

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