|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.Assert org.kuali.rice.test.BaseRiceTestCase org.kuali.rice.test.RiceTestCase org.kuali.rice.test.RiceInternalSuiteDataTestCase org.kuali.rice.test.BaseModuleTestCase org.kuali.rice.test.BaselineTestCase org.kuali.rice.ken.test.KENTestCase org.kuali.rice.ken.dao.BusinessObjectDaoTestCaseBase org.kuali.rice.ken.dao.BusinessObjectPersistenceTestCaseBase org.kuali.rice.ken.dao.NotificationChannelDaoTest
public class NotificationChannelDaoTest
This class test basic persistence for the NotificationChannel business object.
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 | |
---|---|
(package private) NotificationChannel |
channel1
|
(package private) NotificationChannel |
channel2
|
(package private) NotificationProducer |
mockProducer1
|
private String[] |
updatedDescriptions
|
private boolean[] |
updatedSubscribables
|
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 | |
---|---|
NotificationChannelDaoTest()
|
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 void |
setup()
This method should be overridden and implemented to perform a setup of any dependent objects that business object may need to reference. |
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 |
---|
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 |
Methods inherited from class org.kuali.rice.test.BaselineTestCase |
---|
getClearDbPerTestLifecycles, getMode, getPerTestTablesNotToClear, getRollbackPerTestLifecycles |
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase |
---|
getModuleName |
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase |
---|
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKNSDefaultSuiteTestData, loadSuiteTestData |
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 |
Field Detail |
---|
NotificationChannel channel1
NotificationChannel channel2
NotificationProducer mockProducer1
private String[] updatedDescriptions
private boolean[] updatedSubscribables
Constructor Detail |
---|
public NotificationChannelDaoTest()
Method Detail |
---|
protected void setup()
BusinessObjectPersistenceTestCaseBase
setup
in class BusinessObjectPersistenceTestCaseBase
BusinessObjectPersistenceTestCaseBase.setup()
protected boolean delete()
BusinessObjectPersistenceTestCaseBase
delete
in class BusinessObjectPersistenceTestCaseBase
BusinessObjectPersistenceTestCaseBase.delete()
protected boolean retrieve()
BusinessObjectPersistenceTestCaseBase
retrieve
in class BusinessObjectPersistenceTestCaseBase
BusinessObjectPersistenceTestCaseBase.retrieve()
protected boolean insert()
BusinessObjectPersistenceTestCaseBase
insert
in class BusinessObjectPersistenceTestCaseBase
BusinessObjectPersistenceTestCaseBase.insert()
protected boolean update()
BusinessObjectPersistenceTestCaseBase
update
in class BusinessObjectPersistenceTestCaseBase
BusinessObjectPersistenceTestCaseBase.update()
protected boolean validateChanges()
BusinessObjectPersistenceTestCaseBase
validateChanges
in class BusinessObjectPersistenceTestCaseBase
BusinessObjectPersistenceTestCaseBase.validateChanges()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |