|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.TestHierarchicalXMLConfiguration
public class TestHierarchicalXMLConfiguration
Test class for XMLConfiguration. In addition to TestXMLConfiguration this class especially tests the hierarchical nature of this class and structured data access.
Field Summary | |
---|---|
org.junit.rules.TemporaryFolder |
folder
Helper object for creating temporary files. |
Constructor Summary | |
---|---|
TestHierarchicalXMLConfiguration()
|
Method Summary | |
---|---|
void |
setUp()
Fixture setup. |
void |
testGetProperty()
|
void |
testLoadBasePath1()
|
void |
testLoadBasePath2()
|
void |
testLoadURL()
|
void |
testRootElement()
Tests manipulation of the root element's name. |
void |
testSave()
|
void |
testSaveModified()
Tests to save a modified configuration. |
void |
testSaveNew()
Tests to save a newly created configuration. |
void |
testSetRootElementNameWhenLoadedFromFile()
Tests that it is not allowed to change the root element name when the configuration was loaded from a file. |
void |
testXmlNodeTypes()
Ensure various node types are correctly processed in config. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public org.junit.rules.TemporaryFolder folder
Constructor Detail |
---|
public TestHierarchicalXMLConfiguration()
Method Detail |
---|
public void setUp() throws Exception
Exception
public void testGetProperty() throws Exception
Exception
public void testLoadURL() throws Exception
Exception
public void testLoadBasePath1() throws Exception
Exception
public void testLoadBasePath2() throws Exception
Exception
public void testXmlNodeTypes() throws Exception
Exception
public void testSave() throws Exception
Exception
public void testSaveNew() throws Exception
Exception
public void testSaveModified() throws Exception
Exception
public void testRootElement() throws Exception
Exception
public void testSetRootElementNameWhenLoadedFromFile() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |