org.apache.commons.configuration
Class BaseNonStringProperties

java.lang.Object
  extended by org.apache.commons.configuration.BaseNonStringProperties
Direct Known Subclasses:
TestCompositeConfigurationNonStringProperties, TestNonStringProperties

public abstract class BaseNonStringProperties
extends Object

Test if non-string properties are handled correctly.

Version:
$Id: BaseNonStringProperties.java 1302002 2012-03-17 20:43:46Z sebb $

Field Summary
protected  Configuration conf
           
protected  NonStringTestHolder nonStringTestHolder
           
 
Constructor Summary
BaseNonStringProperties()
           
 
Method Summary
 void testBoolean()
           
 void testBooleanArrayValue()
           
 void testBooleanDefaultValue()
           
 void testByte()
           
 void testByteArrayValue()
           
 void testDouble()
           
 void testDoubleArrayValue()
           
 void testDoubleDefaultValue()
           
 void testFloat()
           
 void testFloatArrayValue()
           
 void testFloatDefaultValue()
           
 void testInteger()
           
 void testIntegerArrayValue()
           
 void testIntegerDefaultValue()
           
 void testIsEmpty()
           
 void testListMissing()
           
 void testLong()
           
 void testLongArrayValue()
           
 void testLongDefaultValue()
           
 void testShort()
           
 void testShortArrayValue()
           
 void testShortDefaultValue()
           
 void testSubset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nonStringTestHolder

protected NonStringTestHolder nonStringTestHolder

conf

protected Configuration conf
Constructor Detail

BaseNonStringProperties

public BaseNonStringProperties()
Method Detail

testBoolean

public void testBoolean()
                 throws Exception
Throws:
Exception

testBooleanDefaultValue

public void testBooleanDefaultValue()
                             throws Exception
Throws:
Exception

testBooleanArrayValue

public void testBooleanArrayValue()
                           throws Exception
Throws:
Exception

testByte

public void testByte()
              throws Exception
Throws:
Exception

testByteArrayValue

public void testByteArrayValue()
                        throws Exception
Throws:
Exception

testDouble

public void testDouble()
                throws Exception
Throws:
Exception

testDoubleDefaultValue

public void testDoubleDefaultValue()
                            throws Exception
Throws:
Exception

testDoubleArrayValue

public void testDoubleArrayValue()
                          throws Exception
Throws:
Exception

testFloat

public void testFloat()
               throws Exception
Throws:
Exception

testFloatDefaultValue

public void testFloatDefaultValue()
                           throws Exception
Throws:
Exception

testFloatArrayValue

public void testFloatArrayValue()
                         throws Exception
Throws:
Exception

testInteger

public void testInteger()
                 throws Exception
Throws:
Exception

testIntegerDefaultValue

public void testIntegerDefaultValue()
                             throws Exception
Throws:
Exception

testIntegerArrayValue

public void testIntegerArrayValue()
                           throws Exception
Throws:
Exception

testLong

public void testLong()
              throws Exception
Throws:
Exception

testLongDefaultValue

public void testLongDefaultValue()
                          throws Exception
Throws:
Exception

testLongArrayValue

public void testLongArrayValue()
                        throws Exception
Throws:
Exception

testShort

public void testShort()
               throws Exception
Throws:
Exception

testShortDefaultValue

public void testShortDefaultValue()
                           throws Exception
Throws:
Exception

testShortArrayValue

public void testShortArrayValue()
                         throws Exception
Throws:
Exception

testListMissing

public void testListMissing()
                     throws Exception
Throws:
Exception

testSubset

public void testSubset()
                throws Exception
Throws:
Exception

testIsEmpty

public void testIsEmpty()
                 throws Exception
Throws:
Exception


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