org.kuali.rice.ksb.messaging
Class TransactionMessagingTest

java.lang.Object
  extended by org.kuali.rice.test.BaseRiceTestCase
      extended by org.kuali.rice.test.RiceTestCase
          extended by org.kuali.rice.test.RiceInternalSuiteDataTestCase
              extended by org.kuali.rice.test.BaseModuleTestCase
                  extended by org.kuali.rice.test.BaselineTestCase
                      extended by org.kuali.rice.ksb.test.KSBTestCase
                          extended by org.kuali.rice.ksb.messaging.TransactionMessagingTest
All Implemented Interfaces:
MethodAware

public class TransactionMessagingTest
extends KSBTestCase

Verify that messaging works in the context of a transaction and message invokation is done via the TransactionSynchronization messagei

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
Fields inherited from class org.kuali.rice.test.BaselineTestCase
dirty
 
Fields inherited from class org.kuali.rice.test.BaseModuleTestCase
LOG, moduleName
 
Fields inherited from class org.kuali.rice.test.RiceTestCase
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
 
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase
log, method
 
Constructor Summary
TransactionMessagingTest()
           
 
Method Summary
 void setUp()
           
 boolean startClient1()
           
 void testMessageNotSentOnRolledBackTransaction()
           
 void testMessageSentOnCommittedTransaction()
           
 
Methods inherited from class org.kuali.rice.ksb.test.KSBTestCase
disableJta, getPerTestLifecycles, getSpringContextResourceLoader, getTestClient1, getTestClient2, setSpringContextResourceLoader, startClient2
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
 
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase
getModuleName
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData, loadSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getLoadApplicationLifecycle, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getSuiteLifecycles, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionMessagingTest

public TransactionMessagingTest()
Method Detail

startClient1

public boolean startClient1()
Overrides:
startClient1 in class KSBTestCase

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class KSBTestCase
Throws:
Exception

testMessageSentOnCommittedTransaction

public void testMessageSentOnCommittedTransaction()
                                           throws Exception
Throws:
Exception

testMessageNotSentOnRolledBackTransaction

public void testMessageNotSentOnRolledBackTransaction()
                                               throws Exception
Throws:
Exception


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.