|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.configuration.tree.AbstractCombinerTest
org.apache.commons.configuration.tree.TestMergeCombiner
public class TestMergeCombiner
Test class for MergeCombiner.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.configuration.tree.AbstractCombinerTest |
|---|
combiner |
| Constructor Summary | |
|---|---|
TestMergeCombiner()
|
|
| Method Summary | |
|---|---|
protected org.apache.commons.configuration.tree.NodeCombiner |
createCombiner()
Creates the combiner. |
void |
testAttributes()
Tests combination of attributes. |
void |
testCombinedTable()
Tests the combination of the table structure. |
void |
testListFromFirstStructure()
Tests if a list from the first node structure overrides a list in the second structure. |
void |
testListFromSecondStructure()
Tests if a list from the second structure is added if it is not defined in the first structure. |
void |
testMerge()
|
void |
testOverrideValues()
Tests whether property values are correctly overridden. |
void |
testSimpleValues()
Tests combination of simple elements. |
| Methods inherited from class org.apache.commons.configuration.tree.AbstractCombinerTest |
|---|
createCombinedConfiguration, setUp, testInit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestMergeCombiner()
| Method Detail |
|---|
protected org.apache.commons.configuration.tree.NodeCombiner createCombiner()
createCombiner in class AbstractCombinerTest
public void testSimpleValues()
throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public void testAttributes()
throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public void testOverrideValues()
throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public void testListFromFirstStructure()
throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public void testListFromSecondStructure()
throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public void testCombinedTable()
throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
public void testMerge()
throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||