com.retek.component.customerorder
Class CustomerOrderPromotionLineMerchBenefitTest

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.CustomerOrderPromotionLineMerchBenefitTest
All Implemented Interfaces:
junit.framework.Test

public class CustomerOrderPromotionLineMerchBenefitTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderPromotionLineMerchBenefitTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void test2LineMerchBenePromotionsApplyToSameLine()
           
 void testItemCurrencyThresholdAtThresholdWithPercentOffLineMerchAmountBenefit()
           
 void testItemCurrencyThresholdOverThresholdWithPercentOffLineMerchAmountBenefit()
           
 void testItemCurrencyThresholdUnderThresholdWithPercentOffLineMerchAmountBenefit()
           
 void testItemCurrencyThresholdWithDollarOffLineMerchAmountBenefitAtThreshold()
           
 void testItemCurrencyThresholdWithDollarOffLineMerchAmountBenefitOverThreshold()
           
 void testItemCurrencyThresholdWithDollarOffLineMerchAmountBenefitUnderThreshold()
           
 void testItemCurrencyThresholdWithDollarOffLineMerchAmountGreaterThanLineTotal()
           
 void testItemQuantityThresholdByPackWithDollarOffLineMerchBenefitAtThreshold()
           
 void testItemQuantityThresholdBySellingItemWithDollarOffLineMerchBenefitAtThreshold()
           
 void testItemQuantityThresholdBySellingSkuWithDollarOffLineMerchBenefitAtThreshold()
           
 void testItemQuantityThresholdBySkuWithDollarOffLineMerchBenefitAtThreshold()
           
 void testItemQuantityThresholdByStyleWithDollarOffLineMerchBenefitAtThreshold()
           
 void testItemQuantityThresholdWithDollarOffLineMerchBenefitAtThresholdMultLines()
           
 void testItemQuantityThresholdWithDollarOffLineMerchBenefitOverThreshold()
           
 void testItemQuantityThresholdWithDollarOffLineMerchBenefitOverThresholdMultLines()
           
 void testItemQuantityThresholdWithDollarOffLineMerchBenefitUnderThreshold()
           
 void testItemQuantityThresholdWithDollarOffLineMerchBenefitUnderThresholdMultLines()
           
 void testItemQuantityThresholdWithPercentOffLineMerchBenefitAtThreshold()
           
 void testItemQuantityThresholdWithPercentOffLineMerchBenefitAtThresholdMultLines()
           
 void testItemQuantityThresholdWithPercentOffLineMerchBenefitOverThreshold()
           
 void testItemQuantityThresholdWithPercentOffLineMerchBenefitOverThresholdMultLines()
           
 void testItemQuantityThresholdWithPercentOffLineMerchBenefitUnderThreshold()
           
 void testItemQuantityThresholdWithPercentOffLineMerchBenefitUnderThresholdMultLines()
           
 void testSellableItemMatch()
           
 void testSellingItemMatch()
           
 void testSellingSkuMatch()
           
 void testStyleMatch()
           
 
Methods inherited from class com.retek.component.customerorder.CustomerOrderApiTestCase
createCustomerOrderWithOneLineWithFullPayment, createCustomerOrderWithOneLineWithOutPayment, createDirectShipOrder, createOrderLines, createOrderLines, getAndSubmitSupplier, getCustomerOrderLineStateModel, getCustomerOrderPaymentStateModel, getCustomerOrderStateModel, getReturnLineStateModel
 
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

CustomerOrderPromotionLineMerchBenefitTest

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

doInitialSetUp

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

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

testItemCurrencyThresholdAtThresholdWithPercentOffLineMerchAmountBenefit

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

testItemCurrencyThresholdOverThresholdWithPercentOffLineMerchAmountBenefit

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

testItemCurrencyThresholdUnderThresholdWithPercentOffLineMerchAmountBenefit

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

testItemCurrencyThresholdWithDollarOffLineMerchAmountBenefitUnderThreshold

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

testItemCurrencyThresholdWithDollarOffLineMerchAmountBenefitAtThreshold

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

testItemCurrencyThresholdWithDollarOffLineMerchAmountBenefitOverThreshold

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

testItemQuantityThresholdWithDollarOffLineMerchBenefitUnderThreshold

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

testItemQuantityThresholdBySellingItemWithDollarOffLineMerchBenefitAtThreshold

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

testItemQuantityThresholdBySellingSkuWithDollarOffLineMerchBenefitAtThreshold

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

testItemQuantityThresholdByStyleWithDollarOffLineMerchBenefitAtThreshold

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

testSellingSkuMatch

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

testSellingItemMatch

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

testSellableItemMatch

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

testStyleMatch

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

testItemQuantityThresholdByPackWithDollarOffLineMerchBenefitAtThreshold

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

testItemQuantityThresholdBySkuWithDollarOffLineMerchBenefitAtThreshold

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

testItemQuantityThresholdWithDollarOffLineMerchBenefitOverThreshold

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

testItemQuantityThresholdWithDollarOffLineMerchBenefitUnderThresholdMultLines

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

testItemQuantityThresholdWithDollarOffLineMerchBenefitAtThresholdMultLines

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

testItemQuantityThresholdWithDollarOffLineMerchBenefitOverThresholdMultLines

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

testItemQuantityThresholdWithPercentOffLineMerchBenefitUnderThreshold

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

testItemQuantityThresholdWithPercentOffLineMerchBenefitAtThreshold

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

testItemQuantityThresholdWithPercentOffLineMerchBenefitOverThreshold

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

testItemQuantityThresholdWithPercentOffLineMerchBenefitUnderThresholdMultLines

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

testItemQuantityThresholdWithPercentOffLineMerchBenefitAtThresholdMultLines

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

testItemQuantityThresholdWithPercentOffLineMerchBenefitOverThresholdMultLines

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

test2LineMerchBenePromotionsApplyToSameLine

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

testItemCurrencyThresholdWithDollarOffLineMerchAmountGreaterThanLineTotal

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


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