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

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

public class OracleProductInformationDaoTest
extends ItemOracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OracleProductInformationDaoTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 java.lang.String getConnectionKey()
           
 void testCreateReadAndUpdate()
           
 void testCreateReferenceForNewFreeFormUdaProductInformationAttribute()
           
 void testCreateReferenceForNewItemProductInformationAttribute()
           
 void testCreateReferenceForNewProductInformation()
           
 void testCreateReferenceForNewUdaHeaderProductInformationAttribute()
           
 void testDeleteFreeFormUdaProductInformationAttributes()
           
 void testDeleteUdaHeaderProductInformationAttributes()
           
 void testFindAll()
           
 void testFindByAttributeScreenTypeRef()
           
 void testFindByBannerRef()
           
 void testFindByBannerRefAndItemId()
           
 void testFindByDate()
           
 void testFindByItemAttributeRef()
           
 void testFindByItemDescription()
           
 void testFindByItemId()
           
 void testReadWithInvalidId()
           
 void testUpdateNotExisitingDto()
           
 
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, 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

OracleProductInformationDaoTest

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

getConnectionKey

public java.lang.String getConnectionKey()
Overrides:
getConnectionKey in class ItemOracleTestCase

testCreateReferenceForNewProductInformation

public void testCreateReferenceForNewProductInformation()
                                                 throws SystemException
Throws:
SystemException

testCreateReferenceForNewItemProductInformationAttribute

public void testCreateReferenceForNewItemProductInformationAttribute()
                                                              throws SystemException
Throws:
SystemException

testCreateReferenceForNewFreeFormUdaProductInformationAttribute

public void testCreateReferenceForNewFreeFormUdaProductInformationAttribute()
                                                                     throws SystemException
Throws:
SystemException

testCreateReferenceForNewUdaHeaderProductInformationAttribute

public void testCreateReferenceForNewUdaHeaderProductInformationAttribute()
                                                                   throws SystemException
Throws:
SystemException

testCreateReadAndUpdate

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

testReadWithInvalidId

public void testReadWithInvalidId()
                           throws SystemException,
                                  BusinessException
Throws:
SystemException
BusinessException

testUpdateNotExisitingDto

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

testFindAll

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

testFindByBannerRef

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

testFindByItemId

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

testFindByDate

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

testFindByItemDescription

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

testFindByAttributeScreenTypeRef

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

testFindByBannerRefAndItemId

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

testDeleteFreeFormUdaProductInformationAttributes

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

testDeleteUdaHeaderProductInformationAttributes

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

testFindByItemAttributeRef

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


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