Class SetPropertyNodeTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class SetPropertyNodeTest
    extends AbstractJCRTest
    SetPropertyNodeTest tests the Node.setProperty(String, Node) method
    • Constructor Detail

      • SetPropertyNodeTest

        public SetPropertyNodeTest()
    • Method Detail

      • testNewNodePropertySession

        public void testNewNodePropertySession()
                                        throws Exception
        Tests if adding a property with Node.setProperty(String, Node) works with Session.save()
        Throws:
        Exception
      • testModifyNodePropertySession

        public void testModifyNodePropertySession()
                                           throws Exception
        Tests if modifying a property with Node.setProperty(String, Node) works with Session.save()
        Throws:
        Exception
      • testNewNodePropertyParent

        public void testNewNodePropertyParent()
                                       throws Exception
        Tests if adding a property with Node.setProperty(String, Node) works with parentNode.save()
        Throws:
        Exception
      • testModifyNodePropertyParent

        public void testModifyNodePropertyParent()
                                          throws Exception
        Tests if modifying a property with Node.setProperty(String, Node) works with parentNode.save()
        Throws:
        Exception
      • testRemoveNodePropertySession

        public void testRemoveNodePropertySession()
                                           throws Exception
        Tests if removing a Node property with Node.setProperty(String, null) works with Session.save()
        Throws:
        Exception
      • testRemoveNodePropertyParent

        public void testRemoveNodePropertyParent()
                                          throws Exception
        Tests if removing a Node property with Node.setProperty(String, null) works with parentNode.save()
        Throws:
        Exception