com.retek.component.geolocation
Class GeoLocationManagerTest

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

public class GeoLocationManagerTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
GeoLocationManagerTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testGeoLocationWithCanadianAddress()
           
 void testGeoLocationWithCanadianAddressNoPostalCode()
           
 void testGeoLocationWithPuertoRicoAddress()
           
 void testGetDualGeoLocationValidZipCode()
           
 void testGetGeoLocationForCanadianZipCode()
           
 void testGetGeoLocationsForCity()
           
 void testGetGeoLocationsForCounty()
           
 void testGetGeoLocationsForMisspelledCity()
           
 void testGetGeoLocationsForMisspelledCounty()
           
 void testGetGeoLocationsForStateAbbreviation()
           
 void testGetGeoLocationsForStateAbbreviationLowerCased()
           
 void testGetGeoLocationsInvalidZipCode()
           
 void testGetGeoLocationsWithAllSearchCriteriaBeingNull()
           
 void testGetGeoLocationsWithAlphaNumericZipCode()
           
 void testGetGeoLocationsWithCityBeingEmtpy()
           
 void testGetGeoLocationsWithCountyBeingEmtpy()
           
 void testGetGeoLocationsWithLongerZipCode()
           
 void testGetGeoLocationsWithMismatchedCityAndCounty()
           
 void testGetGeoLocationsWithMismatchedCityAndStateAbbreviation()
           
 void testGetGeoLocationsWithMismatchedCityAndZip()
           
 void testGetGeoLocationsWithMismatchedCountyAndZip()
           
 void testGetGeoLocationsWithMismatchedStateAbbreviationAndCounty()
           
 void testGetGeoLocationsWithMismatchedStateAbbreviationAndZip()
           
 void testGetGeoLocationsWithMisspelledStateAbbreviation()
           
 void testGetGeoLocationsWithStateAbbreviationBeingEmtpy()
           
 void testGetGeoLocationsWithStateAbbreviationTooLong()
           
 void testGetGeoLocationsWithStateAbbreviationTooShort()
           
 void testGetGeoLocationsWithZipCodeBeingEmtpy()
           
 void testGetMoreThan3GeoLocationForValidZipCode()
           
 void testGetSingleGeoLocationValidZipCode()
           
 void testGetTripleGeoLocationValidZipCode()
           
 
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

GeoLocationManagerTest

public GeoLocationManagerTest(java.lang.String name)
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

testGetSingleGeoLocationValidZipCode

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

testGetDualGeoLocationValidZipCode

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

testGetTripleGeoLocationValidZipCode

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

testGetGeoLocationsWithAllSearchCriteriaBeingNull

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

testGetGeoLocationsWithZipCodeBeingEmtpy

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

testGetGeoLocationsInvalidZipCode

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

testGetGeoLocationsWithLongerZipCode

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

testGetGeoLocationsWithAlphaNumericZipCode

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

testGetMoreThan3GeoLocationForValidZipCode

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

testGetGeoLocationForCanadianZipCode

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

testGetGeoLocationsForCity

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

testGetGeoLocationsWithCityBeingEmtpy

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

testGetGeoLocationsForMisspelledCity

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

testGetGeoLocationsForCounty

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

testGetGeoLocationsWithCountyBeingEmtpy

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

testGetGeoLocationsForMisspelledCounty

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

testGetGeoLocationsForStateAbbreviation

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

testGetGeoLocationsForStateAbbreviationLowerCased

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

testGetGeoLocationsWithStateAbbreviationBeingEmtpy

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

testGetGeoLocationsWithMisspelledStateAbbreviation

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

testGetGeoLocationsWithStateAbbreviationTooLong

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

testGetGeoLocationsWithStateAbbreviationTooShort

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

testGetGeoLocationsWithMismatchedCityAndZip

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

testGetGeoLocationsWithMismatchedCountyAndZip

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

testGetGeoLocationsWithMismatchedStateAbbreviationAndZip

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

testGetGeoLocationsWithMismatchedCityAndCounty

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

testGetGeoLocationsWithMismatchedStateAbbreviationAndCounty

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

testGetGeoLocationsWithMismatchedCityAndStateAbbreviation

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

testGeoLocationWithCanadianAddress

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

testGeoLocationWithCanadianAddressNoPostalCode

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

testGeoLocationWithPuertoRicoAddress

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


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28