com.retek.component.item.impl.persistence.db.oracle
Class OracleSkuDaoTest

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

public class OracleSkuDaoTest
extends ItemOracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OracleSkuDaoTest(java.lang.String name)
           
 
Method Summary
 void assertDtosPersisted(java.util.Collection dtos, boolean isPersisted)
           
 void doSetUp()
           
 void doTearDown()
           
 void testCreateReadSkuWithNoDifferentiators()
           
 void testCreateReadSkuWithoutStyle()
           
 void testCreateReadSkuWithStyle()
           
 void testFindIds()
           
 void testFindLevelOneSkuIdsWithSkusHavingDifferentTransactionAndNoParent()
           
 void testFindLevelOneSkuIdsWithSkusHavingSameTransactionAndItemLevel()
           
 void testFindLevelOneSkusWithSameTransactionAndItemLevels()
           
 void testFindLevelOneSkuWithLimitedSearchCriteria()
           
 void testReadAndSubmitAlsoHandleItemLocations()
           
 void testReadAndSubmitAlsoHandleItemLocationsWithNullableFields()
           
 void testReadAndSubmitAlsoHandleItemShippingMethods()
           
 void testReadAndSubmitAlsoHandleItemSupplierAttribute()
           
 void testReadAndSubmitAlsoHandleItemSuppliers()
           
 void testReadInvalidSkuThrowsException()
           
 void testReadSkus()
           
 void testReadSkuWithPackId()
           
 void testReadSkuWithStyleId()
           
 void testSkuUpdate()
           
 void testUpdateAlsoHandleItemShippingMethods()
           
 void testUpdateItemWithInvalidId()
           
 
Methods inherited from class com.retek.component.item.impl.persistence.db.oracle.ItemOracleTestCase
assertAddressCodeDetailsEqual, assertAddressCodeDtosEqual, assertDifferentiatorDtosAreEqual, assertDifferentiatorGroupHeaderDtosAreEqual, assertDifferentiatorsAreEqual, assertDifferentiatorTypeDtosAreEquals, assertFreeFormUdaDtosAreEqual, assertFreeFormUdasAreEqual, assertItemAttributeDtosEqual, assertItemAttributeScreenTypeDtosEqual, assertItemAttributeScreenTypeRelationDtosEqual, assertItemAttributeScreenTypeRelationsEqual, assertItemClassDtosAreEqual, assertItemCollectionDtosEqual, assertItemLocationEqual, assertItemLocationsEqual, assertItemQuantityMapAreEqual, assertItemSubclassDtosAreEqual, assertItemSupplierCountryAttributeDtoEqual, assertItemSupplierCountryAttributeDtosEqual, assertItemSupplierEqual, assertItemSupplierPersonalizationAttributeDtoEqual, assertItemSupplierPersonalizationAttributeDtosEqual, assertItemSuppliersEqual, assertPackEquals, assertProductInformationAttributeDtosAreEqual, assertProductInformationAttributesAreEqual, assertProductInformationDtosAreEqual, assertShipMethodIdsAreEqual, assertSkuDtoEqual, assertSkuDtosAreEqual, assertStyleDtosAreEqual, assertUdaValueEqual, assertUdaValuesEqual, getConnectionKey, modifyAddressCodeDto, modifyAllFreeFormUdaDtosForAnItem, modifyDifferentiatorDto, modifyItemAttributeDto, modifyItemAttributeScreenTypeDto, modifyItemClassDto, modifyItemCollection, modifyItemFreeFormUdaDto, modifyItemSubclassDto, modifyProductInformationAttributeDto, modifyProductInformationAttributeDto, modifyProductInformationDto, modifySkuDto, modifyStyleDto
 
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

OracleSkuDaoTest

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

testCreateReadSkuWithoutStyle

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

assertDtosPersisted

public void assertDtosPersisted(java.util.Collection dtos,
                                boolean isPersisted)

testCreateReadSkuWithStyle

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

testCreateReadSkuWithNoDifferentiators

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

testSkuUpdate

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

testReadInvalidSkuThrowsException

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

testReadAndSubmitAlsoHandleItemLocations

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

testReadAndSubmitAlsoHandleItemLocationsWithNullableFields

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

testReadAndSubmitAlsoHandleItemSuppliers

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

testReadAndSubmitAlsoHandleItemShippingMethods

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

testUpdateAlsoHandleItemShippingMethods

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

testReadAndSubmitAlsoHandleItemSupplierAttribute

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

testUpdateItemWithInvalidId

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

testReadSkuWithStyleId

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

testReadSkuWithPackId

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

testFindIds

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

testFindLevelOneSkuIdsWithSkusHavingSameTransactionAndItemLevel

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

testFindLevelOneSkuIdsWithSkusHavingDifferentTransactionAndNoParent

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

testFindLevelOneSkusWithSameTransactionAndItemLevels

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

testFindLevelOneSkuWithLimitedSearchCriteria

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

testReadSkus

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


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