com.retek.component.media.impl.persistence.db.oracle
Class OracleSellingItemDaoTest

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.media.impl.persistence.db.oracle.MediaOracleTestCase
                      extended bycom.retek.component.media.impl.persistence.db.oracle.OracleSellingItemDaoTest
All Implemented Interfaces:
junit.framework.Test

public class OracleSellingItemDaoTest
extends MediaOracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OracleSellingItemDaoTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testCreateAndFindAndDeleteSellingSku()
           
 void testCreateMultiStyleSellingItem()
           
 void testCreateReferenceForNewPackSellingSku()
           
 void testCreateReferenceForNewPackSellingSkuComponent()
           
 void testCreateSellingskuWithNoElementsWorks()
           
 void testDeleteDepictionOnlyDeletesWhenNoOtherSellingItemReferences()
           
 void testDeleteOfASellingItem()
           
 void testDeleteSellingItemDepictionWhenDepictionIsShared()
           
 void testFindNoSellableItemIds()
           
 void testFindSellableItemIds()
           
 void testFindSellingSkuByBannerId()
           
 void testFindSellingSkuByChannelTypeRef()
           
 void testFindSellingSkuByDisplayCode()
           
 void testFindSellingSkuByHighPriceRange()
           
 void testFindSellingSkuByLatestActiveMedia()
           
 void testFindSellingSkuByLowPriceRange()
           
 void testFindSellingSkuByMediaId()
           
 void testFindSellingSkuByMediaStatuses()
           
 void testFindSellingSkuByMultipleCriteria()
           
 void testFindSellingSkuBySellingItemCode()
           
 void testFindSellingSkuBySellingItemDescription()
           
 void testFindSellingSkuBySellingItemId()
           
 void testFindSellingSkuBySellingItemMisprintId()
           
 void testFindSellingSkuBySkuIds()
           
 void testFindSellingSkuBySourceCodeDescription()
           
 void testFindSellingSkuBySourceCodeDisplayCode()
           
 void testFindSellingSkuOnLatestMediaBySellingItemDescriptionWithWildCard()
           
 void testFindSellingSkuWithWildcard()
           
 void testFindSellingSkuWithWildcardAndOracleWildcard()
           
 void testFindWorks()
           
 void testGetNextMultiSellingItemDisplayCode()
           
 void testIsItemValidOnAnyBanner()
           
 void testReadAlsoReturnsSellingSkus()
           
 void testReadAndUpdateSellingItem()
           
 void testReadSellingSku()
           
 void testReadThrowsNotFound()
           
 void testSaveSellingItemDepictionWhenDepictionIsNull()
           
 void testSellingItemDepictionUpdate()
           
 void testSubmitOfSellingItemSubmitsSellingSkus()
           
 void testUpdateSellingItemWithInvalidId()
           
 
Methods inherited from class com.retek.component.media.impl.persistence.db.oracle.MediaOracleTestCase
assertDepictionDtoAreEqual, assertDropCodeDtosEqual, assertDropCodesEqual, assertMediaDtosEqual, assertMediaTypeDtosEqual, assertPackSellingSkuDtosAreEqual, assertSeasonCodeDtosEqual, assertSellingItemDepictionDtoAreEqual, assertSellingItemDepictionDtosAreEqual, assertSellingItemsAreEqual, assertSellingListDtosAreEqual, assertSellingListItemAreEqual, assertSellingListItemsAreEqual, assertSellingSkuComponentDtosEqual, assertSellingSkuComponentsAreEquals, assertSellingSkuDtosEqual, assertShippingRateDtoAreEqual, assertShippingRateTableDtosAreEqual, assertShippingRateTablesAreEqual, assertSourceCodeDtosAreEqual, assertSourceCodesEqual, assertSubConceptDtosEqual, assertValueAddedServiceDtoEqual, findSellingListItemDto, getAllSourceDtosForAMedia, getConnectionKey, modifyAllSellingListItemDtos, modifyDropCodeDto, modifyDropCodeDtos, modifyMediaDto, modifySellingItemDto, modifySellingListDto, modifySellingListItemDto, modifySellingSkuDto, modifyShippingRateDto, modifyShippingRateTableDto, modifyShippingRateTableDtos, modifySourceCodeDto, modifySourceCodeDtos, modifyVasDtos
 
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

OracleSellingItemDaoTest

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

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

testReadThrowsNotFound

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

testCreateReferenceForNewPackSellingSku

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

testCreateReferenceForNewPackSellingSkuComponent

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

testGetNextMultiSellingItemDisplayCode

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

testReadAndUpdateSellingItem

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

testReadAlsoReturnsSellingSkus

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

testSubmitOfSellingItemSubmitsSellingSkus

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

testReadSellingSku

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

testDeleteOfASellingItem

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

testCreateMultiStyleSellingItem

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

testIsItemValidOnAnyBanner

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

testUpdateSellingItemWithInvalidId

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

testFindWorks

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

testDeleteDepictionOnlyDeletesWhenNoOtherSellingItemReferences

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

testSellingItemDepictionUpdate

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

testCreateSellingskuWithNoElementsWorks

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

testCreateAndFindAndDeleteSellingSku

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

testFindSellingSkuByBannerId

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

testFindSellingSkuByMediaId

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

testFindSellingSkuBySellingItemId

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

testFindSellingSkuBySellingItemMisprintId

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

testFindSellingSkuByChannelTypeRef

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

testFindSellingSkuByDisplayCode

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

testFindSellingSkuBySellingItemDescription

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

testFindSellingSkuBySellingItemCode

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

testFindSellingSkuByLowPriceRange

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

testFindSellingSkuByHighPriceRange

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

testFindSellingSkuBySkuIds

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

testFindSellingSkuByMultipleCriteria

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

testFindSellingSkuByLatestActiveMedia

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

testFindSellingSkuByMediaStatuses

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

testFindSellingSkuWithWildcard

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

testFindSellingSkuOnLatestMediaBySellingItemDescriptionWithWildCard

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

testFindSellingSkuWithWildcardAndOracleWildcard

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

testFindSellingSkuBySourceCodeDisplayCode

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

testFindSellingSkuBySourceCodeDescription

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

testDeleteSellingItemDepictionWhenDepictionIsShared

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

testFindSellableItemIds

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

testFindNoSellableItemIds

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

testSaveSellingItemDepictionWhenDepictionIsNull

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


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