public void testParsePropertiesFile()
throws ConfigurationException, SourceException
{
File propertiesFile
= new File("src/test/resources/org/apache/torque/generator/source/properties/propertiesParserTest.properties");
FileSource fileSource
= new FileSource(
new PropertiesSourceFormat(),
propertiesFile,
controllerState);
SourceElement rootElement = fileSource.getRootElement();
assertEquals("properties", rootElement.getName());
assertEquals(0, rootElement.getAttributeNames().size());
assertEquals(2, rootElement.getChildren().size());
{