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
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidtearDown()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
TransactionTest
public TransactionTest()
-
-
Method Details
-
tearDown
public void tearDown() -
testCommitWithActivateFalse
- Throws:
Exception
-
testIneffectiveRollbackWithActivateFalse
- Throws:
Exception
-
shouldThrowExceptionByNullConnectionInTransactionBegin
- Throws:
Exception
-
shouldThrowSQLExceptionAllTimeByGettingConnectionInTransactionBegin
public void shouldThrowSQLExceptionAllTimeByGettingConnectionInTransactionBegin() -
shouldThrowSQLExceptionThreeTimesByGettingConnectionInTransactionBegin
public void shouldThrowSQLExceptionThreeTimesByGettingConnectionInTransactionBegin() throws Exception- Throws:
Exception
-
shouldGetConnectionInTransactionBeginTwoTimeForWrongPropertyValue
public void shouldGetConnectionInTransactionBeginTwoTimeForWrongPropertyValue() -
shouldGetConnectionOneTimeWithNegativePropertyValue
public void shouldGetConnectionOneTimeWithNegativePropertyValue() -
shouldGetConnectionOneTimeWithPropertyValueSetToZero
public void shouldGetConnectionOneTimeWithPropertyValueSetToZero() -
shouldThrowSQLExceptionByPrepareErrorQueryConnectionInTransactionBegin
public void shouldThrowSQLExceptionByPrepareErrorQueryConnectionInTransactionBegin() -
shouldThrowSQLExceptionByGettingConnectionInTransactionBegin
- Throws:
Exception
-
testItemAccessDuringCommit_PLA10839
- Throws:
Exception
-
testItemUpdateDuringCommit_PLA10839
- Throws:
Exception
-
shouldExecuteLogicOnCommit
- Throws:
Exception
-
shouldExecuteLogicOnRollback
- Throws:
Exception
-
shouldExecuteLogicOnCommit_NestedTX
- Throws:
Exception
-
shouldExecuteLogicOnRollback_NestedTX
- Throws:
Exception
-
testErrorInNestedCommit
public void testErrorInNestedCommit() -
testErrorInNestedCommitUsingTxBody
public void testErrorInNestedCommitUsingTxBody() -
testRollbackOnCommitError
- Throws:
SQLException
-
testConnectionNoClosedAfterRollback
- Throws:
SQLException
-
testErrorInCommit
- Throws:
SQLException
-
testLocking
- Throws:
Exception
-
testGetAllAttributes
- Throws:
Exception
-
testInTXModification1
- Throws:
Exception
-
testInTXModification2
- Throws:
Exception
-
testInTXRemoval
- Throws:
Exception
-
testGlobalCacheInvalidationMessageSent
- Throws:
Exception
-
testJaloCacheInvalidation
- Throws:
Exception
-
testCacheInvalidationWithUserTransaction
- Throws:
Exception
-
testIsolation
- Throws:
ConsistencyCheckException
-
testDeadlocks
- Throws:
Exception
-
testNestedTransactionCommit
- Throws:
ConsistencyCheckException
-
testNestedTransactionRollback
- Throws:
ConsistencyCheckException
-
testNestedTransaction
- Throws:
ConsistencyCheckException
-
testNestedTransactionExecute
- Throws:
Exception
-
testNestedTransactionWithCreate
- Throws:
Exception
-
testNestedTAError
- Throws:
Exception
-
testPermittedExceptions
- Throws:
Exception
-
testToException
public void testToException() -
testManualRollbackNoException
- Throws:
ConsistencyCheckException
-
testWrongOpenTxCountAfterErrorDuringRollback
public void testWrongOpenTxCountAfterErrorDuringRollback() -
testItemNotAliveAfterTransactionRollback
public void testItemNotAliveAfterTransactionRollback()
-