com.retek.component.customerorder
Class ZeroSaleReturnTest

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.BaseReturnLineTest
                      extended bycom.retek.component.customerorder.ZeroSaleReturnTest
All Implemented Interfaces:
junit.framework.Test

public class ZeroSaleReturnTest
extends BaseReturnLineTest


Field Summary
 
Fields inherited from class com.retek.component.customerorder.BaseReturnLineTest
mgr, systemReturnDisposition, user
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
ZeroSaleReturnTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testCalculateZeroSaleOrderReturnWithGifting()
           
 void testCalculateZeroSaleOrderReturnWithGiftingNotRefundingGifting()
           
 void testCalculateZeroSaleOrderReturnWithShipping()
           
 void testCalculateZeroSaleOrderReturnWithShippingNotRefundingShipping()
           
 void testCalculateZeroSaleOrderReturnWithVAS()
           
 void testCalculateZeroSaleOrderReturnWithVASNotRefundingVAS()
           
 void testCalculateZeroSaleOrderTotals()
           
 void testCalculateZeroSaleOrderTotalsMultipleLinesWithShippingMultipleRateLevels()
           
 void testCalculateZeroSaleOrderTotalsMultipleLinesWithShippingSingleRateLevel()
           
 void testCalculateZeroSaleOrderTotalsWithGifting()
           
 void testCalculateZeroSaleOrderTotalsWithShipping()
           
 void testCalculateZeroSaleOrderTotalsWithVAS()
           
 void testCancellingZeroSaleLineAlsoCancelsReturnLine()
           
 void testZeroSaleOrderInvalidForNormalLineApplication()
           
 void testZeroSaleOrderInvalidForPartialLineApplication()
           
 void testZeroSaleOrderInvalidWithoutReturnLine()
           
 void testZeroSaleOrderLineCancel()
           
 void testZeroSaleOrderLineCreateAndSubmit()
           
 void testZeroSaleOrderLineInvalidWithLineAccommodations()
           
 void testZeroSaleOrderReturnCreatesHistoryEvent()
           
 void testZeroSaleOrderValidWithCancelledZeroSaleLine()
           
 void testZeroSaleReplacementReturnOrderTotals()
           
 void testZeroSaleReturnLineComputesActualTaxesWhenReturned()
           
 
Methods inherited from class com.retek.component.customerorder.BaseReturnLineTest
createReturnReason, createSellingSku, createSystemReturnDisposition, getShipToGrandTotal, setupShippingRateTable, setupSingleLevelShippingRateTable
 
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

ZeroSaleReturnTest

public ZeroSaleReturnTest(java.lang.String name)
Method Detail

doInitialSetUp

public void doInitialSetUp()
                    throws java.lang.Exception
Overrides:
doInitialSetUp in class BaseReturnLineTest
Throws:
java.lang.Exception

doSetUp

public void doSetUp()
             throws java.lang.Exception
Overrides:
doSetUp in class BaseReturnLineTest
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Overrides:
doTearDown in class BaseReturnLineTest
Throws:
java.lang.Exception

testZeroSaleOrderLineCreateAndSubmit

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

testCalculateZeroSaleOrderTotals

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

testZeroSaleReplacementReturnOrderTotals

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

testCalculateZeroSaleOrderTotalsWithVAS

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

testCalculateZeroSaleOrderTotalsWithGifting

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

testCalculateZeroSaleOrderTotalsWithShipping

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

testCalculateZeroSaleOrderTotalsMultipleLinesWithShippingSingleRateLevel

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

testCalculateZeroSaleOrderTotalsMultipleLinesWithShippingMultipleRateLevels

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

testZeroSaleOrderLineCancel

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

testZeroSaleOrderValidWithCancelledZeroSaleLine

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

testCancellingZeroSaleLineAlsoCancelsReturnLine

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

testZeroSaleOrderInvalidWithoutReturnLine

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

testZeroSaleOrderInvalidForNormalLineApplication

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

testZeroSaleOrderInvalidForPartialLineApplication

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

testZeroSaleOrderLineInvalidWithLineAccommodations

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

testZeroSaleOrderReturnCreatesHistoryEvent

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

testCalculateZeroSaleOrderReturnWithVAS

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

testCalculateZeroSaleOrderReturnWithVASNotRefundingVAS

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

testCalculateZeroSaleOrderReturnWithGifting

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

testCalculateZeroSaleOrderReturnWithGiftingNotRefundingGifting

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

testCalculateZeroSaleOrderReturnWithShipping

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

testCalculateZeroSaleOrderReturnWithShippingNotRefundingShipping

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

testZeroSaleReturnLineComputesActualTaxesWhenReturned

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


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