public class TransactionAwareAuditTest extends ServicelayerBaseTest implements AuditableTest
jaloSession| Constructor and Description |
|---|
TransactionAwareAuditTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
restoreConfiguration() |
void |
shouldNotSaveItemAndAuditWithExplicitNestedTransactionAfterExceptionIsThrown() |
void |
shouldNotSaveItemAndAuditWithExplicitNestedTransactionAfterExceptionIsThrown2() |
void |
shouldNotSaveItemAndAuditWithExplicitTransaction() |
void |
shouldNotStoreItemAndAuditWithSpringTransaction() |
void |
shouldSaveItemAndAuditWithExcplicitTransaction() |
void |
shouldSaveItemAndAuditWithExplicitNestedTransaction() |
void |
testInternalWithExplicitNestedTransaction() |
void |
testInternalWithExplicitTransaction() |
void |
testInternalWithExplicitTransactionWithRollbackAndCommit() |
protected void |
warmUp() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassumeAuditEnabledpublic void restoreConfiguration()
protected void warmUp()
public void testInternalWithExplicitTransactionWithRollbackAndCommit()
throws java.lang.Exception
java.lang.Exceptionpublic void testInternalWithExplicitTransaction()
throws java.lang.Exception
java.lang.Exceptionpublic void testInternalWithExplicitNestedTransaction()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldNotSaveItemAndAuditWithExplicitTransaction()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldSaveItemAndAuditWithExcplicitTransaction()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldSaveItemAndAuditWithExplicitNestedTransaction()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldNotSaveItemAndAuditWithExplicitNestedTransactionAfterExceptionIsThrown()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldNotSaveItemAndAuditWithExplicitNestedTransactionAfterExceptionIsThrown2()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldNotStoreItemAndAuditWithSpringTransaction()
Copyright © 2018 SAP SE. All Rights Reserved.