org.apache.commons.configuration
Class TestBaseNullConfiguration

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

public class TestBaseNullConfiguration
extends Object

Tests some basic functions of the BaseConfiguration class. Missing keys might return null.

Version:
$Id: TestBaseNullConfiguration.java 1222842 2011-12-23 20:56:58Z oheger $

Field Summary
protected  BaseConfiguration config
           
 
Constructor Summary
TestBaseNullConfiguration()
           
 
Method Summary
 void setUp()
           
 void testCommaSeparatedString()
           
 void testCommaSeparatedStringEscaped()
           
 void testGetBigDecimal()
           
 void testGetBigDecimalIncompatibleType()
           
 void testGetBigDecimalUnknown()
           
 void testGetBigInteger()
           
 void testGetBigIntegerIncompatibleType()
           
 void testGetBigIntegerUnknown()
           
 void testGetBoolean()
           
 void testGetBooleanIncompatibleType()
           
 void testGetBooleanUnknown()
           
 void testGetByte()
           
 void testGetByteIncompatibleType()
           
 void testGetByteUnknown()
           
 void testGetDouble()
           
 void testGetDoubleIncompatibleType()
           
 void testGetDoubleUnknown()
           
 void testGetFloat()
           
 void testGetFloatIncompatibleType()
           
 void testGetFloatUnknown()
           
 void testGetList()
           
 void testGetListAsScalar()
           
 void testGetLong()
           
 void testGetLongIncompatibleTypes()
           
 void testGetLongUnknown()
           
 void testGetProperty()
           
 void testGetShort()
           
 void testGetShortIncompatibleType()
           
 void testGetShortUnknown()
           
 void testGetString()
           
 void testGetStringUnknown()
           
 void testInterpolation()
           
 void testInterpolationLoop()
           
 void testMultipleInterpolation()
           
 void testPropertyAccess()
           
 void testSubset()
           
 void testThrowExceptionOnMissing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

protected BaseConfiguration config
Constructor Detail

TestBaseNullConfiguration

public TestBaseNullConfiguration()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testThrowExceptionOnMissing

public void testThrowExceptionOnMissing()

testGetProperty

public void testGetProperty()

testGetByte

public void testGetByte()

testGetByteUnknown

public void testGetByteUnknown()

testGetByteIncompatibleType

public void testGetByteIncompatibleType()

testGetShort

public void testGetShort()

testGetShortUnknown

public void testGetShortUnknown()

testGetShortIncompatibleType

public void testGetShortIncompatibleType()

testGetLong

public void testGetLong()

testGetLongUnknown

public void testGetLongUnknown()

testGetLongIncompatibleTypes

public void testGetLongIncompatibleTypes()

testGetFloat

public void testGetFloat()

testGetFloatUnknown

public void testGetFloatUnknown()

testGetFloatIncompatibleType

public void testGetFloatIncompatibleType()

testGetDouble

public void testGetDouble()

testGetDoubleUnknown

public void testGetDoubleUnknown()

testGetDoubleIncompatibleType

public void testGetDoubleIncompatibleType()

testGetBigDecimal

public void testGetBigDecimal()

testGetBigDecimalUnknown

public void testGetBigDecimalUnknown()

testGetBigDecimalIncompatibleType

public void testGetBigDecimalIncompatibleType()

testGetBigInteger

public void testGetBigInteger()

testGetBigIntegerUnknown

public void testGetBigIntegerUnknown()

testGetBigIntegerIncompatibleType

public void testGetBigIntegerIncompatibleType()

testGetString

public void testGetString()

testGetStringUnknown

public void testGetStringUnknown()

testGetBoolean

public void testGetBoolean()

testGetBooleanUnknown

public void testGetBooleanUnknown()

testGetBooleanIncompatibleType

public void testGetBooleanIncompatibleType()

testGetList

public void testGetList()

testGetListAsScalar

public void testGetListAsScalar()

testCommaSeparatedString

public void testCommaSeparatedString()

testCommaSeparatedStringEscaped

public void testCommaSeparatedStringEscaped()

testPropertyAccess

public void testPropertyAccess()

testSubset

public void testSubset()

testInterpolation

public void testInterpolation()
                       throws Exception
Throws:
Exception

testMultipleInterpolation

public void testMultipleInterpolation()
                               throws Exception
Throws:
Exception

testInterpolationLoop

public void testInterpolationLoop()
                           throws Exception
Throws:
Exception


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