org.alfresco.repo.transaction
Class TransactionAwareSingletonTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.transaction.TransactionAwareSingletonTest
All Implemented Interfaces:
junit.framework.Test

public class TransactionAwareSingletonTest
extends junit.framework.TestCase

See Also:
TransactionAwareSingleton

Constructor Summary
TransactionAwareSingletonTest()
           
 
Method Summary
 void setUp()
           
 void testCommit()
           
 void testRollback()
           
 void testThreadsCommit()
           
 void testThreadsRollback()
           
 
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

TransactionAwareSingletonTest

public TransactionAwareSingletonTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testCommit

public void testCommit()
                throws java.lang.Throwable
Throws:
java.lang.Throwable

testRollback

public void testRollback()
                  throws java.lang.Throwable
Throws:
java.lang.Throwable

testThreadsCommit

public void testThreadsCommit()
                       throws java.lang.Throwable
Throws:
java.lang.Throwable

testThreadsRollback

public void testThreadsRollback()
                         throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.