com.retek.component.customerorder
Class CustomerOrderCOSubmitTest

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

public class CustomerOrderCOSubmitTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderCOSubmitTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testAPackReservedAtComponentLevelChangingRequestedQty()
           
 void testReadOrginalOrderSummaryForNonExistingOrderThrowsException()
           
 void testSubmitAndReadMultipleOrderLines()
           
 void testSubmitCancelledOrderWithPositiveBalanceThrowsException()
           
 void testSubmitCustomerOrderAfterCreateWithEmptyCustomer()
           
 void testSubmitCustomerOrderFromUICreatesAOriginalOrderSummaryData()
           
 void testSubmitCustomerOrderFromUITwiceThrowsException()
           
 void testSubmitCustomerOrderFromUIWithEmptyOrNullOrginalOrderSummaryThrowsException()
           
 void testSubmitOrderWithDeclinedPaymentGoesToPending()
           
 void testSubmitOrderWithFraudPaymentGoesToPending()
           
 void testSubmitOrderWithReferralPaymentGoesToPending()
           
 void testSubmitOrderWithTooMuchInPayments()
           
 void testSubmitOrderWithTooMuchInPaymentsPlusCreditCardRefund()
           
 void testSubmitPendedOrderWithOneApprovedAndOneUnapprovedPayment()
           
 void testSubmitPendedOrderWithOneDeclinedPayment()
           
 void testSubmitPendedOrderWithOneFraudulentPayment()
           
 void testSubmitPendedOrderWithOnePaymentApproved()
           
 void testSubmitPendedOrderWithOnePaymentWaitingAuthorization()
           
 void testSubmitPendedOrderWithOneReferredPayment()
           
 void testSubmitWithOneReservedLineAndOneCancelledLine()
           
 
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

CustomerOrderCOSubmitTest

public CustomerOrderCOSubmitTest(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()
Specified by:
doTearDown in class CustomerOrderApiTestCase

testSubmitAndReadMultipleOrderLines

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

testSubmitPendedOrderWithOneApprovedAndOneUnapprovedPayment

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

testSubmitPendedOrderWithOneDeclinedPayment

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

testSubmitPendedOrderWithOneFraudulentPayment

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

testSubmitPendedOrderWithOnePaymentApproved

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

testSubmitPendedOrderWithOnePaymentWaitingAuthorization

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

testSubmitPendedOrderWithOneReferredPayment

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

testSubmitWithOneReservedLineAndOneCancelledLine

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

testSubmitCancelledOrderWithPositiveBalanceThrowsException

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

testSubmitOrderWithTooMuchInPayments

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

testSubmitCustomerOrderAfterCreateWithEmptyCustomer

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

testSubmitOrderWithTooMuchInPaymentsPlusCreditCardRefund

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

testSubmitOrderWithFraudPaymentGoesToPending

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

testSubmitOrderWithReferralPaymentGoesToPending

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

testSubmitOrderWithDeclinedPaymentGoesToPending

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

testSubmitCustomerOrderFromUICreatesAOriginalOrderSummaryData

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

testSubmitCustomerOrderFromUITwiceThrowsException

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

testSubmitCustomerOrderFromUIWithEmptyOrNullOrginalOrderSummaryThrowsException

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

testReadOrginalOrderSummaryForNonExistingOrderThrowsException

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

testAPackReservedAtComponentLevelChangingRequestedQty

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


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