org.kuali.rice.ken.dao
Class NotificationPriorityDaoTest

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.dao.BusinessObjectDaoTestCaseBase
                              extended by org.kuali.rice.ken.dao.BusinessObjectPersistenceTestCaseBase
                                  extended by org.kuali.rice.ken.dao.NotificationPriorityDaoTest
All Implemented Interfaces:
MethodAware

public class NotificationPriorityDaoTest
extends BusinessObjectPersistenceTestCaseBase

This class test basic persistence for the NotificationPriority business object.

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.ken.test.KENTestCase
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.dao.BusinessObjectDaoTestCaseBase
businessObjectDao
 
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
NotificationPriorityDaoTest()
           
 
Method Summary
protected  boolean delete()
          This method must be implemented to return true if a record was properly delted from the database.
protected  boolean insert()
          This method must be implemented to return true if a record was properly inserted into the database.
protected  boolean retrieve()
          This method must be implemented to return true if a record was properly retreived from the database.
protected  boolean update()
          This method must be implemented to return true if a record was properly updated in the database.
protected  boolean validateChanges()
          This method should be implemented to retrieve the objects that were just updated, and validate that their changes took effect.
 
Methods inherited from class org.kuali.rice.ken.dao.BusinessObjectPersistenceTestCaseBase
setup, testBasicPersistence
 
Methods inherited from class org.kuali.rice.ken.dao.BusinessObjectDaoTestCaseBase
setUp
 
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
 
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, 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, resetLogLevels, setLogLevel, setName, setTestMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationPriorityDaoTest

public NotificationPriorityDaoTest()
Method Detail

delete

protected boolean delete()
Description copied from class: BusinessObjectPersistenceTestCaseBase
This method must be implemented to return true if a record was properly delted from the database.

Specified by:
delete in class BusinessObjectPersistenceTestCaseBase
Returns:
boolean
See Also:
BusinessObjectPersistenceTestCaseBase.delete()

retrieve

protected boolean retrieve()
Description copied from class: BusinessObjectPersistenceTestCaseBase
This method must be implemented to return true if a record was properly retreived from the database.

Specified by:
retrieve in class BusinessObjectPersistenceTestCaseBase
Returns:
boolean
See Also:
BusinessObjectPersistenceTestCaseBase.retrieve()

insert

protected boolean insert()
Description copied from class: BusinessObjectPersistenceTestCaseBase
This method must be implemented to return true if a record was properly inserted into the database.

Specified by:
insert in class BusinessObjectPersistenceTestCaseBase
Returns:
boolean
See Also:
BusinessObjectPersistenceTestCaseBase.insert()

update

protected boolean update()
Description copied from class: BusinessObjectPersistenceTestCaseBase
This method must be implemented to return true if a record was properly updated in the database.

Specified by:
update in class BusinessObjectPersistenceTestCaseBase
Returns:
boolean
See Also:
BusinessObjectPersistenceTestCaseBase.update()

validateChanges

protected boolean validateChanges()
Description copied from class: BusinessObjectPersistenceTestCaseBase
This method should be implemented to retrieve the objects that were just updated, and validate that their changes took effect.

Specified by:
validateChanges in class BusinessObjectPersistenceTestCaseBase
Returns:
boolean
See Also:
BusinessObjectPersistenceTestCaseBase.validateChanges()


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