Class OptimizeModeListenerTest

java.lang.Object
de.hybris.platform.solrfacetsearch.indexer.listeners.OptimizeModeListenerTest

@UnitTest public class OptimizeModeListenerTest extends Object
  • Field Details

    • expectedException

      public org.junit.rules.ExpectedException expectedException
  • Constructor Details

    • OptimizeModeListenerTest

      public OptimizeModeListenerTest()
  • Method Details

    • setUp

      public void setUp() throws SolrServiceException
      Throws:
      SolrServiceException
    • shouldNeverOptimize

      public void shouldNeverOptimize() throws Exception
      Throws:
      Exception
    • shouldOptimizeAfterIndex

      public void shouldOptimizeAfterIndex() throws Exception
      Throws:
      Exception
    • shouldOptimizeAfterFullIndex

      public void shouldOptimizeAfterFullIndex() throws Exception
      Throws:
      Exception
    • shouldNotOptimizeAfterIndexUpdate

      public void shouldNotOptimizeAfterIndexUpdate() throws Exception
      Throws:
      Exception
    • defaultModeShouldBeNeverOptimize

      public void defaultModeShouldBeNeverOptimize() throws Exception
      Throws:
      Exception
    • shouldNeverOptimizeOnBeforeAndErrorListeners

      public void shouldNeverOptimizeOnBeforeAndErrorListeners() throws Exception
      Throws:
      Exception
    • indexerHintShouldBeOptimizedAfterIndex

      public void indexerHintShouldBeOptimizedAfterIndex() throws Exception
      Throws:
      Exception
    • indexerHintIsNotValid

      public void indexerHintIsNotValid() throws Exception
      Throws:
      Exception