Class DefaultFacetSearchConfigCacheServiceTest
- 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.config.cache.impl.DefaultFacetSearchConfigCacheServiceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultFacetSearchConfigCacheServiceTest extends AbstractIntegrationTest
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedException
expectedException
protected static java.lang.String
FACET_SEARCH_CONFIG_NAME
protected static java.lang.String
LANG_DE
protected static java.lang.String
LANG_EN
-
Fields inherited from class de.hybris.platform.solrfacetsearch.integration.AbstractIntegrationTest
DEFAULT_ENCODING, 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 DefaultFacetSearchConfigCacheServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testInvalidate()
void
testInvalidateForDiffrentLanguages()
void
testInvalidateNotCached()
void
testInvalidateNotExisting()
void
testInvalidationListener()
void
testPutOrGetForDifferentLaguages()
void
testPutOrGetFromCache()
void
testPutOrGetNotExisting()
-
Methods inherited from class de.hybris.platform.solrfacetsearch.integration.AbstractIntegrationTest
beforeLoadData, getFacetSearchConfig, getFacetSearchConfigName, getIndexedTypeModel, getProductCode, getSolrFacetSearchConfigModel, getTestId, importConfig, importConfig, initializeIndexedType, loadData, 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
-
expectedException
public org.junit.rules.ExpectedException expectedException
-
FACET_SEARCH_CONFIG_NAME
protected static final java.lang.String FACET_SEARCH_CONFIG_NAME
- See Also:
- Constant Field Values
-
LANG_EN
protected static final java.lang.String LANG_EN
- See Also:
- Constant Field Values
-
LANG_DE
protected static final java.lang.String LANG_DE
- See Also:
- Constant Field Values
-
-
Method Detail
-
testPutOrGetFromCache
public void testPutOrGetFromCache() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPutOrGetNotExisting
public void testPutOrGetNotExisting() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPutOrGetForDifferentLaguages
public void testPutOrGetForDifferentLaguages() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInvalidate
public void testInvalidate() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInvalidateForDiffrentLanguages
public void testInvalidateForDiffrentLanguages() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInvalidateNotCached
public void testInvalidateNotCached() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInvalidateNotExisting
public void testInvalidateNotExisting() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInvalidationListener
public void testInvalidationListener() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-