com.retek.component.media
Class SellingListManagerTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.component.media.SellingListManagerTest
All Implemented Interfaces:
junit.framework.Test

public class SellingListManagerTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
SellingListManagerTest(java.lang.String arg0)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testBuildSellingListInstance()
           
 void testBuildSellingListItemInstance()
           
 void testFindSellingListsActiveCrossSell()
           
 void testFindSellingListsActiveSubSell()
           
 void testFindSellingListsActiveUpSell()
           
 void testFindSellingListsAllCrossSellExcludeClosed()
           
 void testFindSellingListsAllCrossSellIncludeClosed()
           
 void testFindSellingListsAllSubSellExcludeClosed()
           
 void testFindSellingListsAllSubSellIncludeClosed()
           
 void testFindSellingListsAllUpSellExcludeClosed()
           
 void testFindSellingListsAllUpSellIncludeClosed()
           
 void testFindSellingListsForOrderLineAppliesPromotionAmount()
           
 void testFindSellingListsForOrderLineAppliesPromotionDollarOff()
           
 void testFindSellingListsForOrderLineAppliesPromotionDollarOffOverPriceGoesToZero()
           
 void testFindSellingListsForOrderLineAppliesPromotionMiscBenefits()
           
 void testFindSellingListsForOrderLineAppliesPromotionNotAllItemsHaveBenefits()
           
 void testFindSellingListsForOrderLineAppliesPromotionPercentOff()
           
 void testFindSellingListsForOrderLineDoesntApplyNoPromotion()
           
 void testFindSellingListsForOrderLineDoesntApplyPromotionForAnotherList()
           
 void testFindSellingListsForOrderLineDoesntApplyWorksheetPromotion()
           
 void testFindSellingListsForOrderLineOnlyAppliesFirstPromotion()
           
 void testFindSellingListsForOrderLineWithAllLevelsOfTrigger()
           
 void testFindSellingListsForOrderLineWithMediaTriggerDoesntMatch()
           
 void testFindSellingListsForOrderLineWithSellableItemTrigger()
           
 void testFindSellingListsForOrderLineWithSellingItemTrigger()
           
 void testFindSellingListsForOrderLineWithSellingSkuTrigger()
           
 void testFindSubSellListsForOrderDoesntApplyPromotionForAnotherList()
           
 void testFindUpSellListsForOrderAppliesPromotionDollarOff()
           
 void testFindUpSellListsForOrderAppliesPromotionDollarOffOverPriceGoesToZero()
           
 void testFindUpSellListsForOrderAppliesPromotionMiscBenefits()
           
 void testFindUpSellListsForOrderAppliesPromotionNotAllItemsHaveBenefits()
           
 void testFindUpSellListsForOrderAppliesPromotionPercentOff()
           
 void testFindUpSellListsForOrderDoesntApplyNoPromotion()
           
 void testFindUpSellListsForOrderDoesntApplyWorksheetPromotion()
           
 void testFindUpSellListsForOrderLineAppliesPromotionAmount()
           
 void testFindUpSellListsForOrderOnlyAppliesFirstPromotion()
           
 void testFindUpSellListsForOrderWithMediaTrigger()
           
 void testReadSellingListInvalidListCausesNotFound()
           
 void testReadSellingListItemInvalidListCausesNotFound()
           
 
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

SellingListManagerTest

public SellingListManagerTest(java.lang.String arg0)
Method Detail

doSetUp

public void doSetUp()
             throws java.lang.Exception
Specified by:
doSetUp in class RetekTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Specified by:
doTearDown in class RetekTestCase
Throws:
java.lang.Exception

testFindUpSellListsForOrderWithMediaTrigger

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

testFindSellingListsForOrderLineWithMediaTriggerDoesntMatch

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

testFindSellingListsForOrderLineWithSellingSkuTrigger

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

testFindSellingListsForOrderLineWithAllLevelsOfTrigger

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

testFindSellingListsForOrderLineWithSellingItemTrigger

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

testFindSellingListsForOrderLineWithSellableItemTrigger

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

testFindSellingListsForOrderLineOnlyAppliesFirstPromotion

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

testFindUpSellListsForOrderAppliesPromotionDollarOff

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

testFindUpSellListsForOrderAppliesPromotionDollarOffOverPriceGoesToZero

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

testFindUpSellListsForOrderAppliesPromotionPercentOff

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

testFindSellingListsForOrderLineAppliesPromotionDollarOff

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

testFindSellingListsForOrderLineAppliesPromotionDollarOffOverPriceGoesToZero

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

testFindSellingListsForOrderLineAppliesPromotionPercentOff

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

testFindSellingListsForOrderLineDoesntApplyWorksheetPromotion

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

testFindSellingListsForOrderLineDoesntApplyNoPromotion

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

testFindSellingListsForOrderLineAppliesPromotionAmount

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

testFindUpSellListsForOrderLineAppliesPromotionAmount

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

testFindSellingListsForOrderLineAppliesPromotionNotAllItemsHaveBenefits

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

testFindSellingListsForOrderLineAppliesPromotionMiscBenefits

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

testFindSellingListsForOrderLineDoesntApplyPromotionForAnotherList

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

testFindUpSellListsForOrderAppliesPromotionMiscBenefits

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

testFindSubSellListsForOrderDoesntApplyPromotionForAnotherList

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

testFindSellingListsActiveUpSell

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

testFindSellingListsActiveSubSell

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

testFindSellingListsActiveCrossSell

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

testFindSellingListsAllUpSellExcludeClosed

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

testFindSellingListsAllCrossSellExcludeClosed

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

testFindSellingListsAllSubSellExcludeClosed

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

testBuildSellingListInstance

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

testReadSellingListInvalidListCausesNotFound

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

testBuildSellingListItemInstance

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

testFindSellingListsAllCrossSellIncludeClosed

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

testFindSellingListsAllSubSellIncludeClosed

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

testFindSellingListsAllUpSellIncludeClosed

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

testReadSellingListItemInvalidListCausesNotFound

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

testFindUpSellListsForOrderAppliesPromotionNotAllItemsHaveBenefits

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

testFindUpSellListsForOrderDoesntApplyNoPromotion

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

testFindUpSellListsForOrderDoesntApplyWorksheetPromotion

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

testFindUpSellListsForOrderOnlyAppliesFirstPromotion

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


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