Class ColumnTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class ColumnTest
    extends AbstractQOMTest
    ColumnTest contains test cases related to QOM column.
    • Constructor Detail

      • ColumnTest

        public ColumnTest()
    • Method Detail

      • testExpandColumnsForNodeType

        public void testExpandColumnsForNodeType()
                                          throws RepositoryException
        From the spec:

        If propertyName is not specified, a column is included for each single-valued non-residual property of the node type specified by the nodeType attribute of the selector selectorName.

        [..] If propertyName is not specified, columnName must not be specified, and the included columns will be named "selectorName.propertyName".

        Throws:
        RepositoryException
      • testColumnNames

        public void testColumnNames()
                             throws RepositoryException
        From the spec:

        If propertyName is specified, columnName is required and used to name the column in the tabular results.

        Throws:
        RepositoryException