Package de.hybris.platform.test
Class TransactionTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.test.TransactionTest
-
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
DefaultB2BRegistrationFacadeUnitTest
@IntegrationTest public class TransactionTest extends HybrisJUnit4Test
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description TransactionTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
tearDown
public void tearDown()
-
testCommitWithActivateFalse
public void testCommitWithActivateFalse() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testIneffectiveRollbackWithActivateFalse
public void testIneffectiveRollbackWithActivateFalse() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testErrorOnBeginWithNullConnection
public void testErrorOnBeginWithNullConnection() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testErrorOnBeginWithExceptionInDataSource
public void testErrorOnBeginWithExceptionInDataSource() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testItemAccessDuringCommit_PLA10839
public void testItemAccessDuringCommit_PLA10839() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testItemUpdateDuringCommit_PLA10839
public void testItemUpdateDuringCommit_PLA10839() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldExecuteLogicOnCommit
public void shouldExecuteLogicOnCommit() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldExecuteLogicOnRollback
public void shouldExecuteLogicOnRollback() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldExecuteLogicOnCommit_NestedTX
public void shouldExecuteLogicOnCommit_NestedTX() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldExecuteLogicOnRollback_NestedTX
public void shouldExecuteLogicOnRollback_NestedTX() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testErrorInNestedCommit
public void testErrorInNestedCommit()
-
testErrorInNestedCommitUsingTxBody
public void testErrorInNestedCommitUsingTxBody()
-
testRollbackOnCommitError
public void testRollbackOnCommitError() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testConnectionNoClosedAfterRollback
public void testConnectionNoClosedAfterRollback() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testErrorInCommit
public void testErrorInCommit() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testLocking
public void testLocking() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetAllAttributes
public void testGetAllAttributes() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInTXModification1
public void testInTXModification1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInTXModification2
public void testInTXModification2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testInTXRemoval
public void testInTXRemoval() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGlobalCacheInvalidationMessageSent
public void testGlobalCacheInvalidationMessageSent() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testJaloCacheInvalidation
public void testJaloCacheInvalidation() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCacheInvalidationWithUserTransaction
public void testCacheInvalidationWithUserTransaction() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testIsolation
public void testIsolation() throws ConsistencyCheckException
- Throws:
ConsistencyCheckException
-
testDeadlocks
public void testDeadlocks() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNestedTransactionCommit
public void testNestedTransactionCommit() throws ConsistencyCheckException
- Throws:
ConsistencyCheckException
-
testNestedTransactionRollback
public void testNestedTransactionRollback() throws ConsistencyCheckException
- Throws:
ConsistencyCheckException
-
testNestedTransaction
public void testNestedTransaction() throws ConsistencyCheckException
- Throws:
ConsistencyCheckException
-
testNestedTransactionExecute
public void testNestedTransactionExecute() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNestedTransactionWithCreate
public void testNestedTransactionWithCreate() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testNestedTAError
public void testNestedTAError() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPermittedExceptions
public void testPermittedExceptions() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testToException
public void testToException()
-
testManualRollbackNoException
public void testManualRollbackNoException() throws ConsistencyCheckException
- Throws:
ConsistencyCheckException
-
testWrongOpenTxCountAfterErrorDuringRollback
public void testWrongOpenTxCountAfterErrorDuringRollback()
-
testItemNotAliveAfterTransactionRollback
public void testItemNotAliveAfterTransactionRollback()
-
-