@Test public void testAddConfiguredProperty() { ExportCfgTask ect = new ExportCfgTask(null); assertNull(ect.properties.get("foo")); Variable v = new Variable(); v.setKey("foo"); v.setValue("bar"); ect.addConfiguredProperty(v); assertEquals("bar", ect.properties.get("foo")); }
public void addConfiguredProperty(Variable variable) { properties.put(variable.getKey(), variable.getValue()); }
ExportCfgTask { public void addConfiguredProperty(Variable variable) { properties.put(variable.getKey(), variable.getValue()); } }
ExportCfgTask { public void addConfiguredProperty(Variable variable) { properties.put(variable.getKey(), variable.getValue()); } ExportCfgTask(HibernateToolTask parent); }
ExportCfgTask { public void addConfiguredProperty(Variable variable) { properties.put(variable.getKey(), variable.getValue()); } ExportCfgTask(HibernateToolTask parent); Properties getProperties(); void setDestinationFolder(File destinationFolder); void setMetadataDescriptor(MetadataDescriptor metadataDescriptor); void setTemplatePath(Path path); void addConfiguredProperty(Variable variable); void execute(); }
ExportCfgTask { public void addConfiguredProperty(Variable variable) { properties.put(variable.getKey(), variable.getValue()); } ExportCfgTask(HibernateToolTask parent); Properties getProperties(); void setDestinationFolder(File destinationFolder); void setMetadataDescriptor(MetadataDescriptor metadataDescriptor); void setTemplatePath(Path path); void addConfiguredProperty(Variable variable); void execute();  }