org.kuali.rice.ken.services.impl
Class NotificationMessageDeliveryAutoRemovalServiceImplTest

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.ken.test.KENTestCase
                          extended by org.kuali.rice.ken.services.impl.NotificationMessageDeliveryAutoRemovalServiceImplTest
All Implemented Interfaces:
MethodAware

public class NotificationMessageDeliveryAutoRemovalServiceImplTest
extends KENTestCase

Tests NotificationMessageDeliveryAutoRemovalServiceImpl

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.ken.test.KENTestCase
KENTestCase.BootstrapTest, KENTestCase.ClearCacheLifecycle
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
Fields inherited from class org.kuali.rice.ken.test.KENTestCase
services, transactionManager
 
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
NotificationMessageDeliveryAutoRemovalServiceImplTest()
           
 
Method Summary
protected  void assertProcessResults()
           
protected  Collection<NotificationMessageDelivery> getLockedDeliveries()
          Gets all locked deliveries for the given entity.
 void testAutoRemovalConcurrency()
          Test concurrent auto-removal of message deliveries
 void testAutoRemovedNotificationMessageDeliveries()
          Test auto-removal message deliveries
 
Methods inherited from class org.kuali.rice.ken.test.KENTestCase
disableQuartzJobs, enableQuartzJobs, getLoadApplicationLifecycle, getNotificationPerTestLifecycles, getPerTestLifecycles, getPerTestTablesToClear, getSuiteLifecycles, loadDefaultTestData, loadPerTestData, setUpAfterDataLoad
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestTablesNotToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
 
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, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
 
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

NotificationMessageDeliveryAutoRemovalServiceImplTest

public NotificationMessageDeliveryAutoRemovalServiceImplTest()
Method Detail

assertProcessResults

protected void assertProcessResults()

testAutoRemovedNotificationMessageDeliveries

public void testAutoRemovedNotificationMessageDeliveries()
Test auto-removal message deliveries


testAutoRemovalConcurrency

public void testAutoRemovalConcurrency()
                                throws InterruptedException
Test concurrent auto-removal of message deliveries

Throws:
InterruptedException

getLockedDeliveries

protected Collection<NotificationMessageDelivery> getLockedDeliveries()
Gets all locked deliveries for the given entity.

Returns:
null


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