|
||||||||||
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 NodeCombiner |
combiner
The combiner to be tested. |
Constructor Summary | |
---|---|
AbstractCombinerTest()
|
Method Summary | |
---|---|
protected HierarchicalConfiguration |
createCombinedConfiguration()
Constructs a union configuration based on the source configurations. |
protected abstract 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 NodeCombiner combiner
Constructor Detail |
---|
public AbstractCombinerTest()
Method Detail |
---|
public void setUp() throws Exception
Exception
protected abstract NodeCombiner createCombiner()
setUp()
. It must be implemented in concrete sub classes.
protected HierarchicalConfiguration createCombinedConfiguration() throws ConfigurationException
ConfigurationException
- if an error occurspublic void testInit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |