com.retek.component.customerorder
Class CustomerOrderPromotionItemBenefitTest

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

public class CustomerOrderPromotionItemBenefitTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderPromotionItemBenefitTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testApplyOrderLineReturnsItemBenefits()
           
 void testCancelLineAfterItemBenefitPromotionAppliedWithItemCurrencyThreshold()
           
 void testCancelLineAfterItemBenefitPromotionAppliedWithItemQuantityThreshold()
           
 void testCancelLineAfterItemBenefitPromotionAppliedWithOrderCurrencyThreshold()
           
 void testCancelLineAfterItemBenefitPromotionAppliedWithOrderQuantityThreshold()
           
 void testCancelLineAfterItemBenefitPromotionNotAppliedWithItemQuantityThresholdDsntChangeAvailablePromtions()
           
 void testCancelOrderAfterItemBenefitPromotionAppliedWithOrderCurrencyThreshold()
           
 void testFreeItemBenefitDoesNotTriggerAnOrderThresholdForAnotherPromotion()
           
 void testItemCurrencyThresholdWithDollarOffItemBenefitAtThreshold()
           
 void testItemCurrencyThresholdWithDollarOffItemBenefitOverThreshold()
           
 void testItemCurrencyThresholdWithDollarOffItemBenefitUnderThreshold()
           
 void testItemCurrencyThresholdWithPercentOffItemBenefitAtThreshold()
           
 void testItemQuantityThresholdWithItemBenefitAtThreshold()
           
 void testItemQuantityThresholdWithItemBenefitOverThreshold()
           
 void testItemQuantityThresholdWithItemBenefitUnderThreshold()
           
 void testNonFreeDollarOffItemBenefitTriggersAnOrderThresholdForAnotherPromotion()
           
 void testOrderCurrencyThresholdWithItemBenefitAtThreshold()
           
 void testOrderCurrencyThresholdWithItemBenefitOverThreshold()
           
 void testOrderCurrencyThresholdWithItemBenefitUnderThreshold()
           
 void testOrderQuantityThresholdWithItemBenefitAtThreshold()
           
 void testOrderQuantityThresholdWithItemBenefitOverThreshold()
           
 void testOrderQuantityThresholdWithItemBenefitUnderThreshold()
           
 void testOrderThresholdPromotionWithTwoItemBenefits()
           
 void testSetUpPromotionWithItemThresholdAndApplyDollarOffItemBenefitLine()
           
 
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

CustomerOrderPromotionItemBenefitTest

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

testItemCurrencyThresholdWithDollarOffItemBenefitUnderThreshold

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

testItemCurrencyThresholdWithDollarOffItemBenefitAtThreshold

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

testItemCurrencyThresholdWithDollarOffItemBenefitOverThreshold

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

testItemCurrencyThresholdWithPercentOffItemBenefitAtThreshold

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

testItemQuantityThresholdWithItemBenefitUnderThreshold

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

testItemQuantityThresholdWithItemBenefitAtThreshold

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

testItemQuantityThresholdWithItemBenefitOverThreshold

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

testOrderCurrencyThresholdWithItemBenefitUnderThreshold

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

testOrderCurrencyThresholdWithItemBenefitAtThreshold

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

testOrderCurrencyThresholdWithItemBenefitOverThreshold

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

testOrderQuantityThresholdWithItemBenefitUnderThreshold

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

testOrderQuantityThresholdWithItemBenefitAtThreshold

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

testOrderQuantityThresholdWithItemBenefitOverThreshold

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

testApplyOrderLineReturnsItemBenefits

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

testSetUpPromotionWithItemThresholdAndApplyDollarOffItemBenefitLine

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

testCancelLineAfterItemBenefitPromotionAppliedWithItemQuantityThreshold

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

testCancelLineAfterItemBenefitPromotionNotAppliedWithItemQuantityThresholdDsntChangeAvailablePromtions

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

testCancelLineAfterItemBenefitPromotionAppliedWithItemCurrencyThreshold

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

testCancelLineAfterItemBenefitPromotionAppliedWithOrderQuantityThreshold

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

testCancelLineAfterItemBenefitPromotionAppliedWithOrderCurrencyThreshold

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

testCancelOrderAfterItemBenefitPromotionAppliedWithOrderCurrencyThreshold

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

testNonFreeDollarOffItemBenefitTriggersAnOrderThresholdForAnotherPromotion

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

testOrderThresholdPromotionWithTwoItemBenefits

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

testFreeItemBenefitDoesNotTriggerAnOrderThresholdForAnotherPromotion

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


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