com.retek.component.customerorder
Class CustomerOrderPromotionGiftCertificateBenefitTest

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

public class CustomerOrderPromotionGiftCertificateBenefitTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderPromotionGiftCertificateBenefitTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testAddingAdditionalLineCausesSecondGiftCertificateBenefitToBecomeQualified()
           
 void testAddingLineCausesTwoGiftCertificateBenefitsToBecomeQualified()
           
 void testItemCurrencyThresholdWithGiftCertificateBenefitAtThreshold()
           
 void testItemCurrencyThresholdWithGiftCertificateBenefitOverThreshold()
           
 void testItemCurrencyThresholdWithGiftCertificateBenefitUnderThreshold()
           
 void testItemQuantityThresholdWithGiftCertificateBenefitAtThreshold()
           
 void testItemQuantityThresholdWithGiftCertificateBenefitOverThreshold()
           
 void testItemQuantityThresholdWithGiftCertificateBenefitUnderThreshold()
           
 void testLoweringQuantityCancelsGiftCertificateBenefitAndThenIncreasingQtyQualifiesPromotion()
           
 void testOrderCurrencyThresholdWithGiftCertificateBenefitAtThreshold()
           
 void testOrderCurrencyThresholdWithGiftCertificateBenefitOverThreshold()
           
 void testOrderCurrencyThresholdWithGiftCertificateBenefitUnderThreshold()
           
 void testOrderQuantityThresholdWithGiftCertificateBenefitAtThreshold()
           
 void testOrderQuantityThresholdWithGiftCertificateBenefitAtThresholdWithoutDiscountThrowsException()
           
 void testOrderQuantityThresholdWithGiftCertificateBenefitOverThreshold()
           
 void testOrderQuantityThresholdWithGiftCertificateBenefitUnderThreshold()
           
 
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

CustomerOrderPromotionGiftCertificateBenefitTest

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

testItemCurrencyThresholdWithGiftCertificateBenefitUnderThreshold

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

testItemCurrencyThresholdWithGiftCertificateBenefitAtThreshold

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

testItemCurrencyThresholdWithGiftCertificateBenefitOverThreshold

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

testItemQuantityThresholdWithGiftCertificateBenefitUnderThreshold

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

testItemQuantityThresholdWithGiftCertificateBenefitAtThreshold

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

testItemQuantityThresholdWithGiftCertificateBenefitOverThreshold

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

testOrderCurrencyThresholdWithGiftCertificateBenefitUnderThreshold

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

testOrderCurrencyThresholdWithGiftCertificateBenefitAtThreshold

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

testOrderCurrencyThresholdWithGiftCertificateBenefitOverThreshold

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

testOrderQuantityThresholdWithGiftCertificateBenefitUnderThreshold

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

testOrderQuantityThresholdWithGiftCertificateBenefitAtThreshold

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

testOrderQuantityThresholdWithGiftCertificateBenefitOverThreshold

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

testAddingAdditionalLineCausesSecondGiftCertificateBenefitToBecomeQualified

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

testAddingLineCausesTwoGiftCertificateBenefitsToBecomeQualified

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

testLoweringQuantityCancelsGiftCertificateBenefitAndThenIncreasingQtyQualifiesPromotion

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

testOrderQuantityThresholdWithGiftCertificateBenefitAtThresholdWithoutDiscountThrowsException

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


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