com.retek.component.item
Class ShipRestrictionManagerTest

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

public class ShipRestrictionManagerTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
ShipRestrictionManagerTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testBuildAddressCodeDetailTest()
           
 void testBuildAddressCodeTest()
           
 void testBuildShipRestrictionInstance()
           
 void testCreateAndRead()
           
 void testEqualsForshipRestrictionAddressDetail()
           
 void testFindAddressCodeByAddressCode()
           
 void testFindShipRestrictionsBySellableItem()
           
 void testFindShipRestrictionsBySellableItemParent()
           
 void testGetShipRestrictionTypeForConveyableTypeWithAllRestricted()
           
 void testGetShipRestrictionTypeForConveyableTypeWithAllRestrictedByDifferentCarrier()
           
 void testGetShipRestrictionTypeForItemWithAllRestricted()
           
 void testGetShipRestrictionTypeForItemWithRestrictedCountry()
           
 void testGetShipRestrictionTypeForItemWithRestrictedState()
           
 void testGetShipRestrictionTypeForItemWithRestrictedZipcode()
           
 void testGetShipRestrictionTypeForItemWithZipcodeOtherThanRestrictedZipcode()
           
 void testGetShipRestrictionTypeForStyleWithAllRestricted()
           
 void testGetShipRestrictionTypeForStyleWithNoRestrictions()
           
 void testSubmitAddressCodeWithDuplicateDetailValidation()
           
 void testSubmitAddressCodeWithExistingCodeThrowsException()
           
 void testSubmitAddressCodeWithoutCodeThrowsException()
           
 void testSubmitAddressCodeWithoutDetailCountryThrowsException()
           
 void testSubmitAddressCodeWithoutDetailTypeThrowsException()
           
 void testSubmitAddressCodeWithoutDetailValueThrowsException()
           
 void testSubmitAndFindAllAddressCodes()
           
 void testSubmitAndReadAddressCode()
           
 void testSubmitShipRestrictionAddressDetailValidations()
           
 void testSubmitShipRestrictionValidations()
           
 void testSubmitShipRestrictionWithDuplicateDetailValidation()
           
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertRibException, assertSize, assertStateEquals, assertStateEquals, assertStateNotEquals, assertStateNotEquals, assertXmlEquals, doClassSetUp, doInitialSetUp, doPackageSetUp, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, run, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, 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

ShipRestrictionManagerTest

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

testCreateAndRead

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

testBuildShipRestrictionInstance

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

testFindShipRestrictionsBySellableItem

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

testFindShipRestrictionsBySellableItemParent

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

testGetShipRestrictionTypeForItemWithRestrictedZipcode

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

testSubmitShipRestrictionValidations

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

testSubmitShipRestrictionAddressDetailValidations

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

testSubmitShipRestrictionWithDuplicateDetailValidation

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

testGetShipRestrictionTypeForItemWithZipcodeOtherThanRestrictedZipcode

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

testGetShipRestrictionTypeForItemWithRestrictedState

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

testGetShipRestrictionTypeForItemWithRestrictedCountry

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

testGetShipRestrictionTypeForItemWithAllRestricted

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

testGetShipRestrictionTypeForConveyableTypeWithAllRestricted

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

testGetShipRestrictionTypeForConveyableTypeWithAllRestrictedByDifferentCarrier

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

testGetShipRestrictionTypeForStyleWithAllRestricted

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

testGetShipRestrictionTypeForStyleWithNoRestrictions

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

testEqualsForshipRestrictionAddressDetail

public void testEqualsForshipRestrictionAddressDetail()

testBuildAddressCodeTest

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

testBuildAddressCodeDetailTest

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

testSubmitAndReadAddressCode

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

testSubmitAndFindAllAddressCodes

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

testFindAddressCodeByAddressCode

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

testSubmitAddressCodeWithoutCodeThrowsException

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

testSubmitAddressCodeWithExistingCodeThrowsException

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

testSubmitAddressCodeWithoutDetailTypeThrowsException

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

testSubmitAddressCodeWithoutDetailCountryThrowsException

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

testSubmitAddressCodeWithoutDetailValueThrowsException

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

testSubmitAddressCodeWithDuplicateDetailValidation

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


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25