Class DefaultItemLookupStrategyUnitTest

java.lang.Object
de.hybris.platform.odata2services.odata.persistence.lookup.DefaultItemLookupStrategyUnitTest

@UnitTest public class DefaultItemLookupStrategyUnitTest extends Object
  • Constructor Details

    • DefaultItemLookupStrategyUnitTest

      public DefaultItemLookupStrategyUnitTest()
  • Method Details

    • setUp

      public void setUp() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testExistingItem_NoParam

      public void testExistingItem_NoParam() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testExistingItem_WithNavParam

      public void testExistingItem_WithNavParam() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testExistingItem_WithNavParam_ButNoNavItemFound

      public void testExistingItem_WithNavParam_ButNoNavItemFound() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testExistingItem_NoNavParam

      public void testExistingItem_NoNavParam() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testDuplicatedExistingItem_NoNavParam

      public void testDuplicatedExistingItem_NoNavParam() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testMultipleExistingItem_NoKeyParam_NoNavParam

      public void testMultipleExistingItem_NoKeyParam_NoNavParam()
    • testNotExistingItem_NoNavParam

      public void testNotExistingItem_NoNavParam() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testEntityWithoutKeyNavProperty

      public void testEntityWithoutKeyNavProperty() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testEntityWithUniqueAndNullableNavProperty

      public void testEntityWithUniqueAndNullableNavProperty() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testLookupItems

      public void testLookupItems() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testLookupItemsQuerySetsTotalCountToTrue

      public void testLookupItemsQuerySetsTotalCountToTrue() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testLookupItemsQueryWhenInlineCountIsPresent

      public void testLookupItemsQueryWhenInlineCountIsPresent() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testLookupItemsQueryWhenODataEntryIsNotInItemLookupRequestNoWhereClauseInQuery

      public void testLookupItemsQueryWhenODataEntryIsNotInItemLookupRequestNoWhereClauseInQuery() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testFlexibleSearchQueryForCollectionNeedsTotalCount

      public void testFlexibleSearchQueryForCollectionNeedsTotalCount() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testFlexibleSearchQueryForCollectionDifferentPageRequest

      public void testFlexibleSearchQueryForCollectionDifferentPageRequest() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testFlexibleSearchQueryForCollectionIsOrderedByPK

      public void testFlexibleSearchQueryForCollectionIsOrderedByPK() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testCountAllItemsInEntitySet

      public void testCountAllItemsInEntitySet() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException
    • testCountQuery

      public void testCountQuery() throws org.apache.olingo.odata2.api.edm.EdmException
      Throws:
      org.apache.olingo.odata2.api.edm.EdmException