Class TransactionTest


  • public class TransactionTest
    extends AbstractGremlinTest
    Author:
    Stephen Mallette (http://stephen.genoprime.com)
    • Constructor Detail

      • TransactionTest

        public TransactionTest()
    • Method Detail

      • shouldHaveExceptionConsistencyWhenTransactionAlreadyOpen

        public void shouldHaveExceptionConsistencyWhenTransactionAlreadyOpen()
      • shouldHaveExceptionConsistencyWhenTransactionOpenOnClose

        public void shouldHaveExceptionConsistencyWhenTransactionOpenOnClose()
      • shouldHaveExceptionConsistencyWhenUsingManualTransaction

        public void shouldHaveExceptionConsistencyWhenUsingManualTransaction()
      • shouldHaveExceptionConsistencyWhenUsingManualTransactionOnCommit

        public void shouldHaveExceptionConsistencyWhenUsingManualTransactionOnCommit()
      • shouldHaveExceptionConsistencyWhenUsingManualTransactionOnRollback

        public void shouldHaveExceptionConsistencyWhenUsingManualTransactionOnRollback()
      • shouldAllowJustCommitOnlyWithAutoTransaction

        public void shouldAllowJustCommitOnlyWithAutoTransaction()
      • shouldAllowJustRollbackOnlyWithAutoTransaction

        public void shouldAllowJustRollbackOnlyWithAutoTransaction()
      • shouldHaveExceptionConsistencyWhenOnCloseToNull

        public void shouldHaveExceptionConsistencyWhenOnCloseToNull()
      • shouldHaveExceptionConsistencyWhenOnReadWriteToNull

        public void shouldHaveExceptionConsistencyWhenOnReadWriteToNull()
      • shouldAllowAutoTransactionToWorkWithoutMutationByDefault

        public void shouldAllowAutoTransactionToWorkWithoutMutationByDefault()
      • shouldNotifyTransactionListenersOnCommitSuccess

        public void shouldNotifyTransactionListenersOnCommitSuccess()
      • shouldNotifyTransactionListenersInSameThreadOnlyOnCommitSuccess

        public void shouldNotifyTransactionListenersInSameThreadOnlyOnCommitSuccess()
                                                                             throws Exception
        Throws:
        Exception
      • shouldNotifyTransactionListenersOnRollbackSuccess

        public void shouldNotifyTransactionListenersOnRollbackSuccess()
      • shouldNotifyTransactionListenersInSameThreadOnlyOnRollbackSuccess

        public void shouldNotifyTransactionListenersInSameThreadOnlyOnRollbackSuccess()
                                                                               throws Exception
        Throws:
        Exception
      • shouldCommitElementAutoTransactionByDefault

        public void shouldCommitElementAutoTransactionByDefault()
      • shouldRollbackElementAutoTransactionByDefault

        public void shouldRollbackElementAutoTransactionByDefault()
      • shouldCommitPropertyAutoTransactionByDefault

        public void shouldCommitPropertyAutoTransactionByDefault()
      • shouldRollbackPropertyAutoTransactionByDefault

        public void shouldRollbackPropertyAutoTransactionByDefault()
      • shouldCommitOnCloseWhenConfigured

        public void shouldCommitOnCloseWhenConfigured()
                                               throws Exception
        Throws:
        Exception
      • shouldRollbackOnCloseByDefault

        public void shouldRollbackOnCloseByDefault()
                                            throws Exception
        Throws:
        Exception
      • shouldExecuteWithCompetingThreads

        public void shouldExecuteWithCompetingThreads()
      • shouldExecuteCompetingThreadsOnMultipleDbInstances

        public void shouldExecuteCompetingThreadsOnMultipleDbInstances()
                                                                throws Exception
        Throws:
        Exception
      • shouldSupportTransactionIsolationCommitCheck

        public void shouldSupportTransactionIsolationCommitCheck()
                                                          throws Exception
        Throws:
        Exception
      • shouldSupportMultipleThreadsOnTheSameTransaction

        public void shouldSupportMultipleThreadsOnTheSameTransaction()
                                                              throws Exception
        Throws:
        Exception
      • shouldOpenTxWhenThreadedTransactionIsCreated

        public void shouldOpenTxWhenThreadedTransactionIsCreated()
                                                          throws Exception
        Throws:
        Exception
      • shouldNotReuseThreadedTransaction

        public void shouldNotReuseThreadedTransaction()
                                               throws Exception
        Throws:
        Exception
      • shouldCountVerticesEdgesOnPreTransactionCommit

        public void shouldCountVerticesEdgesOnPreTransactionCommit()
      • shouldSupportTransactionIsolationWithSeparateThreads

        public void shouldSupportTransactionIsolationWithSeparateThreads()
                                                                  throws Exception
        Throws:
        Exception
      • shouldAllowReferenceOfVertexOutsideOfOriginalTransactionalContextManual

        public void shouldAllowReferenceOfVertexOutsideOfOriginalTransactionalContextManual()
      • shouldAllowReferenceOfEdgeOutsideOfOriginalTransactionalContextManual

        public void shouldAllowReferenceOfEdgeOutsideOfOriginalTransactionalContextManual()
      • shouldAllowReferenceOfVertexOutsideOfOriginalTransactionalContextAuto

        public void shouldAllowReferenceOfVertexOutsideOfOriginalTransactionalContextAuto()
      • shouldAllowReferenceOfEdgeOutsideOfOriginalTransactionalContextAuto

        public void shouldAllowReferenceOfEdgeOutsideOfOriginalTransactionalContextAuto()
      • shouldAllowReferenceOfVertexIdOutsideOfOriginalThreadManual

        public void shouldAllowReferenceOfVertexIdOutsideOfOriginalThreadManual()
                                                                         throws Exception
        Throws:
        Exception
      • shouldAllowReferenceOfEdgeIdOutsideOfOriginalThreadManual

        public void shouldAllowReferenceOfEdgeIdOutsideOfOriginalThreadManual()
                                                                       throws Exception
        Throws:
        Exception
      • shouldAllowReferenceOfVertexIdOutsideOfOriginalThreadAuto

        public void shouldAllowReferenceOfVertexIdOutsideOfOriginalThreadAuto()
                                                                       throws Exception
        Throws:
        Exception
      • shouldAllowReferenceOfEdgeIdOutsideOfOriginalThreadAuto

        public void shouldAllowReferenceOfEdgeIdOutsideOfOriginalThreadAuto()
                                                                     throws Exception
        Throws:
        Exception