Class NodeItemIsModifiedTest

    • Constructor Detail

      • NodeItemIsModifiedTest

        public NodeItemIsModifiedTest()
    • Method Detail

      • testTransientNewNodeItemIsModified

        public void testTransientNewNodeItemIsModified()
                                                throws RepositoryException
        Test if Item.isModified() returns false after a new NodeItem is set (before node is saved (transient). That means the NodeItem don't exists persistent).
        Throws:
        RepositoryException
        See Also:
        Item.isModified()
      • testPersistentNewNodeItemIsModified

        public void testPersistentNewNodeItemIsModified()
                                                 throws RepositoryException
        Test if Item.isModified() returns false after a new NodeItem is set and saved (persistent). That means the NodeItem exists persistently but isn't modified after save. This is equivalent to the test if Item.isModified() returns false for an already exixting and not modified NodeItem.
        Throws:
        RepositoryException
        See Also:
        Item.isModified()
      • testTransientNodeItemIsModified

        public void testTransientNodeItemIsModified()
                                             throws RepositoryException
        Test if Item.isModified() returns true for an already existing and modified NodeItem (modifications aren't saved (transient)). Modified means that a property is added with a string value.
        Throws:
        RepositoryException
        See Also:
        Item.isModified()
      • testPersistentNodeItemIsModified

        public void testPersistentNodeItemIsModified()
                                              throws RepositoryException
        Test if Item.isModified() returns false for an already exixting and modified NodeItem after the node is saved (persistent). Modified means that a property is added with a string value.
        Throws:
        RepositoryException
        See Also:
        Item.isModified()