com.retek.component.customerorder
Class CustomerOrderCOCalculationsTest

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

public class CustomerOrderCOCalculationsTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderCOCalculationsTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testBugWhereGetGrandTotalWithCancelledOrderLineCausesTaxProblems()
           
 void testCalculateMerchTax()
           
 void testCalculateMerchTaxAfterOrderSubmitAndRead()
           
 void testCalculateServiceChargeTotals()
           
 void testCalculateSHTax()
           
 void testCalculateTotalTax()
           
 void testCalculateVASTax()
           
 void testGetOrderLineExtendedPrice()
           
 void testGetShippingChargesForItemExemptFromStandardShippingCharge()
           
 void testGetShippingChargesForOrderWithOneRushDeliveryShipment()
           
 void testGetShippingChargesForOrderWithTwoShipments()
           
 void testGetShippingChargesForShipmentWithTwoLines()
           
 void testGetShippingChargeWithCancelledOrderLine()
           
 void testGetTotalExtendedPrice()
           
 void testGetTotalExtendedPriceWithCancelledOrderLine()
           
 void testGetTotalExtendedPriceWithPartialOrderLines()
           
 void testOrderTaxCalculationLockedOnCustomerOrderDate()
           
 void testShippingChargesFromSourceCodeShippingRateTable()
           
 
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

CustomerOrderCOCalculationsTest

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

testGetShippingChargesForItemExemptFromStandardShippingCharge

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

testGetShippingChargesForOrderWithOneRushDeliveryShipment

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

testGetShippingChargesForOrderWithTwoShipments

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

testGetShippingChargesForShipmentWithTwoLines

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

testGetShippingChargeWithCancelledOrderLine

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

testCalculateMerchTax

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

testCalculateMerchTaxAfterOrderSubmitAndRead

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

testCalculateSHTax

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

testCalculateTotalTax

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

testCalculateVASTax

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

testCalculateServiceChargeTotals

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

testOrderTaxCalculationLockedOnCustomerOrderDate

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

testGetOrderLineExtendedPrice

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

testGetTotalExtendedPrice

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

testGetTotalExtendedPriceWithPartialOrderLines

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

testGetTotalExtendedPriceWithCancelledOrderLine

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

testBugWhereGetGrandTotalWithCancelledOrderLineCausesTaxProblems

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

testShippingChargesFromSourceCodeShippingRateTable

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


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