Class CommitModeListenerTest
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.indexer.listeners.CommitModeListenerTest
-
@UnitTest public class CommitModeListenerTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionexpectedException
-
Constructor Summary
Constructors Constructor Description CommitModeListenerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefaultModeShouldBeCommitAfterIndex()voidindexerHintIsInvalid()voidindexerHintShouldBeCommitModeMixed()voidsetUp()voidshouldCommitAfterBatch()voidshouldCommitAfterIndex()voidshouldCommitMixed()voidshouldNeverCommit()voidshouldNeverCommitOnBeforeAndErrorListeners()
-
-
-
Method Detail
-
setUp
public void setUp() throws SolrServiceException- Throws:
SolrServiceException
-
shouldNeverCommit
public void shouldNeverCommit() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldCommitAfterIndex
public void shouldCommitAfterIndex() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldCommitAfterBatch
public void shouldCommitAfterBatch() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldCommitMixed
public void shouldCommitMixed() throws java.lang.Exception- Throws:
java.lang.Exception
-
defaultModeShouldBeCommitAfterIndex
public void defaultModeShouldBeCommitAfterIndex() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldNeverCommitOnBeforeAndErrorListeners
public void shouldNeverCommitOnBeforeAndErrorListeners() throws java.lang.Exception- Throws:
java.lang.Exception
-
indexerHintShouldBeCommitModeMixed
public void indexerHintShouldBeCommitModeMixed() throws java.lang.Exception- Throws:
java.lang.Exception
-
indexerHintIsInvalid
public void indexerHintIsInvalid() throws java.lang.Exception- Throws:
java.lang.Exception
-
-