com.retek.component.customerorder
Class CustomerOrderPromotionSellingListItemBenefitTest

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

public class CustomerOrderPromotionSellingListItemBenefitTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderPromotionSellingListItemBenefitTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testApplyAltSellLineCancelDoesNotApplyPromotion()
           
 void testApplyAltSellLineOneLineOneAltSellLineQtyGreaterThanZeroWithPromoAmount()
           
 void testApplyAltSellLineOneLineOneAltSellLineQtyGreaterThanZeroWithPromoDollarOff()
           
 void testApplyAltSellLineOneLineOneAltSellLineQtyGreaterThanZeroWithPromoPercentOff()
           
 void testApplyAltSellLineOneLineOneAltSellLineWithInactivePromo()
           
 void testApplyAltSellLineOneLineOneAltSellLineWithOutPromo()
           
 void testApplyAltSellLineOneLineOneAltSellLineWithPromoAmount()
           
 void testApplyAltSellLineOneLineOneAltSellLineWithPromoDollarOff()
           
 void testApplyAltSellLineOneLineOneAltSellLineWithPromoPercentOff()
           
 void testApplyAltSellLineOneLineThreeAltSellLinesSameListSamePromotionDifferentBenefits()
           
 void testApplyAltSellLineOneLineThreeAltSellLinesWithPromoDollarOff()
           
 void testApplyAltSellLineOneLineTwoAltSellLinesDifferentListsDifferentPromotion()
           
 void testApplyAltSellLineOneLineTwoAltSellLinesDifferentListsDifferentPromotionOneInactive()
           
 void testApplyAltSellLineOneLineTwoAltSellLinesDifferentListsSamePromotion()
           
 void testApplyAltSellLineOneLineTwoAltSellLinesSameListsSamePromotion()
           
 void testApplyAltSellLineTwoLinesOneAltSellLineSameSku()
           
 void testApplyAltSellLineWithPromoDollarOffMakeAmountNegative()
           
 void testSetUpPromotionForAltSellingThenAddSellingListItemToSellingList()
           
 void testSetUpPromotionForAltSellingThenRemoveSellingListItemFromSellingList()
           
 void testSetUpPromotionForAltSellingThenReplaceSellingListItemFromSellingList()
           
 
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

CustomerOrderPromotionSellingListItemBenefitTest

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

testApplyAltSellLineOneLineOneAltSellLineWithPromoDollarOff

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

testApplyAltSellLineOneLineThreeAltSellLinesWithPromoDollarOff

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

testApplyAltSellLineOneLineTwoAltSellLinesDifferentListsSamePromotion

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

testApplyAltSellLineOneLineTwoAltSellLinesDifferentListsDifferentPromotion

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

testApplyAltSellLineOneLineTwoAltSellLinesDifferentListsDifferentPromotionOneInactive

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

testApplyAltSellLineOneLineTwoAltSellLinesSameListsSamePromotion

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

testApplyAltSellLineOneLineThreeAltSellLinesSameListSamePromotionDifferentBenefits

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

testApplyAltSellLineOneLineOneAltSellLineWithInactivePromo

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

testApplyAltSellLineTwoLinesOneAltSellLineSameSku

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

testApplyAltSellLineOneLineOneAltSellLineQtyGreaterThanZeroWithPromoDollarOff

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

testApplyAltSellLineWithPromoDollarOffMakeAmountNegative

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

testApplyAltSellLineOneLineOneAltSellLineQtyGreaterThanZeroWithPromoAmount

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

testApplyAltSellLineOneLineOneAltSellLineWithPromoAmount

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

testApplyAltSellLineOneLineOneAltSellLineWithOutPromo

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

testApplyAltSellLineOneLineOneAltSellLineQtyGreaterThanZeroWithPromoPercentOff

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

testApplyAltSellLineOneLineOneAltSellLineWithPromoPercentOff

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

testApplyAltSellLineCancelDoesNotApplyPromotion

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

testSetUpPromotionForAltSellingThenRemoveSellingListItemFromSellingList

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

testSetUpPromotionForAltSellingThenReplaceSellingListItemFromSellingList

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

testSetUpPromotionForAltSellingThenAddSellingListItemToSellingList

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


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