org.apache.commons.configuration
Class TestAbstractConfigurationBasicFeatures

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.configuration.TestAbstractConfigurationBasicFeatures
All Implemented Interfaces:
junit.framework.Test

public class TestAbstractConfigurationBasicFeatures
extends junit.framework.TestCase

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

Version:
$Id: TestAbstractConfigurationBasicFeatures.java 567771 2007-08-20 17:57:08Z 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 testInterpolateEscape()
          Tests escaping the variable marker, so that no interpolation will be performed.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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.



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