com.retek.component.customerorder
Class CustomerOrderServiceLineTest

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

public class CustomerOrderServiceLineTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerOrderServiceLineTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
static void main(java.lang.String[] args)
           
 void testAddPromotionDiscountToServiceLine()
           
 void testAddSameServiceLineMultipleTimes()
           
 void testCancelWrapTogetherLineMovesServiceLines()
           
 void testCancelWrapTogetherLineRemovesWrapTogetherIndicator()
           
 void testCareCardAuditing()
           
 void testCareCardCancelOrderLineWithCareInstructionPreservesServiceLine()
           
 void testCareCardCancelOrderWithCareInstructionPreservesServiceLine()
           
 void testCareCardChangeOrderLineQuantityAndECDD()
           
 void testCareCardMultipleOrderLinesEachCreateServiceLine()
           
 void testCareCardSellingSkuWithCareInstructionCreatesServiceLine()
           
 void testCareCardSellingSkuWithoutCareInstructionDoesNotCreateServiceLine()
           
 void testGiftCardAuditing()
           
 void testGiftingChangeOrderLineQuantity()
           
 void testGiftingCreateAndRead()
           
 void testGiftingCreateUpdateAndRead()
           
 void testGiftingNotWrapTogetherTwoOrderLines()
           
 void testGiftingWrapTogetherChangeOrderLineQuantityAndECDD()
           
 void testGiftingWrapTogetherChangePrimaryLineToNotWrapTogether()
           
 void testGiftingWrapTogetherChangeToWrapTogether()
           
 void testGiftingWrapTogetherTwoOrderLines()
           
 void testGiftWrapAuditing()
           
 void testGiftWrapOnPackComponentNotAvailable()
           
 void testMonogramAuditing()
           
 void testMonogramCalculateFlatPrice()
           
 void testMonogramCalculateFlatPriceForPackComponents()
           
 void testMonogramCalculateFlatPriceWithHelper()
           
 void testMonogramCalculatePricePerCharacter()
           
 void testMonogramCalculatePricePerCharacterWithHelper()
           
 void testMonogramChangeOrderLineQuantityAndECDD()
           
 void testMonogramCreateAndReadServiceLine()
           
 void testMonogramCreateAndReadServiceLineForPackComponents()
           
 void testMonogramDetailDescription()
           
 void testMonogramNoCharactersValidation()
           
 void testMonogramNoColorForEngravingValidation()
           
 void testMonogramNoColorValidation()
           
 void testMonogramNoFontValidation()
           
 void testMonogramNoPlacementOnItemValidation()
           
 void testMonogramNoUnitPriceValidation()
           
 void testMonogramNoValueAddedServiceValidation()
           
 void testMonogramWithRestrictedCharacter()
           
 void testMonogramWithRestrictedCharacterForItemWithTwoSuppliers()
           
 void testMonogramWithTwoRestrictedCharacters()
           
 void testPersonalizationAuditing()
           
 void testPersonalizationAuditingForPackComponentLines()
           
 void testPersonalizationCalculateFlatPriceForPackComponents()
           
 void testPersonalizationCalculatePriceFlatPrice()
           
 void testPersonalizationCalculatePriceFlatPriceWithHelper()
           
 void testPersonalizationCalculatePricePerCharacter()
           
 void testPersonalizationCalculatePricePerCharacterWithHelper()
           
 void testPersonalizationChangeOrderLineQuantityAndECDD()
           
 void testPersonalizationCreateAndReadServiceLine()
           
 void testPersonalizationCreateAndReadServiceLineForPackComponents()
           
 void testPersonalizationDetailDescription()
           
 void testPersonalizationNoColorForEngravingValidation()
           
 void testPersonalizationNoColorValidation()
           
 void testPersonalizationNoFontValidation()
           
 void testPersonalizationNoPlacementOnItemValidation()
           
 void testPersonalizationNoTextValidation()
           
 void testPersonalizationNoUnitPriceValidation()
           
 void testPersonalizationNoValueAddedServiceValidation()
           
 void testPersonalizationNoVasValidation()
           
 void testPersonalizationOnPackNotAvailable()
           
 void testPersonalizationWithRestrictedCharacters()
           
 void testServiceLineAccessForNonWrappedTogetherOrderLines()
           
 void testServiceLineAccessForWrappedTogetherOrderLines()
           
 
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

CustomerOrderServiceLineTest

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

main

public static void main(java.lang.String[] args)

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

testCareCardSellingSkuWithCareInstructionCreatesServiceLine

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

testCareCardSellingSkuWithoutCareInstructionDoesNotCreateServiceLine

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

testCareCardAuditing

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

testPersonalizationAuditing

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

testPersonalizationAuditingForPackComponentLines

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

testMonogramAuditing

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

testGiftCardAuditing

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

testGiftWrapOnPackComponentNotAvailable

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

testPersonalizationOnPackNotAvailable

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

testGiftWrapAuditing

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

testCareCardChangeOrderLineQuantityAndECDD

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

testCareCardMultipleOrderLinesEachCreateServiceLine

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

testCareCardCancelOrderLineWithCareInstructionPreservesServiceLine

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

testCareCardCancelOrderWithCareInstructionPreservesServiceLine

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

testGiftingCreateAndRead

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

testGiftingCreateUpdateAndRead

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

testGiftingChangeOrderLineQuantity

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

testGiftingWrapTogetherChangeOrderLineQuantityAndECDD

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

testGiftingWrapTogetherTwoOrderLines

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

testCancelWrapTogetherLineRemovesWrapTogetherIndicator

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

testCancelWrapTogetherLineMovesServiceLines

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

testGiftingNotWrapTogetherTwoOrderLines

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

testGiftingWrapTogetherChangeToWrapTogether

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

testGiftingWrapTogetherChangePrimaryLineToNotWrapTogether

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

testMonogramCreateAndReadServiceLine

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

testMonogramCreateAndReadServiceLineForPackComponents

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

testMonogramDetailDescription

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

testPersonalizationCreateAndReadServiceLine

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

testPersonalizationCreateAndReadServiceLineForPackComponents

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

testPersonalizationDetailDescription

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

testMonogramCalculatePricePerCharacter

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

testMonogramCalculateFlatPrice

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

testMonogramCalculateFlatPriceForPackComponents

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

testMonogramNoCharactersValidation

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

testMonogramNoColorValidation

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

testMonogramNoColorForEngravingValidation

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

testMonogramNoFontValidation

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

testMonogramNoPlacementOnItemValidation

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

testMonogramNoValueAddedServiceValidation

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

testMonogramNoUnitPriceValidation

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

testMonogramWithRestrictedCharacter

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

testMonogramWithRestrictedCharacterForItemWithTwoSuppliers

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

testMonogramWithTwoRestrictedCharacters

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

testMonogramChangeOrderLineQuantityAndECDD

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

testPersonalizationCalculatePricePerCharacter

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

testPersonalizationCalculatePriceFlatPrice

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

testPersonalizationCalculateFlatPriceForPackComponents

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

testPersonalizationNoPlacementOnItemValidation

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

testPersonalizationNoVasValidation

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

testPersonalizationNoUnitPriceValidation

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

testPersonalizationNoTextValidation

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

testPersonalizationNoColorValidation

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

testPersonalizationNoValueAddedServiceValidation

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

testPersonalizationNoColorForEngravingValidation

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

testPersonalizationNoFontValidation

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

testPersonalizationChangeOrderLineQuantityAndECDD

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

testPersonalizationWithRestrictedCharacters

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

testAddSameServiceLineMultipleTimes

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

testAddPromotionDiscountToServiceLine

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

testServiceLineAccessForWrappedTogetherOrderLines

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

testServiceLineAccessForNonWrappedTogetherOrderLines

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

testMonogramCalculateFlatPriceWithHelper

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

testMonogramCalculatePricePerCharacterWithHelper

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

testPersonalizationCalculatePriceFlatPriceWithHelper

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

testPersonalizationCalculatePricePerCharacterWithHelper

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


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