Javadoc and Reformat files

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131116 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2003-08-24 11:29:52 +00:00
parent 9c45ea86bb
commit bd5708f488
2 changed files with 509 additions and 840 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestExtendedProperties.java,v 1.5 2003/08/24 10:50:58 scolebourne Exp $
* $Revision: 1.5 $
* $Date: 2003/08/24 10:50:58 $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/TestExtendedProperties.java,v 1.6 2003/08/24 11:29:52 scolebourne Exp $
* $Revision: 1.6 $
* $Date: 2003/08/24 11:29:52 $
*
* ====================================================================
*
@ -73,34 +73,29 @@ import java.io.*;
*
* @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
* @author Mohan Kishore
* @version $Id: TestExtendedProperties.java,v 1.5 2003/08/24 10:50:58 scolebourne Exp $
* @author Stephen Colebourne
* @version $Id: TestExtendedProperties.java,v 1.6 2003/08/24 11:29:52 scolebourne Exp $
*/
public class TestExtendedProperties extends TestCase
{
public class TestExtendedProperties extends TestCase {
protected ExtendedProperties eprop = new ExtendedProperties();
public TestExtendedProperties(String testName)
{
public TestExtendedProperties(String testName) {
super(testName);
}
public static Test suite()
{
public static Test suite() {
return new TestSuite(TestExtendedProperties.class);
}
public static void main(String args[])
{
public static void main(String args[]) {
String[] testCaseName = { TestExtendedProperties.class.getName()};
junit.textui.TestRunner.main(testCaseName);
}
public void testRetrieve()
{
public void testRetrieve() {
/*
* should be emptry and return null
*/
assertEquals("This returns null", eprop.getProperty("foo"), null);
/*
@ -148,8 +143,7 @@ public class TestExtendedProperties extends TestCase
}
public void testInterpolation()
{
public void testInterpolation() {
eprop.setProperty("applicationRoot", "/home/applicationRoot");
eprop.setProperty("db", "${applicationRoot}/db/hypersonic");
String dbProp = "/home/applicationRoot/db/hypersonic";
@ -219,4 +213,5 @@ public class TestExtendedProperties extends TestCase
fail("There was an exception loading the EP");
}
}
}