Class TextNodeTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class TextNodeTest
    extends AbstractQueryTest
    Tests the text() node test in XPath.
    • testroot path to node that allows child nodes of type nodetype. The node at testroot must allow child nodes with name jcr:xmltext. Assignment of node type for that child node must be determined by the child node definition. That is, the test will create the node with Node.addNode(String), without giving an explicit node type.
    • nodetype name of a node type for nodes under testroot. This node type must allow child nodes with name jcr:xmltext. Assignment of node type for that child node must be determined by the child node definition. That is, the test will create the node with Node.addNode(String), without giving an explicit node type.
    • nodename1 name of a child node under testroot.