com.retek.component.customerorder
Class CustomerOrderPaymentConsolidationTest

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

public class CustomerOrderPaymentConsolidationTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderPaymentConsolidationTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testConsolidationOfCreditCardPaymentForOrderWithOverpayment()
           
 void testConsolidationOfMerchCertificatesWithoutControlNumber()
           
 void testConsolidationOfPaymentsPreservesResaState()
           
 void testMultipleCreditCardPaymentAfterSplitConsolidationForClosedOrder()
           
 void testMultipleCreditCardPaymentAfterSplitConsolidationForOpenOrder()
           
 void testMultipleCreditCardPaymentAfterSplitConsolidationForPendedOrder()
           
 void testMultipleCreditCardPaymentNoSplitConsolidation()
           
 void testMultipleCreditPaymentsSameRefundRecipientConsolidation()
           
 void testMultipleGiftCardPaymentsAfterSplitConsolidation()
           
 void testMultipleGiftCertificatePaymentsAfterSplitConsolidation()
           
 void testMultipleMerchandiseCardPaymentsAfterSplitConsolidation()
           
 void testMultipleMerchCertificatePaymentsAfterSplitConsolidation()
           
 void testMultiplePrivateLabelCreditCardPaymentsMultiplePlanCodesNoConsolidation()
           
 void testMultiplePrivateLabelCreditCardPaymentsSamePlanCodeConsolidation()
           
 void testMultipleRefundRecipientCreditPaymentsNoConsolidation()
           
 void testMultipleReturnRefundPaymentsConsolidation()
           
 void testMultipleRewardCertificatePaymentsAfterSplitConsolidation()
           
 void testMultipleTenderTypePaymentConsolidation()
           
 void testNegativePaymentsDontConsolidateWithPositive()
           
 void testOneCreditCardPaymentNoConsolidation()
           
 void testPaymentConsolidationAfterMultipleLineReturn()
           
 void testPaymentConsolidationDoesNotConsolidateDifferentPaymentTransactionTypes()
           
 
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

CustomerOrderPaymentConsolidationTest

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

testOneCreditCardPaymentNoConsolidation

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

testMultipleCreditCardPaymentAfterSplitConsolidationForClosedOrder

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

testMultipleCreditCardPaymentAfterSplitConsolidationForOpenOrder

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

testMultipleCreditCardPaymentAfterSplitConsolidationForPendedOrder

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

testMultipleCreditCardPaymentNoSplitConsolidation

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

testMultipleGiftCertificatePaymentsAfterSplitConsolidation

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

testMultipleRewardCertificatePaymentsAfterSplitConsolidation

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

testMultipleMerchCertificatePaymentsAfterSplitConsolidation

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

testMultipleTenderTypePaymentConsolidation

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

testMultipleRefundRecipientCreditPaymentsNoConsolidation

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

testMultipleReturnRefundPaymentsConsolidation

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

testMultipleCreditPaymentsSameRefundRecipientConsolidation

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

testNegativePaymentsDontConsolidateWithPositive

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

testConsolidationOfPaymentsPreservesResaState

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

testConsolidationOfMerchCertificatesWithoutControlNumber

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

testMultiplePrivateLabelCreditCardPaymentsSamePlanCodeConsolidation

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

testMultiplePrivateLabelCreditCardPaymentsMultiplePlanCodesNoConsolidation

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

testMultipleGiftCardPaymentsAfterSplitConsolidation

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

testMultipleMerchandiseCardPaymentsAfterSplitConsolidation

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

testPaymentConsolidationDoesNotConsolidateDifferentPaymentTransactionTypes

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

testPaymentConsolidationAfterMultipleLineReturn

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

testConsolidationOfCreditCardPaymentForOrderWithOverpayment

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


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