org.kuali.rice.ksb.messaging
Class MessageFetcherTest

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.MessageFetcherTest
All Implemented Interfaces:
MethodAware

public class MessageFetcherTest
extends KSBTestCase

Tests MessageFetcher. Turn messaging off but leave persistence on. this will result in messages being persisted to db but not delivered. from there we start up the MessageFetcher and make sure he does his job.

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.ksb.test.KSBTestCase
KSBTestCase.BootstrapTest
 
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
MessageFetcherTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testRequeueMessages()
           
 void testRequeueSingleMessage()
           
 
Methods inherited from class org.kuali.rice.ksb.test.KSBTestCase
disableJta, getPerTestLifecycles, getSpringContextResourceLoader, getTestClient1, getTestClient2, setSpringContextResourceLoader, startClient1, 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, getConfigLocations, getFullTestName, getLoadApplicationLifecycle, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getSuiteLifecycles, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageFetcherTest

public MessageFetcherTest()
Method Detail

setUp

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

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class RiceTestCase
Throws:
Exception

testRequeueMessages

public void testRequeueMessages()
                         throws Exception
Throws:
Exception

testRequeueSingleMessage

public void testRequeueSingleMessage()
                              throws Exception
Throws:
Exception


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.