|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.tree.xpath.AbstractXPathTest
org.apache.commons.configuration.tree.xpath.TestConfigurationNodePointerFactory
public class TestConfigurationNodePointerFactory
Test class for ConfigurationNodePointerFactory. This class does not directly
call the factory's methods, but rather checks if it can be installed in a
JXPathContext
and if XPath expressions can be evaluated.
Field Summary |
---|
Fields inherited from class org.apache.commons.configuration.tree.xpath.AbstractXPathTest |
---|
ATTR_NAME, CHILD_COUNT, CHILD_NAME1, CHILD_NAME2, LEVEL_COUNT, root |
Constructor Summary | |
---|---|
TestConfigurationNodePointerFactory()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
testAttributes()
Tests accessing attributes. |
void |
testFollowingSiblingAxis()
Tests accessing the following sibling axis. |
void |
testIndices()
Tests using indices to specify elements. |
void |
testParentAxis()
Tests accessing the parent axis. |
void |
testPrecedingSiblingAxis()
Tests accessing the preceding sibling axis. |
void |
testSimpleXPath()
Tests simple XPath expressions. |
void |
testText()
Tests accessing a node's text. |
Methods inherited from class org.apache.commons.configuration.tree.xpath.AbstractXPathTest |
---|
constructHierarchy, iterationElements, iteratorSize, tearDown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestConfigurationNodePointerFactory()
Method Detail |
---|
public void setUp() throws Exception
setUp
in class AbstractXPathTest
Exception
public void testSimpleXPath()
public void testIndices()
public void testAttributes()
public void testText()
public void testParentAxis()
public void testFollowingSiblingAxis()
public void testPrecedingSiblingAxis()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |