Class SetPropertyDoubleTest

  • All Implemented Interfaces:
    junit.framework.Test

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

      • SetPropertyDoubleTest

        public SetPropertyDoubleTest()
    • Method Detail

      • testNewDoublePropertySession

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

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

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

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

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

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

        public void testEdgeCases()
                           throws Exception
        Tests that in infinity and NaN values can be persisted and round-tripped.
        Throws:
        Exception