Class SolrAsSearchProviderTest
- java.lang.Object
-
- de.hybris.platform.adaptivesearchsolr.strategies.impl.SolrAsSearchProviderTest
-
@UnitTest public class SolrAsSearchProviderTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionexpectedException
-
Constructor Summary
Constructors Constructor Description SolrAsSearchProviderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AsSearchQueryDatabuildAsSearchQueryData(java.lang.String searchText, int activePage, int pageSize)protected FacetSearchConfigbuildFacetSearchConfig(IndexedType indexedType)protected AsSearchProfileContextbuildSearchProfileContext()protected SearchResultbuildSearchResult(SearchQuery searchQuery)voidsetUp()voidtestGetIndexConfigurations()voidtestGetIndexProperties()voidtestGetIndexPropertyForCode()voidtestGetIndexTypeForCode()voidtestGetIndexTypes()voidtestGetIndexTypes1()voidtestGetSupportedCatalogVersions()voidtestGetSupportedCurrencies()voidtestGetSupportedFacetExpressions()voidtestGetSupportedLanguages()voidtestGetSupportedSortExpressions()voidtestSearch()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetIndexConfigurations
public void testGetIndexConfigurations() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetIndexTypes
public void testGetIndexTypes() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetIndexTypes1
public void testGetIndexTypes1() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetIndexTypeForCode
public void testGetIndexTypeForCode() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetIndexProperties
public void testGetIndexProperties() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetIndexPropertyForCode
public void testGetIndexPropertyForCode() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetSupportedCatalogVersions
public void testGetSupportedCatalogVersions() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetSupportedLanguages
public void testGetSupportedLanguages() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetSupportedCurrencies
public void testGetSupportedCurrencies() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetSupportedFacetExpressions
public void testGetSupportedFacetExpressions() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetSupportedSortExpressions
public void testGetSupportedSortExpressions() throws java.lang.Exception- Throws:
java.lang.Exception
-
testSearch
public void testSearch() throws java.lang.Exception- Throws:
java.lang.Exception
-
buildSearchProfileContext
protected AsSearchProfileContext buildSearchProfileContext()
-
buildFacetSearchConfig
protected FacetSearchConfig buildFacetSearchConfig(IndexedType indexedType)
-
buildSearchResult
protected SearchResult buildSearchResult(SearchQuery searchQuery)
-
buildAsSearchQueryData
protected AsSearchQueryData buildAsSearchQueryData(java.lang.String searchText, int activePage, int pageSize)
-
-