org.apache.velocity.test
Class CommonsExtPropTestCase
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--org.apache.velocity.test.BaseTestCase
|
+--org.apache.velocity.test.CommonsExtPropTestCase
- All Implemented Interfaces:
- junit.framework.Test
- public class CommonsExtPropTestCase
- extends BaseTestCase
Tests for the Commons ExtendedProperties class. This is an identical
copy of the ConfigurationTestCase, which will disappear when
the Configuration class does
- Version:
- $Id: CommonsExtPropTestCase.java,v 1.1 2001/05/20 20:30:37 geirm Exp $
- Author:
- Jason van Zyl, Geir Magnusson Jr.
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 |
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 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 |
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
CommonsExtPropTestCase
public CommonsExtPropTestCase()
- Creates a new instance.
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.