com.retek.component.customerorder
Class CustomerOrderGeneralPromotionsTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.retek.commons.util.RetekTestCase
com.retek.component.customerorder.CustomerOrderApiTestCase
com.retek.component.customerorder.CustomerOrderGeneralPromotionsTest
- All Implemented Interfaces:
- junit.framework.Test
- public class CustomerOrderGeneralPromotionsTest
- extends CustomerOrderApiTestCase
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 |
CustomerOrderGeneralPromotionsTest
public CustomerOrderGeneralPromotionsTest(java.lang.String name)
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
testStandardShippingPromotionWithZeroSaleLineAndExchangeLine
public void testStandardShippingPromotionWithZeroSaleLineAndExchangeLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOrderPromotionWithZeroSaleLineAndExchangeSale
public void testOrderPromotionWithZeroSaleLineAndExchangeSale()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelRequestSuccessfulDeleteDecrementsDiscount
public void testCancelRequestSuccessfulDeleteDecrementsDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPercentOffOrderPromotionDiscount
public void testPercentOffOrderPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
test2PercentOffOrderPromotionsIsNotTheSameAsOnePercentoffPromoDiscount
public void test2PercentOffOrderPromotionsIsNotTheSameAsOnePercentoffPromoDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelOrderWithDollarOffPromotion
public void testCancelOrderWithDollarOffPromotion()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelOrderWithPromotionsBeforeSubmitNoDiscounts
public void testCancelOrderWithPromotionsBeforeSubmitNoDiscounts()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDollarOffOrderPromotionDiscount
public void testDollarOffOrderPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
assertOrderDiscounts
public void assertOrderDiscounts(CustomerOrder order,
Money expectedTotalPromotionDiscountAmount)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertOrderDiscounts
public void assertOrderDiscounts(CustomerOrder order)
throws java.lang.Exception
- Throws:
java.lang.Exception
testDollarOffOrderPromoWithOfferCodeTriggerAsDoneInUI
public void testDollarOffOrderPromoWithOfferCodeTriggerAsDoneInUI()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelLineWithDollarOffOrderPromoAfterShippingOneLine
public void testCancelLineWithDollarOffOrderPromoAfterShippingOneLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelLineWithPercentOffOrderPromoAfterPartialShipment
public void testCancelLineWithPercentOffOrderPromoAfterPartialShipment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelLineRemainingQtyOnLineWithDollarOffOrderPromoAfterPartialShipment
public void testCancelLineRemainingQtyOnLineWithDollarOffOrderPromoAfterPartialShipment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDollarOffOrderTotalWithCancelBeforeShipping
public void testDollarOffOrderTotalWithCancelBeforeShipping()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDollarOffOrderPromotionWithOfferCodeTriggerDiscountAppliedIfPayWithPLCC
public void testDollarOffOrderPromotionWithOfferCodeTriggerDiscountAppliedIfPayWithPLCC()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOfferCodeTriggerDiscountAppliedIfPayWithPLCCCancelLineAddLineRepay
public void testOfferCodeTriggerDiscountAppliedIfPayWithPLCCCancelLineAddLineRepay()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPercentOffOrderPromotionWithOfferCodeTriggerDiscount
public void testPercentOffOrderPromotionWithOfferCodeTriggerDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDollarOffOrderPromotionWithOfferCodeTriggerDiscountNotAddedWithoutPLCCPayment
public void testDollarOffOrderPromotionWithOfferCodeTriggerDiscountNotAddedWithoutPLCCPayment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDollarOffOrderPromotionWithOfferCodeTriggerNotAddedWithExistingPLCC
public void testDollarOffOrderPromotionWithOfferCodeTriggerNotAddedWithExistingPLCC()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOfferCodeTriggerPromotionNotAppliedIfPromoForDifferentOfferCode
public void testOfferCodeTriggerPromotionNotAppliedIfPromoForDifferentOfferCode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDollarOffOrderPromotionDiscountOnZeroSaleLine
public void testDollarOffOrderPromotionDiscountOnZeroSaleLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDollarOffMoreThanOrderTotalOrderPromotionDiscount
public void testDollarOffMoreThanOrderTotalOrderPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDollarOffAppliedBeforePercentOffOrderPromotionDiscount
public void testDollarOffAppliedBeforePercentOffOrderPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAllDollarOffsAppliedBeforeAllPercentOffsOrderPromotionDiscount
public void testAllDollarOffsAppliedBeforeAllPercentOffsOrderPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancellingALineTakesOffThePromotionDiscount
public void testCancellingALineTakesOffThePromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMultiplePromotionsCreatesMultipleDiscounts
public void testMultiplePromotionsCreatesMultipleDiscounts()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSinglePromotionWithMultipleLinesCreatesMultipleDiscounts
public void testSinglePromotionWithMultipleLinesCreatesMultipleDiscounts()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDollarOffAndPercentOffOrderPromotion
public void testDollarOffAndPercentOffOrderPromotion()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFreeStdShippingPromotionDiscount
public void testFreeStdShippingPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPecentOffStdShippingPromotionDiscountForMoreThanOneShipTo
public void testPecentOffStdShippingPromotionDiscountForMoreThanOneShipTo()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDollarOffStdShippingPromotionDiscountForMoreThanOneShipTo
public void testDollarOffStdShippingPromotionDiscountForMoreThanOneShipTo()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStdShippingPromotionDiscountChangesAfterCancellingALine
public void testStdShippingPromotionDiscountChangesAfterCancellingALine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStdShippingPromotionDiscountRemovedAfterLineCancel
public void testStdShippingPromotionDiscountRemovedAfterLineCancel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStdShippingPromotionDiscountEqualsZeroAfterCancellingTheOrder
public void testStdShippingPromotionDiscountEqualsZeroAfterCancellingTheOrder()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOrderPromotionDiscountEqualsZeroAfterCancellingTheOrder
public void testOrderPromotionDiscountEqualsZeroAfterCancellingTheOrder()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTaxableCustomerWithFreeMerchandiseAndFreeStandardShipping
public void testTaxableCustomerWithFreeMerchandiseAndFreeStandardShipping()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDollarOffShippingWithCancel
public void testDollarOffShippingWithCancel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCancelLineWithDollarOffPersonalizationPromoAfterShippingOneLine
public void testCancelLineWithDollarOffPersonalizationPromoAfterShippingOneLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCopyPersonalizationLineRecalculatesPromotionDiscount
public void testCopyPersonalizationLineRecalculatesPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFreePersonalizationPromotionDiscountAppliedToPackOrderLine
public void testFreePersonalizationPromotionDiscountAppliedToPackOrderLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFreePersonalizationPromotionDiscount
public void testFreePersonalizationPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFreeMonogramPromtionDiscountAppliedToPackOrderLine
public void testFreeMonogramPromtionDiscountAppliedToPackOrderLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFreeMonogramPromotionDiscount
public void testFreeMonogramPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFreeAdditionalShippingPromotionDiscount
public void testFreeAdditionalShippingPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPartialShipmentsForOrderLineWithPromotion
public void testPartialShipmentsForOrderLineWithPromotion()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPersonalizationAndAdditionalShippingPromotionDiscount
public void testPersonalizationAndAdditionalShippingPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFreeGiftWrapPromotionDiscount
public void testFreeGiftWrapPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFreeGiftCardPromotionDiscount
public void testFreeGiftCardPromotionDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUnusedPromotionDoesNotCreateDiscount
public void testUnusedPromotionDoesNotCreateDiscount()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDiscountOnDollarOffGeneralPromotionOnPackLine
public void testDiscountOnDollarOffGeneralPromotionOnPackLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCalculateTaxOnDollarOffPersonalizationPromotionOnPackLineRsvdAtSkuLevel
public void testCalculateTaxOnDollarOffPersonalizationPromotionOnPackLineRsvdAtSkuLevel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCalculateTaxOnDollarOffPersonalizationPromotionOnPackLineRsvdAtPackLevel
public void testCalculateTaxOnDollarOffPersonalizationPromotionOnPackLineRsvdAtPackLevel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCalculateTaxOnPercentOffMonogramPromotionOnPackLineRsvdAtSkuLevel
public void testCalculateTaxOnPercentOffMonogramPromotionOnPackLineRsvdAtSkuLevel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCalculateTaxOnPercentOffMonogramPromotionOnPackLineRsvdAtPackLevel
public void testCalculateTaxOnPercentOffMonogramPromotionOnPackLineRsvdAtPackLevel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDiscountOnDollarOffGeneralPromotion
public void testDiscountOnDollarOffGeneralPromotion()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDiscountsOneLineGeneralOrderPromotionTwoShipments
public void testDiscountsOneLineGeneralOrderPromotionTwoShipments()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDiscountsOneLineAdditionalShippingPromotionTwoShipments
public void testDiscountsOneLineAdditionalShippingPromotionTwoShipments()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDiscountsOneLinePersonalizationPromotionTwoShipments
public void testDiscountsOneLinePersonalizationPromotionTwoShipments()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDiscountsOneLineStandardShippingPromotionTwoShipments
public void testDiscountsOneLineStandardShippingPromotionTwoShipments()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDiscountOnPercentOffGeneralPromotion
public void testDiscountOnPercentOffGeneralPromotion()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDiscountOnDollarOffGeneralPromotionNotAppliedToNLAOrderLine
public void testDiscountOnDollarOffGeneralPromotionNotAppliedToNLAOrderLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDiscountOnDollarOffGeneralPromotionNotAppliedToNLAOrderLineForMailOrderTwoLines
public void testDiscountOnDollarOffGeneralPromotionNotAppliedToNLAOrderLineForMailOrderTwoLines()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDiscountOnPercentOffGeneralPromotionNotAppliedToNLAOrderLineForMailOrder
public void testDiscountOnPercentOffGeneralPromotionNotAppliedToNLAOrderLineForMailOrder()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDiscountOnPercentOffGeneralPromotionNotAppliedToNLAOrderLineForCancelledMailOrderWithTwoLines
public void testDiscountOnPercentOffGeneralPromotionNotAppliedToNLAOrderLineForCancelledMailOrderWithTwoLines()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMultipleDollarOffPromotionsCreatesMultipleDiscounts
public void testMultipleDollarOffPromotionsCreatesMultipleDiscounts()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPrsPromoDoesntProrateAfterCancellingNonShippedLine
public void testPrsPromoDoesntProrateAfterCancellingNonShippedLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFreePrsPromoAfterReturningALinePartiallyWithBothLinesShipped
public void testFreePrsPromoAfterReturningALinePartiallyWithBothLinesShipped()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPromoAmountProrationForPartialShippedLine
public void testPromoAmountProrationForPartialShippedLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDiscountsOneLineExchangedAfterPartialShipment
public void testDiscountsOneLineExchangedAfterPartialShipment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOrderPromotionWithZeroSaleLine
public void testOrderPromotionWithZeroSaleLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStandardShippingPromotionWithZeroSaleLine
public void testStandardShippingPromotionWithZeroSaleLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMultiplePromotionsCalculateOrderLineDiscountsCorrectly
public void testMultiplePromotionsCalculateOrderLineDiscountsCorrectly()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerOrderPromotionDiscountTypesByOrderStructure
public void testCustomerOrderPromotionDiscountTypesByOrderStructure()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerOrderPromotionDiscountRollupsForOrderSummary
public void testCustomerOrderPromotionDiscountRollupsForOrderSummary()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerOrderPromotionDiscountRollupsForOrderSummaryAfterShipment
public void testCustomerOrderPromotionDiscountRollupsForOrderSummaryAfterShipment()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOrderLinePromotionZeroedOutAfterOrderLineIsFullyCancelledFromFulfilling
public void testOrderLinePromotionZeroedOutAfterOrderLineIsFullyCancelledFromFulfilling()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPercentOffOrderPromotionDiscountCheckHistoryEventCreditCard
public void testPercentOffOrderPromotionDiscountCheckHistoryEventCreditCard()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPercentOffOrderPromotionDiscountCheckHistoryEventForCheck
public void testPercentOffOrderPromotionDiscountCheckHistoryEventForCheck()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2005 Retek Inc. All Rights Reserved.
- Generated at Fri, 01/21/2005 14:25