org.apache.commons.configuration
Class TestAbstractConfigurationBasicFeatures

java.lang.Object
  extended by org.apache.commons.configuration.TestAbstractConfigurationBasicFeatures

public class TestAbstractConfigurationBasicFeatures
extends Object

A test class for some of the basic functionality implemented by AbstractConfiguration.

Version:
$Id: TestAbstractConfigurationBasicFeatures.java 1222823 2011-12-23 20:03:10Z oheger $

Constructor Summary
TestAbstractConfigurationBasicFeatures()
           
 
Method Summary
 void testAddPropertyList()
          Tests adding list properties.
 void testAddPropertyListNoDelimiterParsing()
          Tests adding list properties when delimiter parsing is disabled.
 void testAppend()
          Tests the append() method.
 void testAppendEvents()
          Tests the events generated by an append() operation.
 void testAppendNull()
          Tests appending a null configuration.
 void testAppendWithLists()
          Tests the append() method when properties with multiple values and escaped list delimiters are involved.
 void testClearIteratorNoRemove()
          Tests the clear() implementation of AbstractConfiguration if the iterator returned by getKeys() does not support the remove() operation.
 void testCopy()
          Tests the copy() method.
 void testCopyEvents()
          Tests the events generated by a copy() operation.
 void testCopyNull()
          Tests copying a null configuration.
 void testCopyWithLists()
          Tests the copy() method when properties with multiple values and escaped list delimiters are involved.
 void testGetListNonString()
          Tests getList() for single non-string values.
 void testGetStringArrayNonString()
          Tests getStringArray() for single son-string values.
 void testInterpolateEnvironmentVariables()
          Tests whether environment variables can be interpolated.
 void testInterpolateEscape()
          Tests escaping the variable marker, so that no interpolation will be performed.
 void testNestedVariableInterpolation()
          Tests whether interpolation works in variable names.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestAbstractConfigurationBasicFeatures

public TestAbstractConfigurationBasicFeatures()
Method Detail

testClearIteratorNoRemove

public void testClearIteratorNoRemove()
Tests the clear() implementation of AbstractConfiguration if the iterator returned by getKeys() does not support the remove() operation.


testInterpolateEscape

public void testInterpolateEscape()
Tests escaping the variable marker, so that no interpolation will be performed.


testAddPropertyList

public void testAddPropertyList()
Tests adding list properties. The single elements of the list should be added.


testAddPropertyListNoDelimiterParsing

public void testAddPropertyListNoDelimiterParsing()
Tests adding list properties when delimiter parsing is disabled.


testCopy

public void testCopy()
Tests the copy() method.


testCopyWithLists

public void testCopyWithLists()
Tests the copy() method when properties with multiple values and escaped list delimiters are involved.


testCopyEvents

public void testCopyEvents()
Tests the events generated by a copy() operation.


testCopyNull

public void testCopyNull()
Tests copying a null configuration. This should be a noop.


testAppend

public void testAppend()
Tests the append() method.


testAppendWithLists

public void testAppendWithLists()
Tests the append() method when properties with multiple values and escaped list delimiters are involved.


testAppendEvents

public void testAppendEvents()
Tests the events generated by an append() operation.


testAppendNull

public void testAppendNull()
Tests appending a null configuration. This should be a noop.


testInterpolateEnvironmentVariables

public void testInterpolateEnvironmentVariables()
Tests whether environment variables can be interpolated.


testGetListNonString

public void testGetListNonString()
Tests getList() for single non-string values.


testGetStringArrayNonString

public void testGetStringArrayNonString()
Tests getStringArray() for single son-string values.


testNestedVariableInterpolation

public void testNestedVariableInterpolation()
Tests whether interpolation works in variable names.



Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.