Class SetPropertyCalendarTest

  • All Implemented Interfaces:
    junit.framework.Test

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

      • SetPropertyCalendarTest

        public SetPropertyCalendarTest()
    • Method Detail

      • testNewCalendarPropertySession

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

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

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

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

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

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