com.retek.component.shipping
Class CarrierTest

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

public class CarrierTest
extends ShippingApiTestCase


Field Summary
 
Fields inherited from class com.retek.component.shipping.ShippingApiTestCase
carrierMgr, carrierShippingMethodZoneMgr, shippingMethodMgr
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CarrierTest(java.lang.String arg0)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testCreateModifySubmit()
           
 void testEmptyDescriptionThrowsException()
           
 void testFindDefaultPickupCarrier()
           
 void testGetShipmentTrackingUrl1()
           
 void testGetShipmentTrackingUrl2()
           
 void testInvalidDefaultPickupCarrierSubmitThrowsException()
           
 void testInvalidPickupCarrierSubmitThrowsException()
           
 void testShipmentTrackingUrlCanBeEmptyOrNull()
           
 void testShipmentTrackingUrlRequiresWildcard()
           
 void testSubmitTwoCarriersWithDefaultPickupCarrierResetsDefault()
           
 void testUniqueDescriptions()
           
 void testValidateShipmentTrackingUrl()
           
 void testValidPickupCarrierSubmit()
           
 
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

CarrierTest

public CarrierTest(java.lang.String arg0)
Method Detail

doSetUp

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

doTearDown

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

testCreateModifySubmit

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

testEmptyDescriptionThrowsException

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

testUniqueDescriptions

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

testGetShipmentTrackingUrl1

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

testGetShipmentTrackingUrl2

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

testShipmentTrackingUrlCanBeEmptyOrNull

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

testShipmentTrackingUrlRequiresWildcard

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

testValidateShipmentTrackingUrl

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

testInvalidDefaultPickupCarrierSubmitThrowsException

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

testInvalidPickupCarrierSubmitThrowsException

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

testValidPickupCarrierSubmit

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

testSubmitTwoCarriersWithDefaultPickupCarrierResetsDefault

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

testFindDefaultPickupCarrier

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


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