org.apache.velocity.test
Class ConfigurationTestCase

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.apache.velocity.test.BaseTestCase
                    |
                    +--org.apache.velocity.test.ConfigurationTestCase
All Implemented Interfaces:
junit.framework.Test

public class ConfigurationTestCase
extends BaseTestCase

Tests for the Configuration class.

Version:
$Id: ConfigurationTestCase.java,v 1.3 2001/03/20 19:13:12 geirm Exp $
Author:
Jason van Zyl

Field Summary
private static java.lang.String COMPARE_DIR
          Comparison directory.
private static java.lang.String RESULTS_DIR
          Results directory.
private static java.lang.String TEST_CONFIG
          Test configuration
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
ConfigurationTestCase()
          Creates a new instance.
 
Method Summary
private  void message(java.io.FileWriter result, java.lang.String message)
           
 void runTest()
          Runs the test.
private  void showIterator(java.io.FileWriter result, java.util.Iterator i)
           
private  void showVector(java.io.FileWriter result, java.util.Vector v)
           
static junit.framework.Test suite()
           
 
Methods inherited from class org.apache.velocity.test.BaseTestCase
assureResultsDirectoryExists, getFileName, getTestCaseName, isMatch
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, name, run, run, runBare, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail, failNotEquals, failNotSame
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

COMPARE_DIR

private static final java.lang.String COMPARE_DIR
Comparison directory.

RESULTS_DIR

private static final java.lang.String RESULTS_DIR
Results directory.

TEST_CONFIG

private static final java.lang.String TEST_CONFIG
Test configuration
Constructor Detail

ConfigurationTestCase

public ConfigurationTestCase()
Creates a new instance.
Method Detail

suite

public static junit.framework.Test suite()

runTest

public void runTest()
Runs the test.
Overrides:
runTest in class junit.framework.TestCase

showIterator

private void showIterator(java.io.FileWriter result,
                          java.util.Iterator i)
                   throws java.lang.Exception

showVector

private void showVector(java.io.FileWriter result,
                        java.util.Vector v)
                 throws java.lang.Exception

message

private void message(java.io.FileWriter result,
                     java.lang.String message)
              throws java.lang.Exception


Copyright © 2001 Apache Software Foundation. All Rights Reserved.