com.retek.component.shipping.impl.persistence.db.oracle
Class OracleShippingMethodDaoTest

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

public class OracleShippingMethodDaoTest
extends ShippingOracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OracleShippingMethodDaoTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 java.lang.String getConnectionKey()
           
 void testCreateAndReadShippingMethodWithCarriers()
           
 void testCreateAndReadWithoutCarriers()
           
 void testCreateReferenceCacheForShippingMethod()
           
 void testCreateUpdateReadShippingMethod()
           
 void testDeleteCarrierShippingMethodZonesByBothCodesResultInDelete()
           
 void testDeleteCarrierShippingMethodZonesByBothCodesResultInNoDelete()
           
 void testDeleteCarrierShippingMethodZonesByCarrierCode()
           
 void testDeleteCarrierShippingMethodZonesByShippingMethodCode()
           
 void testFindAllShippingMethods()
           
 void testGgetCarrierTransitDays()
           
 void testInvalidRead()
           
 void testReadAndFindReturnSameObject()
           
 void testRemoveAndCreateAssociation()
           
 void testUpdateShippingMethodWithIvalidId()
           
 
Methods inherited from class com.retek.component.shipping.impl.persistence.db.oracle.ShippingOracleTestCase
assertCarrierDtosEqual, assertCarrierShippingMethodDtosEqual, assertShippingMethodDtosEqual, modifyCarrierDto, modifyCarrierShippingMethodDto, modifyCarrierShippingMethodZoneDto
 
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

OracleShippingMethodDaoTest

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

doSetUp

public void doSetUp()
             throws java.lang.Exception
Overrides:
doSetUp in class ShippingOracleTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Overrides:
doTearDown in class ShippingOracleTestCase
Throws:
java.lang.Exception

getConnectionKey

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

testCreateAndReadShippingMethodWithCarriers

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

testCreateAndReadWithoutCarriers

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

testCreateUpdateReadShippingMethod

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

testRemoveAndCreateAssociation

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

testReadAndFindReturnSameObject

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

testFindAllShippingMethods

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

testUpdateShippingMethodWithIvalidId

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

testInvalidRead

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

testCreateReferenceCacheForShippingMethod

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

testGgetCarrierTransitDays

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

testDeleteCarrierShippingMethodZonesByShippingMethodCode

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

testDeleteCarrierShippingMethodZonesByCarrierCode

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

testDeleteCarrierShippingMethodZonesByBothCodesResultInNoDelete

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

testDeleteCarrierShippingMethodZonesByBothCodesResultInDelete

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


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