|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.configuration.tree.AbstractCombinerTest
public abstract class AbstractCombinerTest
A base class for testing combiner implementations. This base class provides some functionality for loading the test configurations, which are to be combined. Concrete sub classes only need to create the correct combiner object.
| Field Summary | |
|---|---|
protected org.apache.commons.configuration.tree.NodeCombiner |
combiner
The combiner to be tested. |
| Constructor Summary | |
|---|---|
AbstractCombinerTest()
|
|
| Method Summary | |
|---|---|
protected org.apache.commons.configuration.HierarchicalConfiguration |
createCombinedConfiguration()
Constructs a union configuration based on the source configurations. |
protected abstract org.apache.commons.configuration.tree.NodeCombiner |
createCombiner()
Creates the combiner to be tested. |
void |
setUp()
|
void |
testInit()
Tests a newly created combiner. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.commons.configuration.tree.NodeCombiner combiner
| Constructor Detail |
|---|
public AbstractCombinerTest()
| Method Detail |
|---|
public void setUp()
throws Exception
Exceptionprotected abstract org.apache.commons.configuration.tree.NodeCombiner createCombiner()
setUp(). It must be implemented in concrete sub classes.
protected org.apache.commons.configuration.HierarchicalConfiguration createCombinedConfiguration()
throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException - if an error occurspublic void testInit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||