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

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

public class OracleCustomerOrderFinderTest
extends CustomerOrderOracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OracleCustomerOrderFinderTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
static junit.framework.TestSuite suite()
           
 void testFindAllCustomerOrders()
           
 void testFindByOrderLineDirectShipOrderId()
           
 void testFindCustomerOrderByActivePendReason()
           
 void testFindCustomerOrderByAllCriteria()
           
 void testFindCustomerOrderByCustomerId()
           
 void testFindCustomerOrderByCustomerOrderId()
           
 void testFindCustomerOrderByCustomerOrderIdNoResults()
           
 void testFindCustomerOrderByDirectShipFlag()
           
 void testFindCustomerOrderByLineStatus()
           
 void testFindCustomerOrderByOrderStatus()
           
 void testFindCustomerOrderByOrderType()
           
 void testFindCustomerOrderByPaymentStatus()
           
 void testFindCustomerOrderByPendCancelByDate()
           
 void testFindCustomerOrderByPendReason()
           
 void testFindCustomerOrderByRmaNumber()
           
 void testFindCustomerOrderBySettlementIsNotProcessed()
           
 void testFindCustomerOrderBySettlementIsProcessed()
           
 void testFindCustomerOrderBySingleOrderStatus()
           
 void testFindCustomerOrderReferencesForSalesAuditExport()
           
 void testFindCustomerOrderRefsWithPaymentAuthorizationExpired()
           
 void testFindCustomerOrdersByReleaseDate()
           
 void testFindCustomerOrdersBySellingSkuId()
           
 void testFindCustomerOrdersBySupplierId()
           
 void testFindCustomerOrderWithPositiveBackOrderedQtyLines()
           
 void testFindCustomerOrderWithPositiveReservedQtyLines()
           
 void testFindNoCustomerOrders()
           
 void testFindNoCustomerOrdersAlphaSupplierId()
           
 void testFindOrderByBannerId()
           
 void testFindOrderByMailOrderBatchRef()
           
 void testFindOrderByOrderLineEstimatedShipDateLessThanOrEqualToDate()
           
 void testFindOrderByOrderLineReleaseDateLessThanOrEqualToDate()
           
 void testNotFindCustomerOrderByCustomerId()
           
 
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

OracleCustomerOrderFinderTest

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

testFindNoCustomerOrders

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

testFindNoCustomerOrdersAlphaSupplierId

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

testFindCustomerOrderByCustomerOrderId

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

testFindCustomerOrderByCustomerOrderIdNoResults

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

testFindAllCustomerOrders

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

testFindCustomerOrdersBySupplierId

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

testFindCustomerOrderByLineStatus

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

testFindCustomerOrderByAllCriteria

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

testFindCustomerOrderByDirectShipFlag

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

testFindCustomerOrderWithPositiveReservedQtyLines

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

testFindCustomerOrderByOrderStatus

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

testFindCustomerOrderBySingleOrderStatus

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

testFindCustomerOrderByPendCancelByDate

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

testFindCustomerOrderByPaymentStatus

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

testFindByOrderLineDirectShipOrderId

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

testFindCustomerOrdersByReleaseDate

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

testFindCustomerOrderBySettlementIsProcessed

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

testFindCustomerOrderBySettlementIsNotProcessed

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

testFindCustomerOrdersBySellingSkuId

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

testFindCustomerOrderWithPositiveBackOrderedQtyLines

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

testFindCustomerOrderByRmaNumber

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

testFindCustomerOrderByCustomerId

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

testNotFindCustomerOrderByCustomerId

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

testFindCustomerOrderByActivePendReason

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

testFindCustomerOrderByPendReason

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

testFindOrderByOrderLineReleaseDateLessThanOrEqualToDate

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

testFindOrderByOrderLineEstimatedShipDateLessThanOrEqualToDate

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

testFindOrderByBannerId

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

testFindCustomerOrderByOrderType

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

testFindOrderByMailOrderBatchRef

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

testFindCustomerOrderReferencesForSalesAuditExport

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

testFindCustomerOrderRefsWithPaymentAuthorizationExpired

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


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