|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.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.
| Constructor Summary | |
|---|---|
TestHierarchicalXMLConfiguration()
|
|
| Method Summary | |
|---|---|
protected 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 |
testXmlNodeTypes()
Ensure various node types are correctly processed in config. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestHierarchicalXMLConfiguration()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
public void testGetProperty()
throws java.lang.Exception
java.lang.Exception
public void testLoadURL()
throws java.lang.Exception
java.lang.Exception
public void testLoadBasePath1()
throws java.lang.Exception
java.lang.Exception
public void testLoadBasePath2()
throws java.lang.Exception
java.lang.Exception
public void testXmlNodeTypes()
throws java.lang.Exception
java.lang.Exception
public void testSave()
throws java.lang.Exception
java.lang.Exception
public void testSaveNew()
throws java.lang.Exception
java.lang.Exception
public void testSaveModified()
throws java.lang.Exception
java.lang.Exception
public void testRootElement()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||