|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.TestConfigurationUtils
public class TestConfigurationUtils
Tests the ConfigurationUtils class
Field Summary | |
---|---|
protected Configuration |
config
|
Constructor Summary | |
---|---|
TestConfigurationUtils()
|
Method Summary | |
---|---|
void |
testAppend()
|
void |
testCloneConfiguration()
Tests cloning a configuration that supports this operation. |
void |
testCloneConfigurationNotSupported()
Tests cloning a configuration that does not support this operation. |
void |
testCloneConfigurationNull()
Tests cloning a null configuration. |
void |
testConvertHierarchicalToHierarchical()
Tests converting a configuration into a hierarchical one that is already hierarchical. |
void |
testConvertHierarchicalToHierarchicalEngine()
Tests converting an already hierarchical configuration using an expression engine. |
void |
testConvertHierarchicalToHierarchicalNullEngine()
Tests converting an already hierarchical configuration using a null expression engine. |
void |
testConvertNullToHierarchical()
Tests converting a null configuration to a hierarchical one. |
void |
testConvertToHierarchical()
Tests converting a configuration into a hierarchical one. |
void |
testConvertToHierarchicalDelimiters()
Tests converting a configuration into a hierarchical one if some of its properties contain escaped list delimiter characters. |
void |
testConvertToHierarchicalEngine()
Tests converting a configuration to a hierarchical one using a specific expression engine. |
void |
testConvertToHierarchicalMultiValues()
Tests converting a configuration to a hierarchical one that contains a property with multiple values. |
void |
testCopy()
|
void |
testEnableRuntimeExceptions()
Tests whether runtime exceptions can be enabled. |
void |
testEnableRuntimeExceptionsInvalid()
Tries to enable runtime exceptions for a configuration that does not inherit from EventSource. |
void |
testEnableRuntimeExceptionsNull()
Tries to enable runtime exceptions for a null configuration. |
void |
testFileFromURLNull()
Tests whether fileFromURL() handles null URLs correctly. |
void |
testFileFromURLWithPlus()
Tests whether a "+" character in the file name is handled correctly by fileFromURL(). |
void |
testGetBasePath()
|
void |
testGetFile()
|
void |
testGetFileName()
|
void |
testGetURL()
|
void |
testLocateWithNullTCCL()
|
void |
testToString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Configuration config
Constructor Detail |
---|
public TestConfigurationUtils()
Method Detail |
---|
public void testToString()
public void testGetURL() throws Exception
Exception
public void testGetBasePath() throws Exception
Exception
public void testGetFileName() throws Exception
Exception
public void testCopy()
public void testAppend()
public void testGetFile() throws Exception
Exception
public void testFileFromURLWithPlus() throws MalformedURLException
MalformedURLException
public void testFileFromURLNull() throws Exception
Exception
public void testLocateWithNullTCCL() throws Exception
Exception
public void testConvertToHierarchical()
public void testConvertHierarchicalToHierarchical()
public void testConvertNullToHierarchical()
public void testConvertToHierarchicalDelimiters()
public void testConvertToHierarchicalEngine()
public void testConvertHierarchicalToHierarchicalEngine()
public void testConvertHierarchicalToHierarchicalNullEngine()
public void testConvertToHierarchicalMultiValues()
public void testCloneConfiguration()
public void testCloneConfigurationNotSupported()
public void testCloneConfigurationNull()
public void testEnableRuntimeExceptions()
public void testEnableRuntimeExceptionsInvalid()
public void testEnableRuntimeExceptionsNull()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |