Class DefaultResponseEntityExtractorUnitTest


  • @UnitTest
    public class DefaultResponseEntityExtractorUnitTest
    extends java.lang.Object
    • Constructor Detail

      • DefaultResponseEntityExtractorUnitTest

        public DefaultResponseEntityExtractorUnitTest()
    • Method Detail

      • setUp

        public void setUp()
      • testSingleBatchSingleChangesetSuccessResponse

        public void testSingleBatchSingleChangesetSuccessResponse()
                                                           throws org.apache.olingo.odata2.api.exception.ODataException
        Throws:
        org.apache.olingo.odata2.api.exception.ODataException
      • testSingleSuccessResponse

        public void testSingleSuccessResponse()
                                       throws org.apache.olingo.odata2.api.exception.ODataException
        Throws:
        org.apache.olingo.odata2.api.exception.ODataException
      • testExtractSingleResponseThrowsIOExceptionWhenClosingStream

        public void testExtractSingleResponseThrowsIOExceptionWhenClosingStream()
                                                                         throws org.apache.olingo.odata2.api.exception.ODataException,
                                                                                java.io.IOException
        Throws:
        org.apache.olingo.odata2.api.exception.ODataException
        java.io.IOException
      • testSingleErrorResponse

        public void testSingleErrorResponse()
                                     throws org.apache.olingo.odata2.api.exception.ODataException
        Throws:
        org.apache.olingo.odata2.api.exception.ODataException
      • testBatchResponseWithOneBatchPartErrorAndOneSuccess

        public void testBatchResponseWithOneBatchPartErrorAndOneSuccess()
                                                                 throws org.apache.olingo.odata2.api.exception.ODataException
        Throws:
        org.apache.olingo.odata2.api.exception.ODataException
      • testSingleBatchTwoChangesets

        public void testSingleBatchTwoChangesets()
                                          throws org.apache.olingo.odata2.api.exception.ODataException
        Throws:
        org.apache.olingo.odata2.api.exception.ODataException