com.retek.component.promotion
Class PromotionManagerTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.component.promotion.PromotionManagerTest
All Implemented Interfaces:
junit.framework.Test

public class PromotionManagerTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
PromotionManagerTest(java.lang.String arg0)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testCreateGiftCertificateBenefit()
           
 void testCreateItemBenefit()
           
 void testCreateItemCurrencyAmountThreshold()
           
 void testCreateItemQuantityThreshold()
           
 void testCreateLineMerchAmountBenefit()
           
 void testCreateOrderCurrencyAmountThreshold()
           
 void testCreateOrderMerchAmountBenefit()
           
 void testCreateOrderQuantityThreshold()
           
 void testCreateOrderServiceAmountBenefit()
           
 void testCreatePromotionInstance()
           
 void testFindPromotionsBySearchCriteriaAltSellingLists()
           
 void testFindPromotionsBySearchCriteriaExcludeClosed()
           
 void testFindPromotionsBySearchCriteriaSourceCodesAndDates()
           
 void testFindThresholdableSellingItemBySourceCodeDescriptionSearchCriteria()
           
 void testFindThresholdableSellingItemBySourceCodeSearchCriteria()
           
 void testUpdateSellingListPromotionItemAdded()
           
 void testUpdateSellingListPromotionItemAddedListBelongsToMultiPromos()
           
 void testUpdateSellingListPromotionItemAddedPromoHasMultiLists()
           
 void testupdateSellingListPromotionItemRemoved()
           
 void testUpdateSellingListPromotionItemRemovedListBelongsToMultiPromos()
           
 void testUpdateSellingListPromotionItemRemovedPromoHasMultiLists()
           
 void testUpdateSellingListPromotionItemReplaced()
           
 void testUpdateSellingListPromotionItemReplacedListBelongsToMultiPromos()
           
 void testUpdateSellingListPromotionItemReplacedPromoHasMultiLists()
           
 
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, isOracleTestCase, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
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

PromotionManagerTest

public PromotionManagerTest(java.lang.String arg0)
Method Detail

doInitialSetUp

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

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

testCreatePromotionInstance

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

testCreateOrderCurrencyAmountThreshold

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

testCreateOrderQuantityThreshold

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

testCreateItemQuantityThreshold

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

testCreateItemCurrencyAmountThreshold

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

testCreateOrderMerchAmountBenefit

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

testCreateLineMerchAmountBenefit

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

testCreateOrderServiceAmountBenefit

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

testCreateItemBenefit

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

testCreateGiftCertificateBenefit

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

testFindPromotionsBySearchCriteriaAltSellingLists

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

testFindPromotionsBySearchCriteriaSourceCodesAndDates

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

testFindPromotionsBySearchCriteriaExcludeClosed

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

testFindThresholdableSellingItemBySourceCodeSearchCriteria

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

testFindThresholdableSellingItemBySourceCodeDescriptionSearchCriteria

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

testupdateSellingListPromotionItemRemoved

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

testUpdateSellingListPromotionItemReplaced

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

testUpdateSellingListPromotionItemAdded

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

testUpdateSellingListPromotionItemAddedPromoHasMultiLists

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

testUpdateSellingListPromotionItemRemovedPromoHasMultiLists

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

testUpdateSellingListPromotionItemReplacedPromoHasMultiLists

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

testUpdateSellingListPromotionItemReplacedListBelongsToMultiPromos

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

testUpdateSellingListPromotionItemAddedListBelongsToMultiPromos

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

testUpdateSellingListPromotionItemRemovedListBelongsToMultiPromos

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


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