| Home >> All >> com >> arranger >> jarl >> [ test Javadoc ] |
Source code: com/arranger/jarl/test/SystemPropTest.java
1 package com.arranger.jarl.test; 2 3 import junit.framework.TestCase; 4 5 import java.util.Iterator; 6 import java.util.Properties; 7 8 /** 9 * SystemPropTest created on Apr 3, 2003 10 */ 11 public class SystemPropTest extends TestCase { 12 13 public void testSystemProps() { 14 15 Properties properties = System.getProperties(); 16 for (Iterator it = properties.keySet().iterator(); it.hasNext();) { 17 String key = (String)it.next(); 18 String value = properties.getProperty(key); 19 20 System.out.println(key + " -> " + value); 21 } 22 } 23 }