Class SetPropertyInputStreamTest

  • All Implemented Interfaces:
    junit.framework.Test

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

      • SetPropertyInputStreamTest

        public SetPropertyInputStreamTest()
    • Method Detail

      • testNewInputStreamPropertySession

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

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

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

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

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

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

        public void testInputStreamClosed()
                                   throws Exception
        Tests whether the passed input stream is closed.
        Throws:
        Exception