Class ODataSchemaGenerationFacadeIntegrationTest

    • Constructor Detail

      • ODataSchemaGenerationFacadeIntegrationTest

        public ODataSchemaGenerationFacadeIntegrationTest()
    • Method Detail

      • testRequestedSchemaIsEmptyWhenNoIntegrationObjectsDefined

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

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

        public void testOnlyRequestedItemReturnedEvenIfItIsReferencedFromSomeOtherItem()
                                                                                throws org.apache.olingo.odata2.api.exception.ODataException,
                                                                                       ImpExException
        Throws:
        org.apache.olingo.odata2.api.exception.ODataException
        ImpExException
      • testRequestedItemReturnedWithItsReferencedItems

        public void testRequestedItemReturnedWithItsReferencedItems()
                                                             throws org.apache.olingo.odata2.api.exception.ODataException,
                                                                    ImpExException
        Throws:
        org.apache.olingo.odata2.api.exception.ODataException
        ImpExException
      • testAssociationIsReturnedForItemThatReferencesCollectionAttribute

        public void testAssociationIsReturnedForItemThatReferencesCollectionAttribute()
                                                                               throws org.apache.olingo.odata2.api.exception.ODataException,
                                                                                      ImpExException
        Throws:
        org.apache.olingo.odata2.api.exception.ODataException
        ImpExException
      • testItemsAreReturnedForIntegrationObjectSpecifiedInServiceRootWhenOthersExist

        public void testItemsAreReturnedForIntegrationObjectSpecifiedInServiceRootWhenOthersExist()
                                                                                           throws org.apache.olingo.odata2.api.exception.ODataException,
                                                                                                  ImpExException
        Throws:
        org.apache.olingo.odata2.api.exception.ODataException
        ImpExException
      • testMultipleItemsRequested

        public void testMultipleItemsRequested()
      • testMissingKeyAttributeReturnsErrorResponse

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

        public void testAllItemsReturnedWhenAllMetadataIsRequested()
                                                            throws org.apache.olingo.odata2.api.exception.ODataException,
                                                                   ImpExException
        Throws:
        org.apache.olingo.odata2.api.exception.ODataException
        ImpExException