|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.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 | |
|---|---|
protected 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 junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestConfigurationNodePointerFactory()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class AbstractXPathTestjava.lang.Exceptionpublic 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 | |||||||||