1 package org.quartz.utils; 2 3 import java.util.Properties ; 4 5 import junit.framework.TestCase; 6 7 10 public class PropertiesParserTest extends TestCase { 11 12 15 public void testGetPropertyGroupStringBooleanStringArray() { 16 Properties props = new Properties (); 18 props.put("x.y.z", ""); 19 20 PropertiesParser propertiesParser = new PropertiesParser(props); 21 Properties propGroup = propertiesParser.getPropertyGroup("x.y", true, new String [] {}); 22 assertEquals("", propGroup.getProperty("z")); 23 } 24 } 25 | Popular Tags |