Class FlexibleSearchDataSourceTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class FlexibleSearchDataSourceTest extends AbstractSwitchingDataSourceTest
  • Constructor Details

    • FlexibleSearchDataSourceTest

      public FlexibleSearchDataSourceTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class AbstractSwitchingDataSourceTest
      Throws:
      Exception
    • tearDown

      public void tearDown()
      Overrides:
      tearDown in class AbstractSwitchingDataSourceTest
    • 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()