org.kuali.rice.ksb.messaging
Class TransactionMessagingTest

java.lang.Object
  extended by org.junit.Assert
      extended by org.kuali.rice.test.BaseRiceTestCase
          extended by org.kuali.rice.test.RiceTestCase
              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)

Field Summary
 
Fields inherited from class org.kuali.rice.ksb.test.KSBTestCase
MOCK_JAVA_SECURITY_MANAGEMENT_SERVICE_BEAN_ID
 
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, getModuleName, getPerTestLifecycles, getPerTestTablesNotToClear, getServiceFromTestClient1SpringContext, getServiceFromWebAppResourceLoader, getSpringContextResourceLoader, getTestClient1, getTestClient2, setSpringContextResourceLoader, startClient2, verifyServiceCallsViaBam
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getLoadApplicationLifecycle, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getSuiteLifecycles, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, loadPerTestData, loadSuiteTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, 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 org.junit.Assert
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
 
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 © 2007-2011 The Kuali Foundation. All Rights Reserved.