Class AbstractOnParentVersionTest

    • Field Detail

      • OPVAction

        protected int OPVAction
      • initialPropValue

        protected String initialPropValue
      • newPropValue

        protected String newPropValue
      • childNodeTypeName

        protected String childNodeTypeName
    • Constructor Detail

      • AbstractOnParentVersionTest

        public AbstractOnParentVersionTest()
    • Method Detail

      • addChildNode

        protected Node addChildNode​(int requiredOpvBehaviour)
                             throws RepositoryException
        Add a child node to the versionable node created in the setup with the name and nodetype name defined in the corresponding configuration. After creation of the child node, an assertion is made for the proper onParentVersion behaviour.

        NOTE: the child node is removed together with the versionable node after each test.

        Parameters:
        requiredOpvBehaviour -
        Returns:
        Throws:
        RepositoryException