com.atlassian.confluence.activeobjects
Class ActiveObjectsPluginAcceptanceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.junit3.JUnit3TimingTestCase
              extended by com.atlassian.confluence.rest.AbstractRestAcceptanceTest
                  extended by com.atlassian.confluence.activeobjects.AbstractActiveObjectsAcceptanceTest
                      extended by com.atlassian.confluence.activeobjects.ActiveObjectsPluginAcceptanceTest
All Implemented Interfaces:
junit.framework.Test

public class ActiveObjectsPluginAcceptanceTest
extends AbstractActiveObjectsAcceptanceTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.activeobjects.AbstractActiveObjectsAcceptanceTest
aoTestHelper, webresource
 
Fields inherited from class com.atlassian.confluence.rest.AbstractRestAcceptanceTest
adminRootResource, baseUrl, client, loginHelper, propertiesManager, rootResource, rpc, serverStateManager, testData, userHelper
 
Constructor Summary
ActiveObjectsPluginAcceptanceTest()
           
 
Method Summary
 void currentAccess()
          This test passes when using serializable transactions via the following property in confluence.cfg.xml:
 void testClusterReadWrite()
           
 void testCreate()
           
 void testDelete()
           
 void testSpaceCreationRolledBackOnExceptionInNestedTransaction()
           
 void testTransactionDeleteIsRolledBack()
           
 void testUpdate()
           
 void testUpdateWithExceptionOutsideOfAOTransaction()
           
 void testUpdateWithExceptionOutsideOfAOTransactionExplicitGC()
           
 void testUpdateWithExceptionOutsideOfAOTransactionFlushCache()
           
 void testUpdateWithRollback()
           
 
Methods inherited from class com.atlassian.confluence.activeobjects.AbstractActiveObjectsAcceptanceTest
setUp, uninstallPlugin
 
Methods inherited from class com.atlassian.confluence.rest.AbstractRestAcceptanceTest
assertLink, doGet, doGet, doPost, doPut, expand, expandWithIndexes, getContentWithId, getResource, getRootResource, getTester, tearDown
 
Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase
runBare, setExceptionTransformer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, 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

ActiveObjectsPluginAcceptanceTest

public ActiveObjectsPluginAcceptanceTest()
Method Detail

testCreate

public void testCreate()
                throws Exception
Throws:
Exception

testDelete

public void testDelete()
                throws Exception
Throws:
Exception

testTransactionDeleteIsRolledBack

public void testTransactionDeleteIsRolledBack()
                                       throws Exception
Throws:
Exception

testUpdate

public void testUpdate()
                throws Exception
Throws:
Exception

testUpdateWithRollback

public void testUpdateWithRollback()
                            throws Exception
Throws:
Exception

testUpdateWithExceptionOutsideOfAOTransaction

public void testUpdateWithExceptionOutsideOfAOTransaction()
                                                   throws Exception
Throws:
Exception

testUpdateWithExceptionOutsideOfAOTransactionFlushCache

public void testUpdateWithExceptionOutsideOfAOTransactionFlushCache()
                                                             throws Exception
Throws:
Exception

testUpdateWithExceptionOutsideOfAOTransactionExplicitGC

public void testUpdateWithExceptionOutsideOfAOTransactionExplicitGC()
                                                             throws Exception
Throws:
Exception

testSpaceCreationRolledBackOnExceptionInNestedTransaction

public void testSpaceCreationRolledBackOnExceptionInNestedTransaction()
                                                               throws Exception
Throws:
Exception

testClusterReadWrite

public void testClusterReadWrite()
                          throws Exception
Throws:
Exception

currentAccess

public void currentAccess()
                   throws Exception
This test passes when using serializable transactions via the following property in confluence.cfg.xml:
      <property name="hibernate.connection.isolation">8</property>
 

Throws:
Exception


Copyright © 2003-2013 Atlassian. All Rights Reserved.