com.retek.component.customerorder
Class CustomerOrderLineSVCTest

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

public class CustomerOrderLineSVCTest
extends CustomerOrderApiTestCase


Field Summary
protected  SupplierReturnDisposition systemReturnDisposition
           
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderLineSVCTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testAddEventHoldToSVCOrderLine()
           
 void testAddPersonalHoldToSVCOrderLine()
           
 void testAmountAlreadySuppliedForDenominationBasedSVC()
           
 void testAmountRequiredForNonDenominationBasedSVC()
           
 void testGiftCardIsReturnable()
           
 void testGiftCardSegmentedIntoOwnShipRequest()
           
 void testGiftCardValidInAllBanners()
           
 void testGiftCertificatePaymentForSVCPurchaseIsInvalid()
           
 void testInvalidPaymentForSVCOnOrderEntryThenAddSVCExchangeSaleLineThrowsException()
           
 void testInvalidPaymentForSVCPurchaseAfterPaymentAdded()
           
 void testInvalidPaymentForSVCPurchaseWithOtherItemsThrowsException()
           
 void testMerchandiseCardMustBeUsedInSameBannerAsWhenIssued()
           
 void testMerchCertificatePaymentForSVCPurchaseIsInvalid()
           
 void testOrderGiftCardThenReturnAddExchangeSaleItemNotGiftCardPayWithGiftCertificate()
           
 void testPurchaseGiftCardPayWithCCThenReturnAndPurchaseNonGiftCard()
           
 void testQuantityMustBeOneWhenPurchasingSVC()
           
 void testStoredValueCardTenderTypeValidPaymentOptionForBanner()
           
 void testValidPaymentForSVCPurchase()
           
 
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
 

Field Detail

systemReturnDisposition

protected SupplierReturnDisposition systemReturnDisposition
Constructor Detail

CustomerOrderLineSVCTest

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

testStoredValueCardTenderTypeValidPaymentOptionForBanner

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

testMerchCertificatePaymentForSVCPurchaseIsInvalid

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

testGiftCertificatePaymentForSVCPurchaseIsInvalid

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

testInvalidPaymentForSVCPurchaseWithOtherItemsThrowsException

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

testValidPaymentForSVCPurchase

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

testInvalidPaymentForSVCPurchaseAfterPaymentAdded

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

testInvalidPaymentForSVCOnOrderEntryThenAddSVCExchangeSaleLineThrowsException

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

testPurchaseGiftCardPayWithCCThenReturnAndPurchaseNonGiftCard

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

testMerchandiseCardMustBeUsedInSameBannerAsWhenIssued

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

testGiftCardValidInAllBanners

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

testAddEventHoldToSVCOrderLine

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

testAddPersonalHoldToSVCOrderLine

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

testAmountRequiredForNonDenominationBasedSVC

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

testAmountAlreadySuppliedForDenominationBasedSVC

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

testQuantityMustBeOneWhenPurchasingSVC

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

testOrderGiftCardThenReturnAddExchangeSaleItemNotGiftCardPayWithGiftCertificate

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

testGiftCardIsReturnable

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

testGiftCardSegmentedIntoOwnShipRequest

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


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