com.retek.component.promotion.impl.persistence.db.oracle
Class OraclePromotionDaoTest

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.promotion.impl.persistence.db.oracle.PromotionOracleTestCase
                      extended bycom.retek.component.promotion.impl.persistence.db.oracle.OraclePromotionDaoTest
All Implemented Interfaces:
junit.framework.Test

public class OraclePromotionDaoTest
extends PromotionOracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OraclePromotionDaoTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testConcurrentUpateOnPromotion()
           
 void testCreateReadUpdatePromotion()
           
 void testCreateReferenceForNewPromotion()
           
 void testCreateReferenceForNewPromotionBenefit()
           
 void testCreateReferenceForNewPromotionThreshold()
           
 void testDeletePromotionBenefit()
           
 void testDeletePromotionThreshold()
           
 void testFindAllPromotions()
           
 void testFindAllSellingListTriggerTypeByDateRange()
           
 void testFindByAltSellingListRef()
           
 void testFindByBannerRef()
           
 void testFindByExcludeClosedFlag()
           
 void testFindByOfferCodeRef()
           
 void testFindByPromoApplyingDate()
           
 void testFindBySourceCodeRef()
           
 void testFindByTenderTypeRefs()
           
 void testFindChannelTypeRef()
           
 void testFindPromotionByBannerRefChannelRefOfferCode()
           
 void testReadPromotionBenefit()
           
 void testReadPromotionWithInvalidRef()
           
 
Methods inherited from class com.retek.component.promotion.impl.persistence.db.oracle.PromotionOracleTestCase
assertPromotionBenefitDtosEqual, assertPromotionBenefitsEqual, assertPromotionDtosAreEqual, assertPromotionThresholdDtosEqual, assertPromotionThresholdsEqual, getConnectionKey, modifyAllPromotionBenefits, modifyAllPromotionThresholds, modifyOrderCurrencyAmountThresholdDto, modifyOrderQuantityThresholdDto, modifyPromotionDto
 
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

OraclePromotionDaoTest

public OraclePromotionDaoTest(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

testCreateReferenceForNewPromotion

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

testCreateReferenceForNewPromotionBenefit

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

testCreateReferenceForNewPromotionThreshold

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

testCreateReadUpdatePromotion

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

testReadPromotionBenefit

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

testFindAllPromotions

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

testReadPromotionWithInvalidRef

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

testConcurrentUpateOnPromotion

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

testDeletePromotionBenefit

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

testDeletePromotionThreshold

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

testFindBySourceCodeRef

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

testFindByOfferCodeRef

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

testFindByTenderTypeRefs

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

testFindByAltSellingListRef

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

testFindByExcludeClosedFlag

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

testFindByPromoApplyingDate

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

testFindByBannerRef

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

testFindPromotionByBannerRefChannelRefOfferCode

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

testFindChannelTypeRef

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

testFindAllSellingListTriggerTypeByDateRange

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


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