Class MergeNonVersionableSubNodeTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class MergeNonVersionableSubNodeTest
    extends AbstractMergeTest
    MergeNonVersionableSubNodeTest contains test dealing with nonversionable nodes in the subtree of the node on which merge is called.
    • Constructor Detail

      • MergeNonVersionableSubNodeTest

        public MergeNonVersionableSubNodeTest()
    • Method Detail

      • testMergeNodeNonVersionableSubNodeNonVersionableAncestor

        public void testMergeNodeNonVersionableSubNodeNonVersionableAncestor()
                                                                      throws RepositoryException
        Node.merge(): nonversionable subNode N: if it has no versionable ancestor, then it is updated to reflect the state of its corresponding node.
        Throws:
        RepositoryException
      • testMergeNodeNonVersionableSubNodeNonVersionableAncestorJcr2

        public void testMergeNodeNonVersionableSubNodeNonVersionableAncestorJcr2()
                                                                          throws RepositoryException
        VersionManager.merge(): nonversionable subNode N: if it has no versionable ancestor, then it is updated to reflect the state of its corresponding node.
        Throws:
        RepositoryException
      • testMergeNodeNonVersionableSubNodeUpdate

        public void testMergeNodeNonVersionableSubNodeUpdate()
                                                      throws RepositoryException
        Node.merge(): nonversionable subNode N: if the merge result of its nearest versionable ancestor is update,
        then it is updated to reflect the state of its corresponding node.
        Throws:
        RepositoryException
      • testMergeNodeNonVersionableSubNodeUpdateJcr2

        public void testMergeNodeNonVersionableSubNodeUpdateJcr2()
                                                          throws RepositoryException
        VersionManager.merge(): nonversionable subNode N: if the merge result of its nearest versionable ancestor is update,
        then it is updated to reflect the state of its corresponding node.
        Throws:
        RepositoryException
      • testMergeNodeNonVersionableSubNodeLeave

        public void testMergeNodeNonVersionableSubNodeLeave()
                                                     throws RepositoryException
        Node.merge(): nonversionable subNode N: is left unchanged if the nearest versionable ancestor has state leave.
        Throws:
        RepositoryException
      • testMergeNodeNonVersionableSubNodeLeaveJcr2

        public void testMergeNodeNonVersionableSubNodeLeaveJcr2()
                                                         throws RepositoryException
        VersionManager.merge(): nonversionable subNode N: is left unchanged if the nearest versionable ancestor has state leave.
        Throws:
        RepositoryException