com.retek.component.customer
Class CustomerTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.retek.commons.util.RetekTestCase
com.retek.component.customer.CustomerApiTestCase
com.retek.component.customer.CustomerTest
- All Implemented Interfaces:
- junit.framework.Test
- public class CustomerTest
- extends CustomerApiTestCase
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 |
CustomerTest
public CustomerTest(java.lang.String name)
doSetUp
public void doSetUp()
throws java.lang.Exception
- Overrides:
doSetUp
in class CustomerApiTestCase
- Throws:
java.lang.Exception
doTearDown
public void doTearDown()
throws java.lang.Exception
- Overrides:
doTearDown
in class CustomerApiTestCase
- Throws:
java.lang.Exception
testCreateCustomer
public void testCreateCustomer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReadCustomerAndChildrenByValidReference
public void testReadCustomerAndChildrenByValidReference()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubmitCustomer
public void testSubmitCustomer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubmitNewCustomerWithoutPhoneForNonCatalogRequest
public void testSubmitNewCustomerWithoutPhoneForNonCatalogRequest()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubmitNewCustomerWithoutEmailAndPhoneForCatalogRequest
public void testSubmitNewCustomerWithoutEmailAndPhoneForCatalogRequest()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubmitCustomerAfterRemovingRequiredFieldsInAddress
public void testSubmitCustomerAfterRemovingRequiredFieldsInAddress()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubmitMissingLastName
public void testSubmitMissingLastName()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubmitMissingFirstName
public void testSubmitMissingFirstName()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubmitMissingFirstName2
public void testSubmitMissingFirstName2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddActivePhoneDefaultsPrimaryDayAndEve
public void testAddActivePhoneDefaultsPrimaryDayAndEve()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddMissingAddressLine1
public void testAddMissingAddressLine1()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddMissingAddressFirstName
public void testAddMissingAddressFirstName()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddMissingAddressLastName
public void testAddMissingAddressLastName()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddMissingCountryCode
public void testAddMissingCountryCode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddMissingCity
public void testAddMissingCity()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddMissingState
public void testAddMissingState()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddMissingPostalCode
public void testAddMissingPostalCode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddEmailAddress
public void testAddEmailAddress()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddStoredValueCardCashout
public void testAddStoredValueCardCashout()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactivePrimaryEmail
public void testInactivePrimaryEmail()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactiveNonPrimaryEmail
public void testInactiveNonPrimaryEmail()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddTwoEmailAddressesNotChangingPrimary
public void testAddTwoEmailAddressesNotChangingPrimary()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddTwoEmailAddressesChangingPrimary
public void testAddTwoEmailAddressesChangingPrimary()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUpdatingExistingEmailAddress
public void testUpdatingExistingEmailAddress()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUpdateCustomerAndChildrenAuditInfo
public void testUpdateCustomerAndChildrenAuditInfo()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactivateExistingEmailAddress
public void testInactivateExistingEmailAddress()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddInvalidEmailAddress
public void testAddInvalidEmailAddress()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUpdatingExistingCustomerResetsAllDirtyFlags
public void testUpdatingExistingCustomerResetsAllDirtyFlags()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddOneTelephoneNumber
public void testAddOneTelephoneNumber()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddExistingTelephoneNumber
public void testAddExistingTelephoneNumber()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddTwoTelephoneNumbersNotChangingPrimaryDay
public void testAddTwoTelephoneNumbersNotChangingPrimaryDay()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactivePrimaryDayTelephone
public void testInactivePrimaryDayTelephone()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactivateAllTelephonesThrowsException
public void testInactivateAllTelephonesThrowsException()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactivePrimaryEveningTelephone
public void testInactivePrimaryEveningTelephone()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSameDayAndEveningTelephone
public void testSameDayAndEveningTelephone()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactiveEveTeleDefaultsToDay
public void testInactiveEveTeleDefaultsToDay()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactiveDayTeleDefaultsToEve
public void testInactiveDayTeleDefaultsToEve()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactiveNonPrimaryTelephone
public void testInactiveNonPrimaryTelephone()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddInvalidTelephone
public void testAddInvalidTelephone()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetAllAddresses
public void testGetAllAddresses()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetActiveAddresses
public void testGetActiveAddresses()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetActiveShipToAddresses
public void testGetActiveShipToAddresses()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactivePrimaryShipToSetsMasterAsPrimaryShipTo
public void testInactivePrimaryShipToSetsMasterAsPrimaryShipTo()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetActiveBillToAddresses
public void testGetActiveBillToAddresses()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetCustomerSalutation
public void testGetCustomerSalutation()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetCustomerSuffix
public void testGetCustomerSuffix()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetSpecificCustomerSuffix
public void testGetSpecificCustomerSuffix()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerSearchWithResults
public void testCustomerSearchWithResults()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerSearchWithNoResults
public void testCustomerSearchWithNoResults()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerSearch
public void testCustomerSearch()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSearchValidation
public void testSearchValidation()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSearchWildcardValidation
public void testSearchWildcardValidation()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreatePreferenceForNewBanner
public void testCreatePreferenceForNewBanner()
throws java.lang.Exception
- Throws:
java.lang.Exception
testStringSetterForDirtyFlag
public void testStringSetterForDirtyFlag()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerEqualityAndHashCodeContract
public void testCustomerEqualityAndHashCodeContract()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSalutationSetterForDirtyFlag
public void testSalutationSetterForDirtyFlag()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFirstAddressAddedMustBeToShippableCountry
public void testFirstAddressAddedMustBeToShippableCountry()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPrimaryShipToAddressSetterForDirtyFlag
public void testPrimaryShipToAddressSetterForDirtyFlag()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPrimaryEmailAddressSetterForDirtyFlag
public void testPrimaryEmailAddressSetterForDirtyFlag()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPrimaryDayTelephoneSetterForDirtyFlag
public void testPrimaryDayTelephoneSetterForDirtyFlag()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubmitCustomerWithNewCustomerForShipToAddress
public void testSubmitCustomerWithNewCustomerForShipToAddress()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubmitCustomerWithNewCustomerForShipToAddressClearsAfterSubmit
public void testSubmitCustomerWithNewCustomerForShipToAddressClearsAfterSubmit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerCreditCardsForBanner
public void testCustomerCreditCardsForBanner()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddCreditCardToCustomer
public void testAddCreditCardToCustomer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddSameCreditCardForSameBannerToCustomer
public void testAddSameCreditCardForSameBannerToCustomer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetCreditCardToInactive
public void testSetCreditCardToInactive()
throws java.lang.Exception
- Throws:
java.lang.Exception
testActivateInactiveCreditCard
public void testActivateInactiveCreditCard()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUpdateCreditCardWithNewCreditCardInformation
public void testUpdateCreditCardWithNewCreditCardInformation()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerNameChanged
public void testCustomerNameChanged()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFindMatchingCustomerByFirstNameLastNameZipCode
public void testFindMatchingCustomerByFirstNameLastNameZipCode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFindMatchingCustomerWithMultipleRules
public void testFindMatchingCustomerWithMultipleRules()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFindMatchingCustomerByEmail
public void testFindMatchingCustomerByEmail()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFindMatchingCustomerByFirstNameLastNameZipCodeWithMissingZipCode
public void testFindMatchingCustomerByFirstNameLastNameZipCodeWithMissingZipCode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMissingCustomerAttributes
public void testMissingCustomerAttributes()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMissingCustomerAddressAttributes
public void testMissingCustomerAddressAttributes()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddPrimaryBillToDefaultsPrimaryDayAndEveAndEmail
public void testAddPrimaryBillToDefaultsPrimaryDayAndEveAndEmail()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddPrimaryBillToWithoutEmailUsesPrimaryEmail
public void testAddPrimaryBillToWithoutEmailUsesPrimaryEmail()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddPhonesFromAddressOnlyAddsTwoPhones
public void testAddPhonesFromAddressOnlyAddsTwoPhones()
throws java.lang.Exception
- Throws:
java.lang.Exception
testChangePrimaryBillToPhoneAddsPhoneAndEmailToCustomer
public void testChangePrimaryBillToPhoneAddsPhoneAndEmailToCustomer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddNonPrimaryBillToAddressDoesntAddPhoneOrEmailToCustomer
public void testAddNonPrimaryBillToAddressDoesntAddPhoneOrEmailToCustomer()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetCustomerChangeReasonsForNameChangeOnly
public void testGetCustomerChangeReasonsForNameChangeOnly()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetCustomerChangeReasonsForAddressChangeOnly
public void testGetCustomerChangeReasonsForAddressChangeOnly()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetCustomerChangeReasonsForBothNameAndAddressChange
public void testGetCustomerChangeReasonsForBothNameAndAddressChange()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetCustomerChangeReasonsForNonChangeReasonAttributes
public void testGetCustomerChangeReasonsForNonChangeReasonAttributes()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetCustomerChangeReasonsWithNoCustAddressChanges
public void testGetCustomerChangeReasonsWithNoCustAddressChanges()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddPrimaryBillToDoesntChangeExistingPrimaries
public void testAddPrimaryBillToDoesntChangeExistingPrimaries()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetHouseholdAndSubAccountNumber
public void testGetHouseholdAndSubAccountNumber()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerSuffixSalutationClearing
public void testCustomerSuffixSalutationClearing()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCustomerSalutationAndSuffixRead
public void testCustomerSalutationAndSuffixRead()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFindAllCustomerInactiveReasons
public void testFindAllCustomerInactiveReasons()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetMultipleCustomerRecordsInactiveReason
public void testGetMultipleCustomerRecordsInactiveReason()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFindOnlyActiveCustomers
public void testFindOnlyActiveCustomers()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetCustomerChangeReasonsForCustomerAddressPhoneChange
public void testGetCustomerChangeReasonsForCustomerAddressPhoneChange()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetCustomerChangeReasonsForCustomerAddressEmailChange
public void testGetCustomerChangeReasonsForCustomerAddressEmailChange()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactivatingSameEmailAddressesAfterInactivatingTheExactSameEmailEarlier
public void testInactivatingSameEmailAddressesAfterInactivatingTheExactSameEmailEarlier()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactivatingPrimaryEmailAddressBeforeSubmit
public void testInactivatingPrimaryEmailAddressBeforeSubmit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInactivatingPrimaryEmailAddressAfterSubmit
public void testInactivatingPrimaryEmailAddressAfterSubmit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddSameEmailAddressesAfterInactivatingTheExactSameEmailEarlier
public void testAddSameEmailAddressesAfterInactivatingTheExactSameEmailEarlier()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2005 Retek Inc. All Rights Reserved.
- Generated at Fri, 01/21/2005 14:25