public class SpringAwareUserTransactionTest
extends junit.framework.TestCase
SpringAwareUserTransaction| Constructor and Description |
|---|
SpringAwareUserTransactionTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testMismatchedBeginCommit() |
void |
testNoBeginCommit() |
void |
testNoTxnStatus() |
void |
testPostRollbackCommitDetection() |
void |
testPostSetRollbackOnlyCommitDetection() |
void |
testSetUp() |
void |
testSimpleTxnWithCommit() |
void |
testSimpleTxnWithRollback() |
void |
xtestLeakedTransactionLogging()
Test for leaked transactions (no guarantee it will succeed due to reliance
on garbage collector), so disabled by default.
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, formatprotected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionpublic void testSetUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testNoTxnStatus()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimpleTxnWithCommit()
throws java.lang.Throwable
java.lang.Throwablepublic void testSimpleTxnWithRollback()
throws java.lang.Exception
java.lang.Exceptionpublic void testNoBeginCommit()
throws java.lang.Exception
java.lang.Exceptionpublic void testPostRollbackCommitDetection()
throws java.lang.Exception
java.lang.Exceptionpublic void testPostSetRollbackOnlyCommitDetection()
throws java.lang.Exception
java.lang.Exceptionpublic void testMismatchedBeginCommit()
throws java.lang.Exception
java.lang.Exceptionpublic void xtestLeakedTransactionLogging()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.