|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.tree.TestDefaultConfigurationKey
public class TestDefaultConfigurationKey
Test class for DefaultConfigurationKey.
Constructor Summary | |
---|---|
TestDefaultConfigurationKey()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
testAppend()
Tests appending keys. |
void |
testAppendAttribute()
Tests appending attribute keys. |
void |
testAppendComplexKey()
Tests constructing a complex key by chaining multiple append operations. |
void |
testAppendDecoratedAttributeKey()
Tests appending an attribute key that is already decorated- |
void |
testAppendDelimiters()
Tests appending keys that contain delimiters. |
void |
testAppendDelimitersWithoutEscaping()
Tests appending keys that contain delimiters when no escpaped delimiter is defined. |
void |
testAppendIndex()
Tests appending an index to a key. |
void |
testAppendNullAttributeKey()
Tests appending a null attribute key. |
void |
testAppendWithEscapeFlag()
Tests calling append with the escape flag. |
void |
testAttributeKeyWithIndex()
Tests iterating over an attribute key that has an index. |
void |
testAttributeName()
Tests determining an attribute key's name. |
void |
testConstructAttributeKey()
Tests constructing keys for attributes. |
void |
testConstructAttributeKeyWithoutEndMarkers()
Tests constructing attribute keys when no end markers are defined. |
void |
testEquals()
Tests comparing configuration keys. |
void |
testIsAttributeKey()
Tests the isAttributeKey() method with several keys. |
void |
testIsAttributeKeyWithoutEndMarkers()
Tests if attribute keys are correctly detected if no end markers are set. |
void |
testIterate()
Tests to iterate over a simple key. |
void |
testIterateAlternativeEscapeDelimiter()
Tests iterating over keys when a different escaped delimiter is used. |
void |
testIterateAttributeEqualsPropertyDelimiter()
Tests iteration when the attribute markers equals the property delimiter. |
void |
testIterateEscapedDelimiters()
Tests iterating over keys with escaped delimiters. |
void |
testIterateStrangeKeys()
Tests iterating over some funny keys. |
void |
testIterateWithBrackets()
Tests whether a key with brackets in it can be iterated over. |
void |
testIterateWithoutEscapeDelimiter()
Tests iterating when no escape delimiter is defined. |
void |
testIterateWithRemove()
Tests an iteration where the remove() method is called. |
void |
testLength()
Tests getting and setting the key's length. |
void |
testSetNullExpressionEngine()
Tests setting the expression engine to null. |
void |
testTrim()
Tests removing delimiters. |
void |
testTrimLeft()
Tests removing leading delimiters. |
void |
testTrimRight()
Tests removing trailing delimiters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestDefaultConfigurationKey()
Method Detail |
---|
public void setUp() throws Exception
Exception
public void testSetNullExpressionEngine()
public void testIsAttributeKey()
public void testIsAttributeKeyWithoutEndMarkers()
public void testTrimLeft()
public void testTrimRight()
public void testTrim()
public void testAppend()
public void testAppendDelimiters()
public void testAppendDelimitersWithoutEscaping()
public void testAppendWithEscapeFlag()
public void testConstructAttributeKey()
public void testConstructAttributeKeyWithoutEndMarkers()
public void testAppendAttribute()
public void testAppendDecoratedAttributeKey()
public void testAppendNullAttributeKey()
public void testAppendIndex()
public void testAppendComplexKey()
public void testLength()
public void testEquals()
public void testAttributeName()
public void testIterate()
public void testIterateWithRemove()
public void testIterateStrangeKeys()
public void testIterateEscapedDelimiters()
public void testIterateAlternativeEscapeDelimiter()
public void testIterateWithoutEscapeDelimiter()
public void testIterateWithBrackets()
public void testAttributeKeyWithIndex()
public void testIterateAttributeEqualsPropertyDelimiter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |