Class SearchGroupingTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.solrfacetsearch.integration.AbstractIntegrationTest
-
- de.hybris.platform.solrfacetsearch.integration.SearchGroupingTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class SearchGroupingTest extends AbstractIntegrationTest
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
GROUP_FIELD
static java.lang.String
MANUFACTURER_A
static java.lang.String
MANUFACTURER_B
-
Fields inherited from class de.hybris.platform.solrfacetsearch.integration.AbstractIntegrationTest
DEFAULT_ENCODING, expectedException, FACET_SEARCH_CONFIG_NAME, HW_CATALOG, ONLINE_CATALOG_VERSION, PRODUCT_CODE, SOLR_SERVER_CLOUD_ENDPOINT, SOLR_SERVER_MODE, SOLR_SERVER_STANDALONE_ENDPOINT, STAGED_CATALOG_VERSION
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description SearchGroupingTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
loadData()
void
testWithGrouping()
void
testWithGroupingAndGroupFacets()
void
testWithGroupingAndGroupLimit()
void
testWithoutGrouping()
-
Methods inherited from class de.hybris.platform.solrfacetsearch.integration.AbstractIntegrationTest
beforeLoadData, getFacetSearchConfig, getFacetSearchConfigName, getIndexedTypeModel, getProductCode, getSolrFacetSearchConfigModel, getTestId, importConfig, importConfig, initializeIndexedType, readFile, setUp, tearDown
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
GROUP_FIELD
public static final java.lang.String GROUP_FIELD
- See Also:
- Constant Field Values
-
MANUFACTURER_A
public static final java.lang.String MANUFACTURER_A
- See Also:
- Constant Field Values
-
MANUFACTURER_B
public static final java.lang.String MANUFACTURER_B
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadData
protected void loadData() throws ImpExException, java.io.IOException, FacetConfigServiceException, SolrServiceException, org.apache.solr.client.solrj.SolrServerException
- Overrides:
loadData
in classAbstractIntegrationTest
- Throws:
ImpExException
java.io.IOException
FacetConfigServiceException
SolrServiceException
org.apache.solr.client.solrj.SolrServerException
-
testWithoutGrouping
public void testWithoutGrouping() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testWithGrouping
public void testWithGrouping() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testWithGroupingAndGroupLimit
public void testWithGroupingAndGroupLimit() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testWithGroupingAndGroupFacets
public void testWithGroupingAndGroupFacets() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-