Moved test code into separate unit test driver.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@544 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: ConfigUtil.java,v 1.5 2001/09/20 20:39:49 mdb Exp $
|
// $Id: ConfigUtil.java,v 1.6 2002/01/29 23:19:41 mdb Exp $
|
||||||
//
|
//
|
||||||
// samskivert library - useful routines for java programs
|
// samskivert library - useful routines for java programs
|
||||||
// Copyright (C) 2001 Michael Bayne
|
// Copyright (C) 2001 Michael Bayne
|
||||||
@@ -262,18 +262,4 @@ public class ConfigUtil
|
|||||||
return "/" + path;
|
return "/" + path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Unit test driver.
|
|
||||||
*/
|
|
||||||
public static void main (String[] args)
|
|
||||||
{
|
|
||||||
try {
|
|
||||||
String path = "/com/samskivert/util/test.properties";
|
|
||||||
Properties props = loadInheritedProperties(path);
|
|
||||||
System.out.println(props);
|
|
||||||
} catch (Exception e) {
|
|
||||||
e.printStackTrace(System.err);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user