Class SetPropertyLongTest

  • All Implemented Interfaces:
    junit.framework.Test

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

      • SetPropertyLongTest

        public SetPropertyLongTest()
    • Method Detail

      • testNewLongPropertySession

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

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

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

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

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

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