com.retek.component.customerorder
Class CustomerOrderMailOrderTest

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

public class CustomerOrderMailOrderTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderMailOrderTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testAddOrderLineToMailOrderInPreBatch()
           
 void testCreateAndSubmitMailOrderWithRequiredDataAndNoPayment()
           
 void testCreateMailOrder()
           
 void testIsOrderLineAppliedForMailOrder()
           
 void testMailOrderPublishesOrderConfirmationOnRelease()
           
 void testMailOrderSavedAndHistoryEventGenerated()
           
 void testMailOrderWithCreditCardPaymentDoesNotThrowError()
           
 void testMailOrderWithLineWarehouseMessagePersists()
           
 void testMailOrderWithMultiplePaymentTypesDoesNotThrowError()
           
 void testMailOrderWithPaymentHasCorrectPaymentTotal()
           
 void testMailOrderWithShipToMessagePersists()
           
 void testModifyMailOrderAfterSubmittedBeforeBatchRelease()
           
 void testNoPaymentAuthorizationOnMailOrder()
           
 void testOrderCancelAfterSubmitOnMailOrderDoesNotThrowException()
           
 void testOrderCancelBeforeSubmitOnMailOrderDoesNotThrowException()
           
 void testOrderLineCancelOnMailOrderDoesNotReleaseInventory()
           
 void testOrderPendAfterSubmitOnMailOrderDoesNotThrowException()
           
 void testOrderPendBeforeSubmitOnMailOrderDoesNotThrowException()
           
 void testSetCarrierWithShipRestrictionsOnMailOrderDoesNotThrowError()
           
 void testSetSellingSkuWithShipRestrictionsOnMailOrderDoesNotThrowError()
           
 void testSetShipToWithShipRestrictionsOnMailOrderDoesNotThrowError()
           
 void testSubmitMailOrderDoesNotCalculateATPAndHasNoECDD()
           
 void testSubmitMailOrderDoesNotCalculateShippingCharges()
           
 void testSubmitMailOrderDoesNotCalculateTaxes()
           
 void testSubmitMailOrderWithGiftCardDoesNotCalculateGiftCardCharges()
           
 void testSubmitMailOrderWithGiftCertificatePaymentDoesNotPendOrder()
           
 void testSubmitMailOrderWithGiftWrapDoesNotCalculateGiftWrapCharges()
           
 void testSubmitMailOrderWithInvalidMonogrammingAllowed()
           
 void testSubmitMailOrderWithInvalidPersonalizationLineAllowed()
           
 void testSubmitMailOrderWithMerchCertificatePaymentDoesNotPendOrder()
           
 void testSubmitMailOrderWithMonogrammingDoesNotCalculateMonogrammingCharges()
           
 void testSubmitMailOrderWithoutCustomerOrLinesThrowsException()
           
 void testSubmitMailOrderWithPackWithCareCardDoesNotPendOrder()
           
 void testSubmitMailOrderWithPersonalizationDoesNotCalculatePersonalizationCharges()
           
 void testSubmitMailOrderWithTooManyPersonalizationLinesAllowed()
           
 
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
 

Constructor Detail

CustomerOrderMailOrderTest

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

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

testCreateMailOrder

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

testAddOrderLineToMailOrderInPreBatch

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

testIsOrderLineAppliedForMailOrder

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

testMailOrderSavedAndHistoryEventGenerated

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

testMailOrderWithPaymentHasCorrectPaymentTotal

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

testCreateAndSubmitMailOrderWithRequiredDataAndNoPayment

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

testSubmitMailOrderWithoutCustomerOrLinesThrowsException

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

testSubmitMailOrderDoesNotCalculateATPAndHasNoECDD

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

testSubmitMailOrderDoesNotCalculateTaxes

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

testSubmitMailOrderDoesNotCalculateShippingCharges

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

testSubmitMailOrderWithPersonalizationDoesNotCalculatePersonalizationCharges

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

testSubmitMailOrderWithMonogrammingDoesNotCalculateMonogrammingCharges

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

testSubmitMailOrderWithGiftWrapDoesNotCalculateGiftWrapCharges

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

testSubmitMailOrderWithGiftCardDoesNotCalculateGiftCardCharges

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

testSubmitMailOrderWithInvalidPersonalizationLineAllowed

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

testSubmitMailOrderWithTooManyPersonalizationLinesAllowed

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

testSubmitMailOrderWithPackWithCareCardDoesNotPendOrder

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

testSubmitMailOrderWithInvalidMonogrammingAllowed

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

testSubmitMailOrderWithGiftCertificatePaymentDoesNotPendOrder

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

testSubmitMailOrderWithMerchCertificatePaymentDoesNotPendOrder

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

testSetShipToWithShipRestrictionsOnMailOrderDoesNotThrowError

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

testSetSellingSkuWithShipRestrictionsOnMailOrderDoesNotThrowError

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

testSetCarrierWithShipRestrictionsOnMailOrderDoesNotThrowError

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

testMailOrderWithMultiplePaymentTypesDoesNotThrowError

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

testMailOrderWithCreditCardPaymentDoesNotThrowError

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

testMailOrderWithLineWarehouseMessagePersists

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

testMailOrderWithShipToMessagePersists

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

testNoPaymentAuthorizationOnMailOrder

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

testOrderLineCancelOnMailOrderDoesNotReleaseInventory

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

testOrderCancelBeforeSubmitOnMailOrderDoesNotThrowException

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

testOrderCancelAfterSubmitOnMailOrderDoesNotThrowException

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

testOrderPendBeforeSubmitOnMailOrderDoesNotThrowException

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

testOrderPendAfterSubmitOnMailOrderDoesNotThrowException

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

testModifyMailOrderAfterSubmittedBeforeBatchRelease

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

testMailOrderPublishesOrderConfirmationOnRelease

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


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