com.retek.component.customerorder
Class CustomerOrderPromotionsOrderingTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.retek.commons.util.RetekTestCase
com.retek.component.customerorder.CustomerOrderApiTestCase
com.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 %
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 |
CustomerOrderPromotionsOrderingTest
public CustomerOrderPromotionsOrderingTest(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
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 © 2005 Retek Inc. All Rights Reserved.
- Generated at Fri, 01/21/2005 14:25