Class SearchInMultiCategoriesTest

All Implemented Interfaces:
JaloSessionHolder

public class SearchInMultiCategoriesTest extends AbstractIntegrationTest
Tests the Solr search with multi-categories.
  • Constructor Details

    • SearchInMultiCategoriesTest

      public SearchInMultiCategoriesTest()
  • Method Details

    • loadData

      protected void loadData() throws Exception
      Overrides:
      loadData in class AbstractIntegrationTest
      Throws:
      Exception
    • testMultiCategoryCodes

      public void testMultiCategoryCodes() throws Exception
      Creates the index for the hwcatalog_online, searches for products that belong to category with code "HW1200", and searches for the products that belong to both "HW1200" and "HW1210".
      Throws:
      Exception
    • testMultiCategoryNames

      public void testMultiCategoryNames() throws Exception
      Creates the index for the hwcatalog_online, sets the language to German, searches for products that belong to category with name "Hardware", searches for the products that belong to both "Hardware" and "Elektronische Geräte" , and at last searches for products that belong to "Hardware", "Elektronische Geräte", and "Topseller_online_de".
      Throws:
      Exception