Class FlexibleSearchDataSourceTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.jalo.flexiblesearch.AbstractSwitchingDataSourceTest
de.hybris.platform.jalo.flexiblesearch.FlexibleSearchDataSourceTest
- All Implemented Interfaces:
JaloSessionHolder
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class de.hybris.platform.jalo.flexiblesearch.AbstractSwitchingDataSourceTest
tenantFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.jalo.flexiblesearch.AbstractSwitchingDataSourceTest
doWithActivatedAlternativeDataSource, doWithActivatedAlternativeDataSource, doWithActivatedSlaveDataSource, doWithActivatedSlaveDataSourceMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
FlexibleSearchDataSourceTest
public FlexibleSearchDataSourceTest()
-
-
Method Details
-
setUp
- Overrides:
setUpin classAbstractSwitchingDataSourceTest- Throws:
Exception
-
tearDown
public void tearDown()- Overrides:
tearDownin classAbstractSwitchingDataSourceTest
-
shouldUseActiveDataSource
public void shouldUseActiveDataSource() -
shouldUseActiveDataSourceWhenProcessSearchResult
public void shouldUseActiveDataSourceWhenProcessSearchResult() -
shouldUseActiveDataSourceInCache
public void shouldUseActiveDataSourceInCache() -
shouldUseActiveDataSourceWhenSwitchedToDifferentDS
public void shouldUseActiveDataSourceWhenSwitchedToDifferentDS() -
shouldUseActiveDataSourceWhenSwitchedToDifferentDSWithProcessSearchRows
public void shouldUseActiveDataSourceWhenSwitchedToDifferentDSWithProcessSearchRows() -
shouldUseActiveDataSourceWhenSwitchedToDifferentDSWithCache
public void shouldUseActiveDataSourceWhenSwitchedToDifferentDSWithCache() -
shouldUseSameCacheUnitIfSelectedDataSourceHasEqualCachingDomain
public void shouldUseSameCacheUnitIfSelectedDataSourceHasEqualCachingDomain() -
shouldUseSameCacheUnitIfSelectedDataSourcesHaveNoCachingDomain
public void shouldUseSameCacheUnitIfSelectedDataSourcesHaveNoCachingDomain() -
shouldUseSeparateCacheUnitIfSelectedDataSourceHasDifferentCachingDomain
public void shouldUseSeparateCacheUnitIfSelectedDataSourceHasDifferentCachingDomain() -
shouldNotDefineTTLWhenUsingCacheDomainWithoutTTL
public void shouldNotDefineTTLWhenUsingCacheDomainWithoutTTL() -
shouldUseDefinedTTLWhenUsingCachingDomainWithTTL
public void shouldUseDefinedTTLWhenUsingCachingDomainWithTTL() -
shouldInvalidateCacheUnitWithGenerationCounterWhenUsingCachingDomainWithoutTTL
public void shouldInvalidateCacheUnitWithGenerationCounterWhenUsingCachingDomainWithoutTTL() -
shouldNotInvalidateCacheUnitWithGenerationCounterWhenUsingCachingDomainWithTTL
public void shouldNotInvalidateCacheUnitWithGenerationCounterWhenUsingCachingDomainWithTTL() -
shouldInvalidateCacheUnitWithGenerationCounterWhenUsingTTLFromQuery
public void shouldInvalidateCacheUnitWithGenerationCounterWhenUsingTTLFromQuery() -
shouldNotInvalidateCacheUnitUntilTTLExpiresWhenUsingCachingDomainWithTTL
public void shouldNotInvalidateCacheUnitUntilTTLExpiresWhenUsingCachingDomainWithTTL() -
shouldUseTTLProvidedInQueryWhenUsingCacheDomainWithTTL
public void shouldUseTTLProvidedInQueryWhenUsingCacheDomainWithTTL() -
shouldDisableTTLModeIfTTLDefinedForCacheDomainIsZero
public void shouldDisableTTLModeIfTTLDefinedForCacheDomainIsZero() -
shouldDisableTTLModeIfTTLDefinedForCacheDomainIsNegative
public void shouldDisableTTLModeIfTTLDefinedForCacheDomainIsNegative() -
shouldDisableTTLModeIfTTLDefinedForCacheDomainIsEmpty
public void shouldDisableTTLModeIfTTLDefinedForCacheDomainIsEmpty() -
shouldDisableTTLModeIfTTLDefinedForCacheDomainIsInvalid
public void shouldDisableTTLModeIfTTLDefinedForCacheDomainIsInvalid() -
shouldReturnProperDataSourceId
public void shouldReturnProperDataSourceId() -
shouldReturnProperDataSourceIdWithCache
public void shouldReturnProperDataSourceIdWithCache() -
shouldReturnProperDataSourceIdWithAlternativeDataSource
public void shouldReturnProperDataSourceIdWithAlternativeDataSource() -
shouldReturnProperDataSourceIdWithAlternativeDataSourceWithCache
public void shouldReturnProperDataSourceIdWithAlternativeDataSourceWithCache() -
shouldReturnProperDataSourceIdWithSlaveDataSource
public void shouldReturnProperDataSourceIdWithSlaveDataSource() -
shouldReturnProperDataSourceIdWithSlaveDataSourceWithCache
public void shouldReturnProperDataSourceIdWithSlaveDataSourceWithCache() -
shouldUseReadOnlyDataSourceWithSessionAttributeProperlySet
public void shouldUseReadOnlyDataSourceWithSessionAttributeProperlySet() -
shouldUseReadOnlyDataSourceWithSessionAttributeProperlySetWithCache
public void shouldUseReadOnlyDataSourceWithSessionAttributeProperlySetWithCache() -
shouldUseReadOnlyDataSourceOnProcessQueryRowsWithSessionAttributeProperlySet
public void shouldUseReadOnlyDataSourceOnProcessQueryRowsWithSessionAttributeProperlySet() -
shouldUseReadOnlyDataSourceWithProperHint
public void shouldUseReadOnlyDataSourceWithProperHint() -
shouldUseReadOnlyDataSourceTwiceWithProperHint
public void shouldUseReadOnlyDataSourceTwiceWithProperHint() -
shouldNotUseReadOnlyDataSourceWithSessionAttributeProperlySetAndProperHint
public void shouldNotUseReadOnlyDataSourceWithSessionAttributeProperlySetAndProperHint() -
shouldUseTTLConfiguredForCategoryInQueryWhenHints
public void shouldUseTTLConfiguredForCategoryInQueryWhenHints() -
shouldDisableTTLModeIfTTLDefinedForCategoryIsZero
public void shouldDisableTTLModeIfTTLDefinedForCategoryIsZero() -
shouldDisableTTLModeIfTTLDefinedForCategoryIsNegative
public void shouldDisableTTLModeIfTTLDefinedForCategoryIsNegative() -
shouldDisableTTLModeIfTTLDefinedForCategoryIsInvalid
public void shouldDisableTTLModeIfTTLDefinedForCategoryIsInvalid() -
shouldUseTTLConfiguredForSessionBeforeUsingTTLForCategory
public void shouldUseTTLConfiguredForSessionBeforeUsingTTLForCategory() -
shouldUseTTLConfiguredForCategoryBeforeUsingTTLForCacheDomain
public void shouldUseTTLConfiguredForCategoryBeforeUsingTTLForCacheDomain() -
shouldUseLowestTTLConfiguredForCategories
public void shouldUseLowestTTLConfiguredForCategories()
-