com.retek.component.customerorder.integration.rib
Class ShipmentConfirmationInjectorTest

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

public class ShipmentConfirmationInjectorTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
ShipmentConfirmationInjectorTest(java.lang.String name)
           
 
Method Summary
 void assertOrderAndOrderLinesState(CustomerOrder order, CustomerOrderLine line)
           
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 ShipmentRequest findShipmentRequest(CustomerOrder order, CustomerOrderLine containedOrderLine)
           
 ShipmentRequestLine findShipmentRequestLine(ShipmentRequest shipmentRequest, CustomerOrderLine containedOrderLine)
           
 void sendRibMessage(com.retek.rib.binding.payload.Payload payload)
           
 void shipConfirm(CustomerOrder order, CustomerOrderLine line, Quantity quantity)
           
 void testBadDocTypeCausesInjectException()
           
 void testConfirmAcceptanceTestOne()
           
 void testConfirmAcceptanceTestThree()
           
 void testConfirmGiftCertifcate()
           
 void testConfirmGiftCertifcateWithoutVoucherNumber()
           
 void testConfirmGiftCertifcateWithQtyGreaterThanOne()
           
 void testConfirmNonGiftCertifcateWithWithVoucherNumberAndExpirationDate()
           
 void testConfirmOfJustRushDeliveryLineCausesProrateProblem()
           
 void testConfirmReplacementSaleLine()
           
 void testDirectShipShipConfirmFailsWhenPayloadHasNoRMA()
           
 void testDirectShipShipConfirmSetShipConfirmationReceivedDate()
           
 void testDirectShipShipConfirmWithDifferentSupplierSetsOrderLineSupplier()
           
 void testDirectShipShipConfirmWorks()
           
 void testNonInventoriableItemDoesNotCreateCustSaleMessage()
           
 void testPackShipConfirmPackAndSkuLevelReservation()
           
 void testPackShipConfirmPackLevelReservation()
           
 void testRibIntegrationtestDirectShipShipConfirmWithSupplierWithNoAddressDoesNotWork()
           
 void testShipConfirmingOnlyOneComponentLineDoesntChangeTheStateOfPackLine()
           
 void testShipConfirmWithoutContainerHeightWeightLengthWidthDetails()
           
 
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

ShipmentConfirmationInjectorTest

public ShipmentConfirmationInjectorTest(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()
                throws java.lang.Exception
Specified by:
doTearDown in class CustomerOrderApiTestCase
Throws:
java.lang.Exception

testConfirmAcceptanceTestOne

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

testShipConfirmWithoutContainerHeightWeightLengthWidthDetails

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

testConfirmAcceptanceTestThree

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

testBadDocTypeCausesInjectException

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

assertOrderAndOrderLinesState

public void assertOrderAndOrderLinesState(CustomerOrder order,
                                          CustomerOrderLine line)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

findShipmentRequest

public ShipmentRequest findShipmentRequest(CustomerOrder order,
                                           CustomerOrderLine containedOrderLine)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

findShipmentRequestLine

public ShipmentRequestLine findShipmentRequestLine(ShipmentRequest shipmentRequest,
                                                   CustomerOrderLine containedOrderLine)
                                            throws java.lang.Exception
Throws:
java.lang.Exception

sendRibMessage

public void sendRibMessage(com.retek.rib.binding.payload.Payload payload)
                    throws java.lang.Exception
Throws:
java.lang.Exception

shipConfirm

public void shipConfirm(CustomerOrder order,
                        CustomerOrderLine line,
                        Quantity quantity)
                 throws java.lang.Exception
Throws:
java.lang.Exception

testConfirmGiftCertifcate

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

testConfirmReplacementSaleLine

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

testConfirmGiftCertifcateWithoutVoucherNumber

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

testConfirmOfJustRushDeliveryLineCausesProrateProblem

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

testConfirmGiftCertifcateWithQtyGreaterThanOne

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

testConfirmNonGiftCertifcateWithWithVoucherNumberAndExpirationDate

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

testRibIntegrationtestDirectShipShipConfirmWithSupplierWithNoAddressDoesNotWork

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

testDirectShipShipConfirmWorks

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

testDirectShipShipConfirmWithDifferentSupplierSetsOrderLineSupplier

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

testPackShipConfirmPackLevelReservation

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

testShipConfirmingOnlyOneComponentLineDoesntChangeTheStateOfPackLine

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

testDirectShipShipConfirmSetShipConfirmationReceivedDate

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

testPackShipConfirmPackAndSkuLevelReservation

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

testDirectShipShipConfirmFailsWhenPayloadHasNoRMA

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

testNonInventoriableItemDoesNotCreateCustSaleMessage

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


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