Class AbstractIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.solrfacetsearch.integration.AbstractIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
AbstractSearchQueryTest,AllAsItemsTest,CategoryFacetDisplayNameProviderTest,ClassificationPropertyValueProviderTest,ContextAwareParameterProviderTest,DefaultFacetSearchConfigCacheServiceTest,DefaultFacetSearchConfigServiceTest,DefaultFlexibleSearchQuerySpecFactoryIntegrationTest,DefaultIndexerServiceIntegrationTest,DefaultIndexOperationIdGeneratorTest,DefaultSolrClientPoolPerformanceTest,DeleteFromIndexTest,DistributedIndexerProcessTest,FacetDrillDownTest,FacetParamsTest,FacetSearchConfigSerializableTest,IndexationInLanguageContextTest,IndexationInUserContextTest,IndexedPropertyRemovalTest,IndexedTypeFieldsValuesProviderTest,IndexUpdateDeleteProductTest,MultithreadedIndexerServiceAccessTest,RangedIndexedPropertyTest,SearchByPropertiesWithExportIdTest,SearchFulltextTest,SearchGroupingTest,SearchHighlightingFieldsTest,SearchInFieldTest,SearchInMultiCategoriesTest,SearchMethodTest,SearchQueryBoostsTest,SearchQueryExcludedItemsTest,SearchQueryPromotedItemsTest,SearchResultTest,SearchWithRawQueryTest,SolrAsSearchTest,SolrAutoSuggestServiceTest,SolrExtIndexerJobIntegrationTest,SolrIndexerDirectModeTest,SolrIndexerLanguageFallbackTest,SolrIndexerTwoPhaseModeTest,SolrIndexHotUpdateTest,SolrKeywordRedirectValidateInterceptorTest,SolrQueryStatisticsCollectorJobTest,SolrSearchProviderOptimizeIntegrationTest,SolrSearchResponseRestrictFieldsTest,SolrSearchResultTest,SolrServerConnectionParametersTest,SolrStopWordsIntegrationTest,SolrSynonymsIntegrationTest,SpELValueProviderTest,UserSearchRestrictionsTest
public abstract class AbstractIntegrationTest extends ServicelayerTest
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringDEFAULT_ENCODINGorg.junit.rules.ExpectedExceptionexpectedExceptionprotected static java.lang.StringFACET_SEARCH_CONFIG_NAMEprotected static java.lang.StringHW_CATALOGprotected static java.lang.StringONLINE_CATALOG_VERSIONprotected static java.lang.StringPRODUCT_CODEprotected static java.lang.StringSOLR_SERVER_CLOUD_ENDPOINTprotected static java.lang.StringSOLR_SERVER_MODEprotected static java.lang.StringSOLR_SERVER_STANDALONE_ENDPOINTprotected static java.lang.StringSTAGED_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 AbstractIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbeforeLoadData()protected FacetSearchConfiggetFacetSearchConfig()protected java.lang.StringgetFacetSearchConfigName()SolrIndexedTypeModelgetIndexedTypeModel()protected java.lang.StringgetProductCode()SolrFacetSearchConfigModelgetSolrFacetSearchConfigModel()java.lang.StringgetTestId()protected voidimportConfig(java.lang.String resource)protected voidimportConfig(java.lang.String resource, java.util.Map<java.lang.String,java.lang.String> params)protected voidinitializeIndexedType()protected voidloadData()protected java.lang.StringreadFile(java.lang.String pathName)voidsetUp()voidtearDown()-
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
-
DEFAULT_ENCODING
protected static final java.lang.String DEFAULT_ENCODING
- See Also:
- Constant Field Values
-
SOLR_SERVER_MODE
protected static final java.lang.String SOLR_SERVER_MODE
- See Also:
- Constant Field Values
-
SOLR_SERVER_STANDALONE_ENDPOINT
protected static final java.lang.String SOLR_SERVER_STANDALONE_ENDPOINT
- See Also:
- Constant Field Values
-
SOLR_SERVER_CLOUD_ENDPOINT
protected static final java.lang.String SOLR_SERVER_CLOUD_ENDPOINT
- See Also:
- Constant Field Values
-
HW_CATALOG
protected static final java.lang.String HW_CATALOG
- See Also:
- Constant Field Values
-
ONLINE_CATALOG_VERSION
protected static final java.lang.String ONLINE_CATALOG_VERSION
- See Also:
- Constant Field Values
-
STAGED_CATALOG_VERSION
protected static final java.lang.String STAGED_CATALOG_VERSION
- See Also:
- Constant Field Values
-
PRODUCT_CODE
protected static final java.lang.String PRODUCT_CODE
- See Also:
- Constant Field Values
-
FACET_SEARCH_CONFIG_NAME
protected static final java.lang.String FACET_SEARCH_CONFIG_NAME
- See Also:
- Constant Field Values
-
expectedException
public org.junit.rules.ExpectedException expectedException
-
-
Method Detail
-
getProductCode
protected java.lang.String getProductCode()
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
tearDown
public void tearDown() throws java.lang.Exception- Throws:
java.lang.Exception
-
beforeLoadData
protected void beforeLoadData() throws java.lang.Exception- Throws:
java.lang.Exception
-
loadData
protected void loadData() throws java.lang.Exception- Throws:
java.lang.Exception
-
getFacetSearchConfigName
protected java.lang.String getFacetSearchConfigName()
-
getFacetSearchConfig
protected FacetSearchConfig getFacetSearchConfig() throws FacetConfigServiceException
- Throws:
FacetConfigServiceException
-
importConfig
protected void importConfig(java.lang.String resource) throws java.io.IOException, ImpExException- Throws:
java.io.IOExceptionImpExException
-
importConfig
protected void importConfig(java.lang.String resource, java.util.Map<java.lang.String,java.lang.String> params) throws java.io.IOException, ImpExException- Throws:
java.io.IOExceptionImpExException
-
readFile
protected java.lang.String readFile(java.lang.String pathName) throws java.io.IOException- Throws:
java.io.IOException
-
initializeIndexedType
protected void initializeIndexedType()
-
getIndexedTypeModel
public SolrIndexedTypeModel getIndexedTypeModel()
-
getSolrFacetSearchConfigModel
public SolrFacetSearchConfigModel getSolrFacetSearchConfigModel()
-
getTestId
public java.lang.String getTestId()
-
-