org.apache.velocity.test
Class TexenClasspathTestCase

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

public class TexenClasspathTestCase
extends BaseTestCase

This is a test case for Texen. Simply executes a simple generative task and compares the output.

Version:
$Id: TexenClasspathTestCase.java,v 1.3 2001/08/30 14:10:17 jvanzyl Exp $
Author:
Jason van Zyl

Field Summary
private static java.lang.String COMPARE_DIR
          Directory where comparison output is stored.
private static java.lang.String RESULTS_DIR
          Directory where results are generated.
 
Fields inherited from class org.apache.velocity.test.BaseTestCase
perl
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
TexenClasspathTestCase()
          Creates a new instance.
 
Method Summary
 void runTest()
          Runs the test.
protected  void setUp()
          Sets up the test.
static junit.framework.Test suite()
           
 
Methods inherited from class org.apache.velocity.test.BaseTestCase
assureResultsDirectoryExists, getFileName, getTestCaseName, isMatch, normalizeNewlines
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

RESULTS_DIR

private static final java.lang.String RESULTS_DIR
Directory where results are generated.

COMPARE_DIR

private static final java.lang.String COMPARE_DIR
Directory where comparison output is stored.
Constructor Detail

TexenClasspathTestCase

public TexenClasspathTestCase()
Creates a new instance.
Method Detail

suite

public static junit.framework.Test suite()

setUp

protected void setUp()
Sets up the test.
Overrides:
setUp in class junit.framework.TestCase

runTest

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


Copyright © 2003 Apache Software Foundation. All Rights Reserved.