com.retek.component.salesaudit.impl.remote.command
Class ReturnTransactionConverterTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.component.salesaudit.SalesAuditExportTestCase
                  extended bycom.retek.component.salesaudit.impl.remote.command.ReturnTransactionConverterTest
All Implemented Interfaces:
junit.framework.Test

public class ReturnTransactionConverterTest
extends SalesAuditExportTestCase


Nested Class Summary
 
Nested classes inherited from class com.retek.component.salesaudit.SalesAuditExportTestCase
SalesAuditExportTestCase.SalesAuditCounts, SalesAuditExportTestCase.SalesAuditTransactionElementCounter
 
Field Summary
 
Fields inherited from class com.retek.component.salesaudit.SalesAuditExportTestCase
banner, batchArgs, customerOrderMgr, defaultCountryZipCodeRange, EXP_DIR_FILE, media, order, salesAuditMgr, systemReturnDisposition, user, virtualWarehouse
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
ReturnTransactionConverterTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testAccommodationElementForReturnWithMerchAccommodation()
           
 void testAccommodationElementForReturnWithServiceAccommodation()
           
 void testAccommodationElementForReturnWithShippingAccommodation()
           
 void testCustomerElements()
           
 void testDiscountElementForReturnWithGeneralOrderPromotion()
           
 void testDiscountElementForReturnWithServicePromotion()
           
 void testDiscountElementForReturnWithShippingPromotion()
           
 void testItemElement()
           
 void testItemElementForDirectShipOrderLineReturn()
           
 void testItemElementForGiftCertificateReturn()
           
 void testItemElementForPackComponentReturn()
           
 void testItemElementForPackReturn()
           
 void testPaymentElementForCheckPayment()
           
 void testPaymentElementForCheckPaymentAndReverseGoodwill()
           
 void testPaymentElementForExchangeReturnEvenWithSale()
           
 void testPaymentElementForExchangeReturnLessThanSale()
           
 void testPaymentElementForExchangeReturnMoreThanSale()
           
 void testPaymentElementForGiftReturnRefundRecipient()
           
 void testPaymentElementForMerchCardPayment()
           
 void testPaymentElementForMerchCertificatePayment()
           
 void testPaymentElementForReturnOfZeroPriceNormalLine()
           
 void testPaymentElementOnePayment()
           
 void testServiceElementForReturnPostage()
           
 void testServiceElementForShippingCharges()
           
 void testServiceElementForVasGiftServiceLines()
           
 void testServiceElementForVasGiftServiceLinesForPackComponentReturn()
           
 void testServiceElementForVasGiftServiceLinesWrapTogether()
           
 void testServiceElementForVasPersonalizationServiceLines()
           
 void testServiceElementForVasPersonalizationServiceLinesForPackComponentReturn()
           
 void testServiceElementForVasPersonalizationServiceLinesForPackReturn()
           
 void testServiceElementNoShippingCharges()
           
 void testTaxElementItemTaxes()
           
 void testTaxElementStdShippingTax()
           
 void testTransactionElement()
           
 void testTransactionElementForDisposedExchangeReturn()
           
 void testTransactionElementForDisposedReturn()
           
 void testTransactionElementForNonDisposedExchangeReturn()
           
 void testTransactionElementWithNullOrderStore()
           
 
Methods inherited from class com.retek.component.salesaudit.SalesAuditExportTestCase
assertAccommodationElementContents, assertAccommodationElementContents, assertCustomerElementContents, assertDiscountElementContents, assertPaymentElementContentsForPaidInTransaction, assertPaymentElementContentsForPaidOutTransaction, assertPaymentElementContentsForReturnTransaction, assertPaymentElementContentsForReturnTransaction, assertPaymentElementContentsForSaleTransaction, assertSalesAuditTransactionCounts, assertServiceElementContents, assertShItemElementContents, assertTransactionElementContents, assertTransactionElementContents, assertVasItemElementContents, buildStoreDayKey, buildStoreTransactionContainer, createBannerShippingAndHandlingSku, createBannerVasGeneralSku, createBannerVasGiftCardSku, createBannerVasGiftWrapSku, createBannerVasMonogramSku, createBannerVasPersonalizationSku, createReturnReason, getCustomerOrderLineStateModel, getCustomerOrderPaymentStateModel, getCustomerOrderStateModel, getReturnLineStateModel, getTransactionElementCount
 
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

ReturnTransactionConverterTest

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

doInitialSetUp

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

doSetUp

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

doTearDown

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

testCustomerElements

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

testTransactionElement

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

testTransactionElementWithNullOrderStore

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

testTransactionElementForDisposedReturn

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

testTransactionElementForDisposedExchangeReturn

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

testTransactionElementForNonDisposedExchangeReturn

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

testItemElement

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

testItemElementForDirectShipOrderLineReturn

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

testItemElementForGiftCertificateReturn

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

testItemElementForPackReturn

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

testItemElementForPackComponentReturn

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

testServiceElementForShippingCharges

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

testServiceElementNoShippingCharges

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

testServiceElementForReturnPostage

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

testServiceElementForVasGiftServiceLinesForPackComponentReturn

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

testServiceElementForVasPersonalizationServiceLinesForPackComponentReturn

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

testServiceElementForVasPersonalizationServiceLinesForPackReturn

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

testServiceElementForVasGiftServiceLines

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

testServiceElementForVasGiftServiceLinesWrapTogether

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

testServiceElementForVasPersonalizationServiceLines

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

testAccommodationElementForReturnWithMerchAccommodation

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

testAccommodationElementForReturnWithShippingAccommodation

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

testAccommodationElementForReturnWithServiceAccommodation

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

testDiscountElementForReturnWithGeneralOrderPromotion

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

testDiscountElementForReturnWithShippingPromotion

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

testDiscountElementForReturnWithServicePromotion

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

testTaxElementItemTaxes

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

testTaxElementStdShippingTax

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

testPaymentElementOnePayment

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

testPaymentElementForCheckPayment

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

testPaymentElementForCheckPaymentAndReverseGoodwill

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

testPaymentElementForMerchCardPayment

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

testPaymentElementForMerchCertificatePayment

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

testPaymentElementForGiftReturnRefundRecipient

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

testPaymentElementForExchangeReturnEvenWithSale

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

testPaymentElementForExchangeReturnLessThanSale

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

testPaymentElementForExchangeReturnMoreThanSale

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

testPaymentElementForReturnOfZeroPriceNormalLine

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


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