com.retek.component.banner_channel.impl.persistence.db.oracle
Class OracleBannerDaoTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.commons.domain.core.persistence.db.oracle.OracleTestCase
                  extended bycom.retek.component.banner_channel.impl.persistence.db.oracle.BannerChannelOracleTestCase
                      extended bycom.retek.component.banner_channel.impl.persistence.db.oracle.OracleBannerDaoTest
All Implemented Interfaces:
junit.framework.Test

public class OracleBannerDaoTest
extends BannerChannelOracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OracleBannerDaoTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testCreateAndReadBannerWithAllPreferences()
           
 void testCreateAndReadBannerWithNoPreferences()
           
 void testCreateReferenceCache()
           
 void testFindAllBanners()
           
 void testFindAllBannersAndItsChannelTypeCodes()
           
 void testFindBannerReturnsAllBannerAttributes()
           
 void testFindBannerSansChannel()
           
 void testFindBannersWithChannelTypeSearchCriterion()
           
 void testFindBannersWithDisplayCodeSearchCriterion()
           
 void testFindBannersWithNullSearchCriteria()
           
 void testReadThrowsNotFound()
           
 void testUpdateBannerWithNoPreferences()
           
 void testUpdateBannerWithPrefernces()
           
 void testUpdateWithInvalidId()
           
 
Methods inherited from class com.retek.component.banner_channel.impl.persistence.db.oracle.BannerChannelOracleTestCase
assertBannerDtosAreEqual, copyBannerDto, getConnectionKey, modifyBannerDto, modifyChannelDto, modifyGiftingSeasonDto
 
Methods inherited from class com.retek.commons.domain.core.persistence.db.oracle.OracleTestCase
doInitialSetUp, getConnection, getRetekPreparedStatement, getTestDbRDate, isOracleTestCase, setUp, tearDown, touch, touch
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertFalse, assertFalse, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertStateEquals, assertStateNotEquals, assertXmlEquals, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OracleBannerDaoTest

public OracleBannerDaoTest(java.lang.String name)
Method Detail

doSetUp

public void doSetUp()
             throws java.lang.Exception
Specified by:
doSetUp in class RetekTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Specified by:
doTearDown in class RetekTestCase
Throws:
java.lang.Exception

testCreateAndReadBannerWithNoPreferences

public void testCreateAndReadBannerWithNoPreferences()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testCreateAndReadBannerWithAllPreferences

public void testCreateAndReadBannerWithAllPreferences()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testReadThrowsNotFound

public void testReadThrowsNotFound()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateBannerWithNoPreferences

public void testUpdateBannerWithNoPreferences()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateBannerWithPrefernces

public void testUpdateBannerWithPrefernces()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testFindAllBanners

public void testFindAllBanners()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testFindAllBannersAndItsChannelTypeCodes

public void testFindAllBannersAndItsChannelTypeCodes()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testFindBannersWithChannelTypeSearchCriterion

public void testFindBannersWithChannelTypeSearchCriterion()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testFindBannersWithDisplayCodeSearchCriterion

public void testFindBannersWithDisplayCodeSearchCriterion()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testFindBannerSansChannel

public void testFindBannerSansChannel()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testFindBannersWithNullSearchCriteria

public void testFindBannersWithNullSearchCriteria()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testUpdateWithInvalidId

public void testUpdateWithInvalidId()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testFindBannerReturnsAllBannerAttributes

public void testFindBannerReturnsAllBannerAttributes()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testCreateReferenceCache

public void testCreateReferenceCache()
                              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28