com.retek.component.customerorder
Class CustomerOrderPaymentHistoryTest

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

public class CustomerOrderPaymentHistoryTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderPaymentHistoryTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testCapturePaymentHistoryOnAuthorizedPayment()
           
 void testCapturePaymentHistoryOnCancelledCashPayment()
           
 void testCapturePaymentHistoryOnCancelledCreditCardPayment()
           
 void testCapturePaymentHistoryOnCancelledCreditCardRefundPayment()
           
 void testCapturePaymentHistoryOnCancelledPhysicalRefundPayment()
           
 void testCapturePaymentHistoryOnDeclinedPaymentThenNewPaymentAuthorized()
           
 void testCapturePaymentHistoryOnExchangeSaleCreditCardPayment()
           
 void testCapturePaymentHistoryOnPartiallyCancelledCreditCardPayment()
           
 void testCapturePaymentHistoryOnSettledPaymentDoesntHaveAuthorizedAmount()
           
 void testFullShipmentOnSettledPaymentHistory()
           
 void testManualAuthorizationOfCreditCardPaymentCreatesOrderHistoryEvent()
           
 void testManuallyAuthorizedCreditCardCreatesPaymentHistory()
           
 void testNoSettledHistoryOnPaymentHistory()
           
 void testNumberOfShipmentsAndShipDateOnSettledPaymentHistory()
           
 void testOrderLineWithAccommodationForPercentOffCreatesCreditedPaymentHistoryForCheck()
           
 void testOrderLineWithAccommodationForPercentOffCreatesCreditedPaymentHistoryForCreditCard()
           
 void testOrderLineWithAccommodationForPercentOffCreatesCreditedPaymentHistoryForMerchVoucher()
           
 void testPartialShipmentOnSettledPaymentHistory()
           
 void testValidCreditCardCreatesPaymentHistory()
           
 
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

CustomerOrderPaymentHistoryTest

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

testCapturePaymentHistoryOnAuthorizedPayment

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

testCapturePaymentHistoryOnDeclinedPaymentThenNewPaymentAuthorized

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

testValidCreditCardCreatesPaymentHistory

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

testManuallyAuthorizedCreditCardCreatesPaymentHistory

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

testNoSettledHistoryOnPaymentHistory

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

testNumberOfShipmentsAndShipDateOnSettledPaymentHistory

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

testFullShipmentOnSettledPaymentHistory

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

testPartialShipmentOnSettledPaymentHistory

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

testOrderLineWithAccommodationForPercentOffCreatesCreditedPaymentHistoryForCreditCard

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

testOrderLineWithAccommodationForPercentOffCreatesCreditedPaymentHistoryForMerchVoucher

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

testOrderLineWithAccommodationForPercentOffCreatesCreditedPaymentHistoryForCheck

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

testCapturePaymentHistoryOnExchangeSaleCreditCardPayment

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

testManualAuthorizationOfCreditCardPaymentCreatesOrderHistoryEvent

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

testCapturePaymentHistoryOnSettledPaymentDoesntHaveAuthorizedAmount

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

testCapturePaymentHistoryOnCancelledCreditCardPayment

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

testCapturePaymentHistoryOnPartiallyCancelledCreditCardPayment

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

testCapturePaymentHistoryOnCancelledCashPayment

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

testCapturePaymentHistoryOnCancelledCreditCardRefundPayment

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

testCapturePaymentHistoryOnCancelledPhysicalRefundPayment

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


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