com.retek.component.customerorder.impl.persistence.db.oracle
Class OracleCustomerOrderDaoTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.commons.domain.core.persistence.db.oracle.OracleTestCase
                  extended bycom.retek.component.customerorder.impl.persistence.db.oracle.CustomerOrderOracleTestCase
                      extended bycom.retek.component.customerorder.impl.persistence.db.oracle.OracleCustomerOrderDaoTest
All Implemented Interfaces:
junit.framework.Test

public class OracleCustomerOrderDaoTest
extends CustomerOrderOracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OracleCustomerOrderDaoTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
static junit.framework.TestSuite suite()
           
 void testConcurrentInsertReadAndUpdateReturnLines()
           
 void testConcurrentUpateOnOrderLineAccommodations()
           
 void testConcurrentUpateOnPayments()
           
 void testConcurrentUpateOnServiceLines()
           
 void testCreateAndReadAndUpdateSupplierReturnDisposition()
           
 void testCreateReadAndUpdateFullCustomerOrder()
           
 void testCreateReadAndUpdateFullCustomerOrderWithPackSellingSku()
           
 void testCreateReadAndUpdateOrderPendReason()
           
 void testCreateReadUpdateServiceLines()
           
 void testCreateReferenceCacheForCustomerOrderDiscount()
           
 void testCreateReferenceCacheForCustomerOrderPaymentHistoryEvent()
           
 void testCreateReferenceCacheForECDDRecalculationItem()
           
 void testCreateReferenceForNewCustomerOrderPendReason()
           
 void testCreateReferenceForNewOrderPendReason()
           
 void testCreateReferenceForNewReturnLine()
           
 void testCreateReferenceForNewShippedContainer()
           
 void testCreateReferenceForNewShippedContainerLine()
           
 void testCreateUpdateCustomerOrderWhereOrderLineHasNoGiftCert()
           
 void testDeleteAllECDDRecalculationItems()
           
 void testDeletePayments()
           
 void testFindAccommodationReasons()
           
 void testFindAllOrderPendReasons()
           
 void testFindAllSupplierReturnDispositions()
           
 void testFindECDDRecalculationItemsByItemId()
           
 void testFindOrdersWithBackOrderedLineBySellingSkuRef()
           
 void testGetCustomerOrderSalesAuditTransactionCount()
           
 void testGetNextReferenceForNewCustomerOrderTransactionGroup()
           
 void testGetNextSettlementFileNumber()
           
 void testNextCustomerOrderServiceLineId()
           
 void testPaymentWithoutAuthorizationResponseDto()
           
 void testPersistAndFindOrder()
           
 void testPersistAndReadOriginalOrderSummaryOver9000Chars()
           
 void testPersistAndReadOriginalOrderSummaryUnder4000Chars()
           
 void testPersistAndUpdateSalesAuditOrder()
           
 void testReadAccommodationReason()
           
 void testReadCustomerOrderPayment()
           
 void testReadCustomerOrderThatDoesNotExist()
           
 void testReadOrderPendReason()
           
 void testReadOrderPendReasonWithInvalidReference()
           
 void testReadOrderTransactionGroup()
           
 void testReadOriginalOrderSummaryWithInvalidRef()
           
 void testReadReturnLine()
           
 void testReadReturnLineInvalidRef()
           
 void testReadSupplierReturnDispositionWithInvalidRef()
           
 void testSubmitAndFindAllECDDRecalculationItems()
           
 void testUpdateCustomerOrderLineWithInvalidReference()
           
 void testUpdateCustomerOrderWithInvalidId()
           
 
Methods inherited from class com.retek.component.customerorder.impl.persistence.db.oracle.CustomerOrderOracleTestCase
assertAccommodationEqual, assertAccommodationsAreEqual, assertBillToCustomerOrderAddressEquals, assertCallTagDtosEqual, assertCancelReasonAreEqual, assertCreateDatesOnHeader, assertCreateLinesDates, assertCreateLinesUser, assertCreateOrderUser, assertCreditCardEquals, assertCustomerOrderDtosAreEqual, assertCustomerOrderPendReasonEqual, assertCustomerOrderPendReasonsEqual, assertCustomerOrderTransactionGroupAreEqual, assertIsPersistedEqualsTrueForAllChildDtos, assertMailOrderBatchAreEqual, assertNoCustomerInformationReturnDtosAreEqual, assertOfferCodeDtosEqual, assertOrderDiscountsAreEqual, assertOrderLineDiscountsAreEqual, assertOrderLineDtosAreEqual, assertOrderLinePromotionDiscountsAreEqual, assertOrderLinesAreEqual, assertOrderLinesAreEqual, assertOrderPendReasonDtosEqual, assertOrderTransactionGroupsAreEqual, assertOriginalOrderSummaryDtosEqual, assertPackComponentsAreEqual, assertPaymentAuthorizationResponseDtoEquals, assertPaymentDtoEquals, assertPaymentHistoriesEqual, assertPaymentHistoryDtoEquals, assertPaymentsAreEqual, assertPendRuleEqual, assertPromotionDiscountDtosAreEqual, assertPromotionDiscountsAreEqual, assertReturnLineAccommodationAdjustmentDtoEquals, assertReturnLineAccommodationAdjustmentsAreEqual, assertReturnLineDtoEquals, assertReturnLinePromotionAdjustmentDtoEquals, assertReturnLinePromotionAdjustmentsAreEqual, assertReturnLinesAreEqual, assertReturnLineTaxInvoiceLineItemRecordDtoEquals, assertReturnLineTaxInvoiceLineItemRecordDtosAreEqual, assertReturnLineTaxInvoiceRecordDtoEquals, assertReturnLineTaxInvoiceRecordDtosAreEqual, assertReturnReasonAreEqual, assertServiceLinesAreEqual, assertServiceLinesPersisted, assertSettlementEqual, assertShipmentRequestLineDtoEqual, assertShipmentRequestLineDtosEqual, assertShippedContainerDtoEqual, assertShippedContainerDtosEqual, assertShippedContainerLineDtoEqual, assertShippedContainerLineDtosEqual, assertShipRequestDtoEqual, assertShipRequestDtosEqual, assertShipToCustomerOrderAddressEquals, assertShipToDtoEqual, assertShipToDtosEqual, assertShipToTotalsDtosAreEqual, assertTaxAccommodationDetailsEqual, assertUpdateHeaderDate, assertUpdateHeaderUser, assertUpdateLinesDate, assertUpdateLinesUser, assertVirtualWhReservationValuesEqual, findCustomerOrderPaymentDto, findOrderPendReasonDto, getAccommodations, getConnectionKey, getCustomerOrderLineStateModel, getCustomerOrderPaymentStateModel, getCustomerOrderStateModel, getReturnLineStateModel, modifyAccommodationDtosForSalesAudit, modifyAllFieldsOnGiftCertificateAttributes, modifyAllOrderLineDiscounts, modifyAllReturnLinesOnAnOrder, modifyAllServiceLineDtosForAnOrder, modifyAllShippedContainerDtosOnAnOrder, modifyAllTransactionGroupsOnAnOrder, modifyBillToCustomerOrderAddress, modifyCustomerOrderPromotionDiscountDto, modifyMailOrderBatch, modifyNoCustomerInformationReturnDto, modifyOrderAccommodations, modifyOrderHeaderFields, modifyOrderLineAccommodations, modifyOrderLineDto, modifyOrderLinePromotions, modifyOrderLines, modifyOrderPendReason, modifyOrderPromotions, modifyPaymentDtosForSalesAudit, modifyPaymentHistories, modifyPaymentHistoryDto, modifyPayments, modifyReturnLineDto, modifyReturnLineDtoForSalesAudit, modifyServiceLinePromotions, modifySettlementDto, modifyShippedContainerDto, modifyShippedContainerDtoForSalesAudit, modifyShippedContainerLineDto, modifyShipToCustomerOrderAddress, modifyShipTos, modifyShipToTotalsDto, modifySupplierReturnDisposition, modifyTransactionGroupDto, modifyTransactionGroupDtoForSalesAudit, modifyVirtualWarehouseReservationValues, setAllOrderAccommodationSalesAuditExportStateOnAnOrder, setAllOrderLineAccommodationSalesAuditExportStateOnAnOrder, setAllPaymentSalesAuditStateOnAnOrder, setAllReturnLineSalesAuditExportedStateOnAnOrder, setAllShipContainerSalesAuditExportStateOnAnOrder
 
Methods inherited from class com.retek.commons.domain.core.persistence.db.oracle.OracleTestCase
doInitialSetUp, getConnection, getRetekPreparedStatement, getTestDbRDate, isOracleTestCase, setUp, tearDown, touch, touch
 
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, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate
 
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

OracleCustomerOrderDaoTest

public OracleCustomerOrderDaoTest(java.lang.String name)
Method Detail

suite

public static junit.framework.TestSuite suite()

doSetUp

public void doSetUp()
             throws java.lang.Exception
Specified by:
doSetUp in class RetekTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
Specified by:
doTearDown in class RetekTestCase

testCreateReadAndUpdateFullCustomerOrder

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

testCreateReadAndUpdateFullCustomerOrderWithPackSellingSku

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

testReadCustomerOrderThatDoesNotExist

public void testReadCustomerOrderThatDoesNotExist()
                                           throws SystemException
Throws:
SystemException

testCreateUpdateCustomerOrderWhereOrderLineHasNoGiftCert

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

testReadOrderTransactionGroup

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

testPersistAndFindOrder

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

testUpdateCustomerOrderLineWithInvalidReference

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

testUpdateCustomerOrderWithInvalidId

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

testCreateReferenceForNewShippedContainer

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

testCreateReferenceForNewShippedContainerLine

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

testCreateReferenceCacheForCustomerOrderDiscount

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

testCreateReferenceCacheForCustomerOrderPaymentHistoryEvent

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

testGetNextSettlementFileNumber

public void testGetNextSettlementFileNumber()
                                     throws SystemException
Throws:
SystemException

testNextCustomerOrderServiceLineId

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

testCreateReadUpdateServiceLines

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

testFindAllSupplierReturnDispositions

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

testFindAllOrderPendReasons

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

testReadOrderPendReason

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

testReadOrderPendReasonWithInvalidReference

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

testCreateReferenceForNewOrderPendReason

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

testCreateReferenceForNewCustomerOrderPendReason

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

testCreateReferenceForNewReturnLine

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

testReadSupplierReturnDispositionWithInvalidRef

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

testCreateAndReadAndUpdateSupplierReturnDisposition

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

testConcurrentUpateOnServiceLines

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

testConcurrentInsertReadAndUpdateReturnLines

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

testConcurrentUpateOnOrderLineAccommodations

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

testConcurrentUpateOnPayments

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

testDeletePayments

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

testGetNextReferenceForNewCustomerOrderTransactionGroup

public void testGetNextReferenceForNewCustomerOrderTransactionGroup()
                                                             throws SystemException
Throws:
SystemException

testReadReturnLineInvalidRef

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

testReadReturnLine

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

testCreateReadAndUpdateOrderPendReason

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

testPersistAndReadOriginalOrderSummaryOver9000Chars

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

testPersistAndReadOriginalOrderSummaryUnder4000Chars

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

testReadOriginalOrderSummaryWithInvalidRef

public void testReadOriginalOrderSummaryWithInvalidRef()
                                                throws SystemException
Throws:
SystemException

testPaymentWithoutAuthorizationResponseDto

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

testFindAccommodationReasons

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

testReadAccommodationReason

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

testReadCustomerOrderPayment

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

testGetCustomerOrderSalesAuditTransactionCount

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

testFindOrdersWithBackOrderedLineBySellingSkuRef

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

testPersistAndUpdateSalesAuditOrder

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

testCreateReferenceCacheForECDDRecalculationItem

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

testSubmitAndFindAllECDDRecalculationItems

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

testFindECDDRecalculationItemsByItemId

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

testDeleteAllECDDRecalculationItems

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


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