org.apache.commons.configuration.tree.xpath
Class TestXPathExpressionEngineInConfig

java.lang.Object
  extended by org.apache.commons.configuration.tree.xpath.TestXPathExpressionEngineInConfig

public class TestXPathExpressionEngineInConfig
extends Object

A test class for XPathExpressionEngine that tests the engine integrated into a hierarchical configuration.

Version:
$Id: TestXPathExpressionEngineInConfig.java 1226113 2011-12-31 15:46:53Z oheger $
Author:
Commons Configuration team

Constructor Summary
TestXPathExpressionEngineInConfig()
           
 
Method Summary
 void setUp()
           
 void testAddPropertyComplexStructures()
          Tests whether addProperty() can be used to create more complex hierarchical structures.
 void testSetPropertyExisting()
          Tests whether an already existing property can be changed using setProperty().
 void testSetPropertyNewAttribute()
          Tests whether setProperty() can be used to add a new attribute.
 void testSetPropertyNewKey()
          Tests whether setProperty() can be used to create a completely new key.
 void testSetPropertyPartlyExisting()
          Tests setProperty() if the specified path partly exists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestXPathExpressionEngineInConfig

public TestXPathExpressionEngineInConfig()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testSetPropertyExisting

public void testSetPropertyExisting()
Tests whether an already existing property can be changed using setProperty().


testSetPropertyPartlyExisting

public void testSetPropertyPartlyExisting()
Tests setProperty() if the specified path partly exists.


testSetPropertyNewAttribute

public void testSetPropertyNewAttribute()
Tests whether setProperty() can be used to add a new attribute.


testSetPropertyNewKey

public void testSetPropertyNewKey()
Tests whether setProperty() can be used to create a completely new key.


testAddPropertyComplexStructures

public void testAddPropertyComplexStructures()
Tests whether addProperty() can be used to create more complex hierarchical structures.



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