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.String
DEFAULT_ENCODING
org.junit.rules.ExpectedException
expectedException
protected static java.lang.String
FACET_SEARCH_CONFIG_NAME
protected static java.lang.String
HW_CATALOG
protected static java.lang.String
ONLINE_CATALOG_VERSION
protected static java.lang.String
PRODUCT_CODE
protected static java.lang.String
SOLR_SERVER_CLOUD_ENDPOINT
protected static java.lang.String
SOLR_SERVER_MODE
protected static java.lang.String
SOLR_SERVER_STANDALONE_ENDPOINT
protected static java.lang.String
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 AbstractIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
beforeLoadData()
protected FacetSearchConfig
getFacetSearchConfig()
protected java.lang.String
getFacetSearchConfigName()
SolrIndexedTypeModel
getIndexedTypeModel()
protected java.lang.String
getProductCode()
SolrFacetSearchConfigModel
getSolrFacetSearchConfigModel()
java.lang.String
getTestId()
protected void
importConfig(java.lang.String resource)
protected void
importConfig(java.lang.String resource, java.util.Map<java.lang.String,java.lang.String> params)
protected void
initializeIndexedType()
protected void
loadData()
protected java.lang.String
readFile(java.lang.String pathName)
void
setUp()
void
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
-
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.IOException
ImpExException
-
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.IOException
ImpExException
-
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()
-
-