Class SearchFulltextTest
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.SearchFulltextTest
- All Implemented Interfaces:
JaloSessionHolder
Tests the full text search function in the given catalog version.
-
Field Summary
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_VERSIONFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidloadData()voidvoidCreates the index and searches for "canon" in Online catalog version.Methods inherited from class de.hybris.platform.solrfacetsearch.integration.AbstractIntegrationTest
beforeLoadData, getFacetSearchConfig, getFacetSearchConfigName, getIndexedTypeModel, getProductCode, getSolrFacetSearchConfigModel, getSolrSearchProviderFactory, getTestId, importConfig, importConfig, initializeIndexedType, readFile, setUp, tearDownMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
SearchFulltextTest
public SearchFulltextTest()
-
-
Method Details
-
loadData
protected void loadData() throws ImpExException, IOException, FacetConfigServiceException, SolrServiceException, org.apache.solr.client.solrj.SolrServerException- Overrides:
loadDatain classAbstractIntegrationTest- Throws:
ImpExExceptionIOExceptionFacetConfigServiceExceptionSolrServiceExceptionorg.apache.solr.client.solrj.SolrServerException
-
testFulltextSearchEn
Creates the index and searches for "canon" in Online catalog version. There should be 4 products that can be found, and each contains the keyword "canon"- Throws:
Exception
-
testFulltextSearchDe
- Throws:
Exception
-