com.retek.component.media
Class SellingItemTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.component.media.SellingItemTest
All Implemented Interfaces:
junit.framework.Test

public class SellingItemTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
SellingItemTest(java.lang.String arg0)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testBuildSellingItemWithDuplicatePackThrowsException()
           
 void testBuildSellingItemWithMultiplePacks()
           
 void testBuildSellingItemWithPackComponentsThatHaveZeroPrice()
           
 void testBuildSellingItemWithSinglePack()
           
 void testBuildSellingItemWithStyleAndMultiplePacks()
           
 void testBuildSellingItemWithStyleAndSinglePack()
           
 void testCreateMultiItemSellingItem()
           
 void testCreateMultiItemSellingItemWithLevelOneSku()
           
 void testCreateMultiStyleSellingItemDisplayCodeIncrements()
           
 void testCreateMultiStyleSellingItemNonAlphaNumeric()
           
 void testCreateSellingItem()
           
 void testCreateSellingItemWithLevelOneSku()
           
 void testCreateSellingItemWithLevelTwoSkuThrowsException()
           
 void testGetSellingItemForMultiStyleSellingItem()
           
 void testGetSellingItemsFromMultiPackSellingItem()
           
 void testGetSellingItemsFromMultiPackStyleSellingItem()
           
 void testGetSellingItemsFromMultiStyleSellingItem()
           
 void testPackAndComponentSuggestedPriceAreZeroThrowsException()
           
 void testProratePackUnitPriceOverPackComponents()
           
 void testRemoveSellingSkuFromSellingItem()
           
 void testSellingItemCareCardIndicator()
           
 void testSellingItemDepictions()
           
 void testSellingItemDirtiness()
           
 void testSellingItemGetPageSpreads()
           
 void testSellingItemItem()
           
 void testSellingItemRemove()
           
 void testSellingItemSetOfIncorrectDisplayCodeWhenNotPersistedThrowsException()
           
 void testSellingItemSetOfIncorrectDisplayCodeWithSameAsDisplayCodeKeepsIncorrectAsNull()
           
 void testSellingItemStatusActive()
           
 void testSellingItemStatusNotAvailable()
           
 void testSellingItemSubmitNoDescriptionThrowsException()
           
 void testSellingItemWithDuplicateIncorrectDisplayCodeUseExistingDisplayCodeThrowsException()
           
 void testSellingItemWithEmptyDepictionThrowsException()
           
 void testSellingSkuPositiveOrZeroMediaPriceOk()
           
 void testSellingSkuWithNegativeMediaPriceThrowsException()
           
 
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

SellingItemTest

public SellingItemTest(java.lang.String arg0)
Method Detail

doInitialSetUp

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

doSetUp

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

doTearDown

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

testCreateSellingItem

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

testSellingItemSubmitNoDescriptionThrowsException

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

testSellingItemSetOfIncorrectDisplayCodeWhenNotPersistedThrowsException

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

testSellingItemSetOfIncorrectDisplayCodeWithSameAsDisplayCodeKeepsIncorrectAsNull

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

testSellingItemWithDuplicateIncorrectDisplayCodeUseExistingDisplayCodeThrowsException

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

testSellingItemDepictions

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

testSellingItemGetPageSpreads

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

testSellingItemWithEmptyDepictionThrowsException

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

testRemoveSellingSkuFromSellingItem

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

testSellingItemDirtiness

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

testSellingSkuWithNegativeMediaPriceThrowsException

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

testSellingSkuPositiveOrZeroMediaPriceOk

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

testSellingItemItem

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

testSellingItemRemove

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

testGetSellingItemsFromMultiPackStyleSellingItem

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

testGetSellingItemsFromMultiPackSellingItem

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

testGetSellingItemsFromMultiStyleSellingItem

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

testCreateMultiItemSellingItem

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

testGetSellingItemForMultiStyleSellingItem

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

testCreateMultiStyleSellingItemDisplayCodeIncrements

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

testCreateMultiStyleSellingItemNonAlphaNumeric

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

testSellingItemStatusActive

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

testSellingItemStatusNotAvailable

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

testPackAndComponentSuggestedPriceAreZeroThrowsException

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

testBuildSellingItemWithPackComponentsThatHaveZeroPrice

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

testBuildSellingItemWithDuplicatePackThrowsException

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

testBuildSellingItemWithSinglePack

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

testBuildSellingItemWithMultiplePacks

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

testBuildSellingItemWithStyleAndSinglePack

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

testBuildSellingItemWithStyleAndMultiplePacks

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

testProratePackUnitPriceOverPackComponents

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

testSellingItemCareCardIndicator

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

testCreateSellingItemWithLevelTwoSkuThrowsException

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

testCreateMultiItemSellingItemWithLevelOneSku

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

testCreateSellingItemWithLevelOneSku

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


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