com.retek.component.customerorder
Class CustomerOrderThresholdPromotionsTest

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

public class CustomerOrderThresholdPromotionsTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderThresholdPromotionsTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testApplyDollarOffBenePromoDisqualifiesPercentOffBenePromo()
           
 void testApplyDollarOffBenePromoDoesNotDisqualifyDollarOffBenePromo()
           
 void testApplyDollarOffLineMerchBenePromotionDisqualifiesPercentOffLineMerchBenePromotion()
           
 void testApplyingFirstPromotionDisqualifiesOrderCurrencyThresholdPromotion()
           
 void testApplyItemCurrencyThresholdLineMerchBenefitPromoDisqualifiesItemCurrencyThresholdItemBenefitPromo()
           
 void testApplyItemCurrencyThresholdLineMerchBenePromoDisqualifiesOrderCurrencyThresholdOrderMerchBenePromo()
           
 void testApplyOrderCurrencyThresholdOrderMerchBenePromoDisqualifiesOrderCurrencyThresholdItemBenePromo()
           
 void testExchangeSaleDoesNotAffectItemQuantityThreshold()
           
 void testExchangeSaleDoesNotAffectOrderCurrencyThreshold()
           
 void testExchangeSaleDoesNotAffectOrderQuantityThreshold()
           
 void testFindThresholdAndGeneralPromotions()
           
 void testFindThresholdPromotions()
           
 void testItemQuantityThresholdAtThreshold()
           
 void testItemQuantityThresholdOverThreshold()
           
 void testItemQuantityThresholdUnderThreshold()
           
 void testOrderCurrencyThresholdAtThreshold()
           
 void testOrderCurrencyThresholdOverThreshold()
           
 void testOrderCurrencyThresholdUnderThreshold()
           
 void testOrderQuantityThresholdAtThreshold()
           
 void testOrderQuantityThresholdOverThreshold()
           
 void testOrderQuantityThresholdUnderThreshold()
           
 void testZeroSaleLineDoesNotAffectOrderQuantityThreshold()
           
 
Methods inherited from class com.retek.component.customerorder.CustomerOrderApiTestCase
createCustomerOrderWithOneLineWithFullPayment, createCustomerOrderWithOneLineWithOutPayment, createOrderLines, createOrderLines, createOrderWithOneOrderline, getAndSubmitSupplier, getCustomerOrderLineStateModel, getCustomerOrderPaymentStateModel, getCustomerOrderStateModel, getReturnLineStateModel, getValidSourceCode
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertRibException, assertSize, assertStateEquals, assertStateEquals, assertStateNotEquals, assertStateNotEquals, assertXmlEquals, doClassSetUp, doInitialSetUp, doPackageSetUp, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, run, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, 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

CustomerOrderThresholdPromotionsTest

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

doSetUp

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

doTearDown

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

testFindThresholdAndGeneralPromotions

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

testItemQuantityThresholdUnderThreshold

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

testFindThresholdPromotions

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

testItemQuantityThresholdAtThreshold

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

testItemQuantityThresholdOverThreshold

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

testOrderCurrencyThresholdUnderThreshold

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

testOrderCurrencyThresholdAtThreshold

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

testOrderCurrencyThresholdOverThreshold

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

testOrderQuantityThresholdUnderThreshold

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

testOrderQuantityThresholdAtThreshold

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

testOrderQuantityThresholdOverThreshold

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

testApplyingFirstPromotionDisqualifiesOrderCurrencyThresholdPromotion

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

testApplyItemCurrencyThresholdLineMerchBenefitPromoDisqualifiesItemCurrencyThresholdItemBenefitPromo

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

testApplyItemCurrencyThresholdLineMerchBenePromoDisqualifiesOrderCurrencyThresholdOrderMerchBenePromo

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

testApplyOrderCurrencyThresholdOrderMerchBenePromoDisqualifiesOrderCurrencyThresholdItemBenePromo

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

testApplyDollarOffBenePromoDisqualifiesPercentOffBenePromo

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

testApplyDollarOffLineMerchBenePromotionDisqualifiesPercentOffLineMerchBenePromotion

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

testApplyDollarOffBenePromoDoesNotDisqualifyDollarOffBenePromo

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

testZeroSaleLineDoesNotAffectOrderQuantityThreshold

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

testExchangeSaleDoesNotAffectItemQuantityThreshold

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

testExchangeSaleDoesNotAffectOrderQuantityThreshold

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

testExchangeSaleDoesNotAffectOrderCurrencyThreshold

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


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25