Class SolrAsSearchProviderTest

java.lang.Object
de.hybris.platform.adaptivesearchsolr.strategies.impl.SolrAsSearchProviderTest

@UnitTest public class SolrAsSearchProviderTest extends Object
  • Field Details

    • expectedException

      public org.junit.rules.ExpectedException expectedException
  • Constructor Details

    • SolrAsSearchProviderTest

      public SolrAsSearchProviderTest()
  • Method Details

    • setUp

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

      public void testGetIndexConfigurations() throws Exception
      Throws:
      Exception
    • testGetIndexTypes

      public void testGetIndexTypes() throws Exception
      Throws:
      Exception
    • testGetIndexTypes1

      public void testGetIndexTypes1() throws Exception
      Throws:
      Exception
    • testGetIndexTypeForCode

      public void testGetIndexTypeForCode() throws Exception
      Throws:
      Exception
    • testGetIndexProperties

      public void testGetIndexProperties() throws Exception
      Throws:
      Exception
    • testGetIndexPropertyForCode

      public void testGetIndexPropertyForCode() throws Exception
      Throws:
      Exception
    • testGetSupportedCatalogVersions

      public void testGetSupportedCatalogVersions() throws Exception
      Throws:
      Exception
    • testGetSupportedLanguages

      public void testGetSupportedLanguages() throws Exception
      Throws:
      Exception
    • testGetSupportedCurrencies

      public void testGetSupportedCurrencies() throws Exception
      Throws:
      Exception
    • testGetSupportedFacetExpressions

      public void testGetSupportedFacetExpressions() throws Exception
      Throws:
      Exception
    • testGetSupportedSortExpressions

      public void testGetSupportedSortExpressions() throws Exception
      Throws:
      Exception
    • testSearch

      public void testSearch() throws Exception
      Throws:
      Exception
    • testCreateDocumentDataWithDocumentTags

      public void testCreateDocumentDataWithDocumentTags() throws Exception
      Throws:
      Exception
    • buildSearchResultGroup

      protected SearchResultGroup buildSearchResultGroup(Document... docs)
    • buildDocument

      protected Document buildDocument(PK pk, List<String> tags)
    • buildSearchProfileContext

      protected AsSearchProfileContext buildSearchProfileContext()
    • buildFacetSearchConfig

      protected FacetSearchConfig buildFacetSearchConfig(IndexedType indexedType)
    • buildSearchResult

      protected SearchResult buildSearchResult(SearchQuery searchQuery)
    • buildAsSearchQueryData

      protected AsSearchQueryData buildAsSearchQueryData(String searchText, int activePage, int pageSize)