Class GetPredecessorsTest

    • Constructor Detail

      • GetPredecessorsTest

        public GetPredecessorsTest()
    • Method Detail

      • testGetPredecessors

        public void testGetPredecessors()
                                 throws RepositoryException
        Returns the predecessor versions of this version. This corresponds to returning all the nt:version nodes whose jcr:successors property includes a reference to the nt:version node that represents this version. A RepositoryException is thrown if an error occurs.
        Throws:
        RepositoryException
      • testGetLinearPredecessorSuccessor

        public void testGetLinearPredecessorSuccessor()
                                               throws RepositoryException
        Checks obtaining the linear predecessor.
        Throws:
        RepositoryException
        Since:
        JCR 2.0