|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.util.transaction.SpringAwareUserTransactionTest
public class SpringAwareUserTransactionTest
SpringAwareUserTransaction
Constructor Summary | |
---|---|
SpringAwareUserTransactionTest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpringAwareUserTransactionTest()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |