Class CommitModeListenerTest


  • @UnitTest
    public class CommitModeListenerTest
    extends java.lang.Object
    • Field Detail

      • expectedException

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

      • CommitModeListenerTest

        public CommitModeListenerTest()
    • Method Detail

      • 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