Class IndexUpdateDeleteProductTest

  • All Implemented Interfaces:
    JaloSessionHolder

    public class IndexUpdateDeleteProductTest
    extends AbstractIntegrationTest
    Test for adding, modifying and deleting products in the catalog. After updating the index the added products should appear in the index and the index should reflect the modifications on the products. When delete query select some products for delete from index, these products shouldn't appear in indexer.
    • Constructor Detail

      • IndexUpdateDeleteProductTest

        public IndexUpdateDeleteProductTest()
    • Method Detail

      • sleep

        protected void sleep()
                      throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • testCreateProduct

        public void testCreateProduct()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testUpdateProduct

        public void testUpdateProduct()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDeleteProduct

        public void testDeleteProduct()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception