|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.TestPropertyConverter
public class TestPropertyConverter
Test class for PropertyConverter.
Constructor Summary | |
---|---|
TestPropertyConverter()
|
Method Summary | |
---|---|
void |
testCyclicInterpolation()
Tests an interpolation that leads to a cycle. |
void |
testEscapeDelimiters()
Tests whether delimiters are correctly escaped. |
void |
testEscapeListDelimiter()
Tests whether only the list delimiter can be escaped. |
void |
testInterpolateObject()
Tests interpolation of an object. |
void |
testInterpolateRecursive()
Tests complex interpolation where the variables' values contain in turn other variables. |
void |
testInterpolateString()
Tests the interpolation features. |
void |
testInterpolationUnknownVariable()
Tests interpolation if a variable is unknown. |
void |
testSplit()
|
void |
testSplitEmptyValues()
|
void |
testSplitEscapeEscapeChar()
Tests whether an escape character can be itself escaped. |
void |
testSplitNoTrim()
|
void |
testSplitNull()
|
void |
testSplitWithEndingSlash()
|
void |
testSplitWithEscapedSeparator()
|
void |
testToEnumFromEnum()
|
void |
testToEnumFromInvalidNumber()
|
void |
testToEnumFromInvalidString()
|
void |
testToEnumFromNumber()
|
void |
testToEnumFromString()
|
void |
testToIterator()
|
void |
testToNoConversionNeeded()
Tests a trivial conversion: the value has already the desired type. |
void |
testToNumberDirect()
Tests conversion to numbers when the passed in objects are already numbers. |
void |
testToNumberFromBinaryString()
Tests conversion to numbers when the passed in objects are strings with prefixes for special radices. |
void |
testToNumberFromHexString()
Tests conversion to numbers when the passed in objects are strings with prefixes for special radices. |
void |
testToNumberFromInvalidBinaryString()
Tests conversion to numbers when an invalid binary value is passed in. |
void |
testToNumberFromInvalidHexString()
Tests conversion to numbers when an invalid Hex value is passed in. |
void |
testToNumberFromInvalidString()
Tests conversion to numbers when the passed in objects have no numeric String representation. |
void |
testToNumberFromString()
Tests conversion to numbers when the passed in objects have a compatible string representation. |
void |
testToNumberWithInvalidClass()
Tests conversion to numbers when the passed in target class is invalid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestPropertyConverter()
Method Detail |
---|
public void testSplit()
public void testSplitNoTrim()
public void testSplitWithEscapedSeparator()
public void testSplitEmptyValues()
public void testSplitWithEndingSlash()
public void testSplitNull()
public void testSplitEscapeEscapeChar()
public void testEscapeDelimiters()
public void testEscapeListDelimiter()
public void testToIterator()
public void testInterpolateString()
public void testInterpolateObject()
public void testInterpolateRecursive()
public void testCyclicInterpolation()
public void testInterpolationUnknownVariable()
public void testToNumberDirect()
public void testToNumberFromString()
public void testToNumberFromHexString()
public void testToNumberFromInvalidHexString()
public void testToNumberFromBinaryString()
public void testToNumberFromInvalidBinaryString()
public void testToNumberFromInvalidString()
public void testToNumberWithInvalidClass()
public void testToEnumFromEnum()
public void testToEnumFromString()
public void testToEnumFromInvalidString()
public void testToEnumFromNumber()
public void testToEnumFromInvalidNumber()
public void testToNoConversionNeeded()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |