org.apache.commons.configuration.web
Class TestServletRequestConfiguration

java.lang.Object
  extended by org.apache.commons.configuration.TestAbstractConfiguration
      extended by org.apache.commons.configuration.web.TestServletRequestConfiguration

public class TestServletRequestConfiguration
extends TestAbstractConfiguration

Test case for the ServletRequestConfiguration class.

Version:
$Id: TestServletRequestConfiguration.java 1222465 2011-12-22 21:32:56Z oheger $
Author:
Emmanuel Bourg

Constructor Summary
TestServletRequestConfiguration()
           
 
Method Summary
protected  AbstractConfiguration getConfiguration()
          Return an abstract configuration with the following data:
key1 = value1 key2 = value2 list = value1, value2 listesc = value1\\,value2
protected  AbstractConfiguration getEmptyConfiguration()
          Return an empty configuration.
 void testAddPropertyDirect()
           
 void testClearProperty()
           
 void testListWithEscapedElements()
          Tests a list with elements that contain an escaped list delimiter.
 
Methods inherited from class org.apache.commons.configuration.TestAbstractConfiguration
testContainsKey, testGetBigIntegerConversion, testGetKeys, testGetProperty, testIsEmpty, testList, testListEscaped, testSetLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestServletRequestConfiguration

public TestServletRequestConfiguration()
Method Detail

getConfiguration

protected AbstractConfiguration getConfiguration()
Description copied from class: TestAbstractConfiguration
Return an abstract configuration with the following data:
 key1 = value1
 key2 = value2
 list = value1, value2
 listesc = value1\\,value2
 

Specified by:
getConfiguration in class TestAbstractConfiguration

getEmptyConfiguration

protected AbstractConfiguration getEmptyConfiguration()
Description copied from class: TestAbstractConfiguration
Return an empty configuration.

Specified by:
getEmptyConfiguration in class TestAbstractConfiguration

testAddPropertyDirect

public void testAddPropertyDirect()
Overrides:
testAddPropertyDirect in class TestAbstractConfiguration

testClearProperty

public void testClearProperty()
Overrides:
testClearProperty in class TestAbstractConfiguration

testListWithEscapedElements

public void testListWithEscapedElements()
Tests a list with elements that contain an escaped list delimiter.



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