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, toString
assertEquals, 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, format
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testSetUp() throws java.lang.Exception
java.lang.Exception
public void testNoTxnStatus() throws java.lang.Exception
java.lang.Exception
public void testSimpleTxnWithCommit() throws java.lang.Throwable
java.lang.Throwable
public void testSimpleTxnWithRollback() throws java.lang.Exception
java.lang.Exception
public void testNoBeginCommit() throws java.lang.Exception
java.lang.Exception
public void testPostRollbackCommitDetection() throws java.lang.Exception
java.lang.Exception
public void testPostSetRollbackOnlyCommitDetection() throws java.lang.Exception
java.lang.Exception
public void testMismatchedBeginCommit() throws java.lang.Exception
java.lang.Exception
public void xtestLeakedTransactionLogging() throws java.lang.Exception
java.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.