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

public class CarrierTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CarrierTest(java.lang.String arg0)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testCreateModifySubmit()
           
 void testEmptyDescriptionThrowsException()
           
 void testFindDefaultPickupCarrier()
           
 void testGetShipmentTrackingUrl()
           
 void testInvalidDefaultPickupCarrierSubmitThrowsException()
           
 void testInvalidPickupCarrierSubmitThrowsException()
           
 void testSetFields()
           
 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, assertFalse, assertFalse, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertStateEquals, assertStateNotEquals, assertXmlEquals, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
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

CarrierTest

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

doInitialSetUp

public void doInitialSetUp()
                    throws java.lang.Exception
Specified by:
doInitialSetUp in class RetekTestCase
Throws:
java.lang.Exception

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

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

testGetShipmentTrackingUrl

public void testGetShipmentTrackingUrl()
                                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

testSetFields

public void testSetFields()
                   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 © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28