|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.tree.TestDefaultExpressionEngine
public class TestDefaultExpressionEngine
Test class for DefaultExpressionEngine.
Constructor Summary | |
---|---|
TestDefaultExpressionEngine()
|
Method Summary | |
---|---|
void |
setUp()
|
protected ConfigurationNode |
setUpNodes()
Creates a node hierarchy for testing that consists of tables, their fields, and some additional data: tables table name fields field name field name |
void |
testNodeKey()
Tests obtaining keys for nodes. |
void |
testNodeKeyWithAlternativeSyntax()
Tests obtaining node keys when a different syntax is set. |
void |
testNodeKeyWithAttribute()
Tests obtaining keys for attribute nodes. |
void |
testNodeKeyWithEscapedDelimiters()
Tests obtaining keys for nodes that contain the delimiter character. |
void |
testNodeKeyWithRoot()
Tests obtaining keys when the root node is involved. |
void |
testPrepareAddAttribute()
Tests adding new attributes. |
void |
testPrepareAddDirectly()
Tests adding direct child nodes to the existing hierarchy. |
void |
testPrepareAddEmptyKey()
|
void |
testPrepareAddInvalidKey()
Tests using invalid keys, e.g. if something should be added to attributes. |
void |
testPrepareAddInvalidKeyAttribute()
|
void |
testPrepareAddNullKey()
|
void |
testPrepareAddWithAlternativeSyntax()
Tests add operations when an alternative syntax is set. |
void |
testPrepareAddWithIndex()
Tests adding when indices are involved. |
void |
testPrepareAddWithPath()
Tests add operations where complete paths are added. |
void |
testPrepareAddWithSameAttributeDelimiter()
Tests add operations when property and attribute delimiters are equal. |
void |
testQueryAlternativeSyntax()
Tests a different query syntax. |
void |
testQueryAttributeEmulation()
Tests some queries when the same delimiter is used for properties and attributes. |
void |
testQueryEscapedKeys()
Tests querying nodes whose names contain a delimiter. |
void |
testQueryKeys()
Tests some simple queries. |
void |
testQueryNodes()
Performs some queries and evaluates the values of the result nodes. |
void |
testQueryNonExistingKeys()
Tests querying keys that do not exist. |
void |
testQueryRootNode()
Tests accessing the root node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestDefaultExpressionEngine()
Method Detail |
---|
public void setUp() throws Exception
Exception
public void testQueryKeys()
public void testQueryNodes()
public void testQueryNonExistingKeys()
public void testQueryEscapedKeys()
public void testQueryAttributeEmulation()
public void testQueryRootNode()
public void testQueryAlternativeSyntax()
public void testNodeKey()
public void testNodeKeyWithRoot()
public void testNodeKeyWithAttribute()
public void testNodeKeyWithEscapedDelimiters()
public void testNodeKeyWithAlternativeSyntax()
public void testPrepareAddDirectly()
public void testPrepareAddWithIndex()
public void testPrepareAddAttribute()
public void testPrepareAddWithPath()
public void testPrepareAddWithSameAttributeDelimiter()
public void testPrepareAddWithAlternativeSyntax()
public void testPrepareAddInvalidKey()
public void testPrepareAddInvalidKeyAttribute()
public void testPrepareAddNullKey()
public void testPrepareAddEmptyKey()
protected ConfigurationNode setUpNodes()
tables table name fields field name field name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |