test_class.file: common/src/test/java/org/pig/oink/common/config/TestPropertyLoader.java
test_class.identifier: TestPropertyLoader
test_case.body: @Test
  	public void testPropertyLoader() {
  		PropertyLoader.getInstance().init("TraverserTests.properties");
  		Assert.assertNotNull(PropertyLoader.getInstance().getProperty("FileTraverser.basePath"));
  		Assert.assertNotNull(PropertyLoader.getInstance().getProperty("HDFSTraverser.basePath"));
  		PropertyLoader.getInstance().setProperty("test", "test1");
  		Assert.assertEquals(PropertyLoader.getInstance().getProperty("test"), "test1");
  		System.setProperty("test1", "test2");
  		Assert.assertEquals(PropertyLoader.getInstance().getProperty("test1"), "test2");
  		Assert.assertNull(PropertyLoader.getInstance().getProperty("test2"));
  		
  		try {
  			PropertyLoader.getInstance().init(null);
  			Assert.fail();
  		} catch(IllegalArgumentException e) {
  		}
  		try {
  			PropertyLoader.getInstance().init("abc");
  			Assert.fail();
  		} catch(Exception e) {
  		}
  
  	}
test_case.class_method_signature: TestPropertyLoader.testPropertyLoader()
test_case.full_signature: @Test public void testPropertyLoader()
test_case.identifier: testPropertyLoader
test_case.invocations: init getInstance assertNotNull getProperty getInstance assertNotNull getProperty getInstance setProperty getInstance assertEquals getProperty getInstance setProperty assertEquals getProperty getInstance assertNull getProperty getInstance init getInstance fail init getInstance fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPropertyLoader()
focal_class.declarator: logger = Logger.getLogger(PropertyLoader.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = Logger.getLogger(PropertyLoader.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: properties = new Properties()
focal_class.modifier: private static
focal_class.original_string: private static Properties properties = new Properties();
focal_class.type: Properties
focal_class.var_name: properties
focal_class.declarator: instance = new  PropertyLoader()
focal_class.modifier: private static final
focal_class.original_string: private static final PropertyLoader instance = new  PropertyLoader();
focal_class.type: PropertyLoader
focal_class.var_name: instance
focal_class.file: common/src/main/java/org/pig/oink/common/config/PropertyLoader.java
focal_class.identifier: PropertyLoader
focal_class.class_method_signature: PropertyLoader.PropertyLoader()
focal_class.full_signature: private  PropertyLoader()
focal_class.identifier: PropertyLoader
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  PropertyLoader()
focal_class.class_method_signature: PropertyLoader.getInstance()
focal_class.full_signature: public static PropertyLoader getInstance()
focal_class.identifier: getInstance
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: PropertyLoader
focal_class.signature: PropertyLoader getInstance()
focal_class.class_method_signature: PropertyLoader.init(String path)
focal_class.full_signature: public void init(String path)
focal_class.identifier: init
focal_class.modifiers: public
focal_class.parameters: (String path)
focal_class.return: void
focal_class.signature: void init(String path)
focal_class.class_method_signature: PropertyLoader.getProperty(String key)
focal_class.full_signature: public String getProperty(String key)
focal_class.identifier: getProperty
focal_class.modifiers: public
focal_class.parameters: (String key)
focal_class.return: String
focal_class.signature: String getProperty(String key)
focal_class.class_method_signature: PropertyLoader.setProperty(String key, String value)
focal_class.full_signature: public void setProperty(String key, String value)
focal_class.identifier: setProperty
focal_class.modifiers: public
focal_class.parameters: (String key, String value)
focal_class.return: void
focal_class.signature: void setProperty(String key, String value)
focal_class.class_method_signature: PropertyLoader.getKeySet()
focal_class.full_signature: public Set<Object> getKeySet()
focal_class.identifier: getKeySet
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<Object>
focal_class.signature: Set<Object> getKeySet()
focal_method.body: private PropertyLoader() {
  	}
focal_method.class_method_signature: PropertyLoader.PropertyLoader()
focal_method.full_signature: private  PropertyLoader()
focal_method.identifier: PropertyLoader
focal_method.modifiers: private
focal_method.parameters: ()
focal_method.signature:  PropertyLoader()