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 doSetUp()
           
 void doTearDown()
           
 void testAPackReservedAtComponentLevelChangingRequestedQty()
           
 void testReadOrginalOrderSummaryForNonExistingOrderThrowsException()
           
 void testSubmitAndReadMultipleOrderLines()
           
 void testSubmitCustomerOrderAfterCreateWithEmptyCustomer()
           
 void testSubmitCustomerOrderFromUICreatesAOriginalOrderSummaryData()
           
 void testSubmitCustomerOrderFromUITwiceThrowsException()
           
 void testSubmitCustomerOrderFromUIWithEmptyOrNullOrginalOrderSummaryThrowsException()
           
 void testSubmitManuallyPendedOrderPublishesOrderConfirmation()
           
 void testSubmitOrderPublishesOrderConfirmation()
           
 void testSubmitOrderWithDeclinedPaymentGoesToPending()
           
 void testSubmitOrderWithFraudPaymentGoesToPending()
           
 void testSubmitOrderWithReferralPaymentGoesToPending()
           
 void testSubmitOrderWithTooMuchInPayments()
           
 void testSubmitPendedOrderWithOneApprovedAndOneUnapprovedPayment()
           
 void testSubmitPendedOrderWithOneDeclinedPayment()
           
 void testSubmitPendedOrderWithOneFraudulentPayment()
           
 void testSubmitPendedOrderWithOnePaymentApproved()
           
 void testSubmitPendedOrderWithOnePaymentWaitingAuthorization()
           
 void testSubmitPendedOrderWithOneReferredPayment()
           
 void testSubmitSystematicallyPendedOrderPublishesOrderConfirmation()
           
 void testSubmitWithOneReservedLineAndOneCancelledLine()
           
 
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

CustomerOrderCOSubmitTest

public CustomerOrderCOSubmitTest(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()
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

testSubmitOrderWithTooMuchInPayments

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

testSubmitCustomerOrderAfterCreateWithEmptyCustomer

public void testSubmitCustomerOrderAfterCreateWithEmptyCustomer()
                                                         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

testSubmitOrderPublishesOrderConfirmation

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

testSubmitManuallyPendedOrderPublishesOrderConfirmation

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

testSubmitSystematicallyPendedOrderPublishesOrderConfirmation

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


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