com.retek.component.customerorder
Class CustomerOrderPromotionsOrderingTest

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

public class CustomerOrderPromotionsOrderingTest
extends CustomerOrderApiTestCase

These tests verify the ordering of promotion application to a customer order. The defined application order is: Ordinality Threshold Type Benefit Type $/% ---------- -------------- ------------ --- 1 Selling List Item Selling List Item all 2 Item(qty/currency) Line Merch $ 3 Item(qty/currency) Line Merch % 4 Item(qty/currency) Item/GC $ 5 Item(qty/currency) Item/GC % 6 General(i.e., none) Order Merch $ 7 General(i.e., none) Order Merch % 8 General(i.e., none) Order Service $ 9 General(i.e., none) Order Service % 10 Order(qty/currency) Order Merch $ 11 Order(qty/currency) Order Merch % 12 Order(qty/currency) Item/GC $ 13 Order(qty/currency) Item/GC %


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderPromotionsOrderingTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testPromotionApplicationOrdering1()
           
 void testPromotionApplicationOrdering10()
           
 void testPromotionApplicationOrdering11()
           
 void testPromotionApplicationOrdering12()
           
 void testPromotionApplicationOrdering13()
           
 void testPromotionApplicationOrdering14()
           
 void testPromotionApplicationOrdering15()
           
 void testPromotionApplicationOrdering16()
           
 void testPromotionApplicationOrdering2()
           
 void testPromotionApplicationOrdering3WithDifferentBenefitSku()
           
 void testPromotionApplicationOrdering3WithSameBenefitSku()
           
 void testPromotionApplicationOrdering4WithDifferentBenefitSkus()
           
 void testPromotionApplicationOrdering4WithSameBenefitSkus()
           
 void testPromotionApplicationOrdering5()
           
 void testPromotionApplicationOrdering6()
           
 void testPromotionApplicationOrdering7()
           
 void testPromotionApplicationOrdering8()
           
 void testPromotionApplicationOrdering9()
           
 
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

CustomerOrderPromotionsOrderingTest

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

testPromotionApplicationOrdering1

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

testPromotionApplicationOrdering2

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

testPromotionApplicationOrdering3WithDifferentBenefitSku

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

testPromotionApplicationOrdering3WithSameBenefitSku

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

testPromotionApplicationOrdering4WithDifferentBenefitSkus

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

testPromotionApplicationOrdering4WithSameBenefitSkus

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

testPromotionApplicationOrdering5

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

testPromotionApplicationOrdering6

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

testPromotionApplicationOrdering7

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

testPromotionApplicationOrdering8

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

testPromotionApplicationOrdering9

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

testPromotionApplicationOrdering10

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

testPromotionApplicationOrdering11

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

testPromotionApplicationOrdering12

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

testPromotionApplicationOrdering13

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

testPromotionApplicationOrdering14

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

testPromotionApplicationOrdering15

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

testPromotionApplicationOrdering16

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


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