Class ProductDaoTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class ProductDaoTest extends ServicelayerTest
  • Field Details

  • Constructor Details

    • ProductDaoTest

      public ProductDaoTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • tearDown

      public void tearDown()
    • testFindProduct

      public void testFindProduct() throws Exception
      Throws:
      Exception
    • testFindProductWhenCodeIsNull

      public void testFindProductWhenCodeIsNull() throws Exception
      Throws:
      Exception
    • testFindProductWhenCodeIsUnknown

      public void testFindProductWhenCodeIsUnknown() throws Exception
      Throws:
      Exception
    • testGetProductsByCategory

      public void testGetProductsByCategory() throws Exception
      Throws:
      Exception
    • testGetProductsWithStatus

      public void testGetProductsWithStatus() throws Exception
      Throws:
      Exception
    • testGetProductsByCategoryWhenCategoryIsNull

      public void testGetProductsByCategoryWhenCategoryIsNull() throws Exception
      Throws:
      Exception
    • testGetProductsByCategoryWithLimit

      public void testGetProductsByCategoryWithLimit() throws Exception
      Throws:
      Exception
    • testVariants

      public void testVariants() throws JaloDuplicateQualifierException, JaloItemNotFoundException
      Throws:
      JaloDuplicateQualifierException
      JaloItemNotFoundException
    • testGetProductFromCatalogVersionWhenNoActiveCatalogVersionIsSet

      public void testGetProductFromCatalogVersionWhenNoActiveCatalogVersionIsSet() throws Exception
      Throws:
      Exception
    • testFindProductWhenCatalogVersionIsNull

      public void testFindProductWhenCatalogVersionIsNull() throws Exception
      Throws:
      Exception
    • testFindProductWhenCodeIsNullAndCatalogVersionNotNull

      public void testFindProductWhenCodeIsNullAndCatalogVersionNotNull() throws Exception
      Throws:
      Exception
    • testFindProductWhenThereIsNoResults

      public void testFindProductWhenThereIsNoResults() throws Exception
      Throws:
      Exception
    • testFindAllProductsCount

      public void testFindAllProductsCount() throws Exception
      Throws:
      Exception
    • testFindAllProductsCountByEmptyCategory

      public void testFindAllProductsCountByEmptyCategory()
    • testFindProductsCountForOneCategory

      public void testFindProductsCountForOneCategory()
    • testFindProductsFromCatalogVersion

      public void testFindProductsFromCatalogVersion()
    • testFindProductsFromCatalogVersionWhenNull

      public void testFindProductsFromCatalogVersionWhenNull()