org.apache.velocity.test
Class AnakiaTestCase

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

public class AnakiaTestCase
extends BaseTestCase

This is a test case for Anakia. Right now, it simply will compare two index.html files together. These are produced as a result of first running Anakia and then running this test.

Version:
$Id: AnakiaTestCase.java,v 1.5 2001/08/07 22:20:28 geirm Exp $
Author:
Jon S. Stevens

Field Summary
private static java.lang.String COMPARE_DIR
           
private static java.lang.String FILE_EXT
           
private static java.lang.String RESULTS_DIR
           
 
Fields inherited from class org.apache.velocity.test.BaseTestCase
perl
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
AnakiaTestCase()
          Creates a new instance.
 
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
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, setName, setUp, 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

COMPARE_DIR

private static final java.lang.String COMPARE_DIR

RESULTS_DIR

private static final java.lang.String RESULTS_DIR

FILE_EXT

private static final java.lang.String FILE_EXT
Constructor Detail

AnakiaTestCase

public AnakiaTestCase()
Creates a new instance.
Method Detail

suite

public static junit.framework.Test suite()

runTest

public void runTest()
Runs the test. This is empty on purpose because the code to do the Anakia output is in the .xml file that runs this test.
Overrides:
runTest in class junit.framework.TestCase


Copyright © 2003 Apache Software Foundation. All Rights Reserved.