Class UspsServicesTests

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
All Implemented Interfaces:
junit.framework.Test

public class UspsServicesTests extends OFBizTestCase
Tests for USPS Webtools API services These were created for simple validation only.
  • Constructor Details

    • UspsServicesTests

      public UspsServicesTests(String name)
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Overrides:
      setUp in class junit.framework.TestCase
      Throws:
      Exception
    • tearDown

      protected void tearDown() throws Exception
      Overrides:
      tearDown in class junit.framework.TestCase
      Throws:
      Exception
    • testUspsTrackConfirm

      public void testUspsTrackConfirm() throws Exception
      Test usps track confirm.
      Throws:
      Exception - the exception
    • testUspsAddressValidation

      public void testUspsAddressValidation() throws Exception
      Test usps address validation.
      Throws:
      Exception - the exception
    • testUspsCityStateLookup

      public void testUspsCityStateLookup() throws Exception
      Test usps city state lookup.
      Throws:
      Exception - the exception
    • testUspsPriorityMailStandard

      public void testUspsPriorityMailStandard() throws Exception
      Test usps priority mail standard.
      Throws:
      Exception - the exception
    • testUspsPackageServicesStandard

      public void testUspsPackageServicesStandard() throws Exception
      Test usps package services standard.
      Throws:
      Exception - the exception
    • testUspsDomesticRate

      public void testUspsDomesticRate() throws Exception
      Test usps domestic rate.
      Throws:
      Exception - the exception