summaryrefslogtreecommitdiff
path: root/projects/net.wotonomy.foundation/src/test/java/TestBundle.java
diff options
context:
space:
mode:
Diffstat (limited to 'projects/net.wotonomy.foundation/src/test/java/TestBundle.java')
-rw-r--r--projects/net.wotonomy.foundation/src/test/java/TestBundle.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/projects/net.wotonomy.foundation/src/test/java/TestBundle.java b/projects/net.wotonomy.foundation/src/test/java/TestBundle.java
new file mode 100644
index 0000000..7fb5020
--- /dev/null
+++ b/projects/net.wotonomy.foundation/src/test/java/TestBundle.java
@@ -0,0 +1,21 @@
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Properties;
+
+public class TestBundle {
+ public String toString() { return "This is a test"; }
+
+ public static void main(String[] argv) {
+ Properties p = System.getProperties();
+ List keyList = new ArrayList(p.keySet());
+ Collections.sort(keyList);
+ Iterator keys = keyList.iterator();
+ while (keys.hasNext()) {
+ String key = (String)keys.next();
+ System.out.println(key + "=" + p.getProperty(key));
+ }
+
+ }
+}