Class UspsServicesTests
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.ofbiz.entity.testtools.EntityTestCase
-
- org.apache.ofbiz.service.testtools.OFBizTestCase
-
- org.apache.ofbiz.shipment.thirdparty.usps.UspsServicesTests
-
- All Implemented Interfaces:
junit.framework.Test
public class UspsServicesTests extends OFBizTestCase
Tests for USPS Webtools API services These were created for simple validation only.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Fields inherited from class org.apache.ofbiz.service.testtools.OFBizTestCase
dispatcher
-
Fields inherited from class org.apache.ofbiz.entity.testtools.EntityTestCase
delegator
-
-
Constructor Summary
Constructors Constructor Description UspsServicesTests(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setUp()
protected void
tearDown()
void
testUspsAddressValidation()
void
testUspsCityStateLookup()
void
testUspsDomesticRate()
void
testUspsPackageServicesStandard()
void
testUspsPriorityMailStandard()
void
testUspsTrackConfirm()
-
Methods inherited from class org.apache.ofbiz.service.testtools.OFBizTestCase
getDispatcher, setDispatcher
-
Methods inherited from class org.apache.ofbiz.entity.testtools.EntityTestCase
getDelegator, setDelegator
-
Methods inherited from class junit.framework.TestCase
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, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Method Detail
-
setUp
protected void setUp() throws java.lang.Exception
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
java.lang.Exception
-
tearDown
protected void tearDown() throws java.lang.Exception
- Overrides:
tearDown
in classjunit.framework.TestCase
- Throws:
java.lang.Exception
-
testUspsTrackConfirm
public void testUspsTrackConfirm() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testUspsAddressValidation
public void testUspsAddressValidation() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testUspsCityStateLookup
public void testUspsCityStateLookup() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testUspsPriorityMailStandard
public void testUspsPriorityMailStandard() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testUspsPackageServicesStandard
public void testUspsPackageServicesStandard() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testUspsDomesticRate
public void testUspsDomesticRate() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-