com.retek.component.customer
Class CustomerMergeTest

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

public class CustomerMergeTest
extends CustomerApiTestCase


Field Summary
 
Fields inherited from class com.retek.component.customer.CustomerApiTestCase
customerMgr, matchRuleMgr, user
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerMergeTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 void testActiveCustomerNoCustomersToMergeThrowsException()
           
 void testActiveCustomerWithAllInActiveCustomersToMergeThrowsException()
           
 void testActiveCustomerWithAllInValidCustomersToMergeThrowsException()
           
 void testActiveCustomerWithAtLeastOneValidCustomerToMerge()
           
 void testActiveCustomerWithInvalidCustomerToMergeThrowsException()
           
 void testCustomerMergeActivityRequests()
           
 void testCustomerMergeAddresses()
           
 void testCustomerMergeCustomerHistory()
           
 void testCustomerMergeCustomerNumbers()
           
 void testCustomerMergeEmailAddresses()
           
 void testCustomerMergeHouseholdNumbers()
           
 void testCustomerMergeInActivatesMergeCustomers()
           
 void testCustomerMergeOrders()
           
 void testCustomerMergePhoneNumbers()
           
 void testCustomerMergeSameHouseholdNumberAsPrimary()
           
 void testCustomerMergeWithOneActiveAndOneInActive()
           
 void testCustomerMergeWithOrderWhichHasProcessTogetherOnLine()
           
 void testFindExistingActiveCustomer()
           
 void testInvalidActiveCustomerWithCustomersToMergeThrowsException()
           
 void testNoActiveCustomerWithCustomersToMergeThrowsException()
           
 void testNoActiveCustomerWithNoCustomersToMergeThrowsException()
           
 void testValidCustomerMerge()
           
 
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
 

Constructor Detail

CustomerMergeTest

public CustomerMergeTest(java.lang.String name)
Method Detail

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

testFindExistingActiveCustomer

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

testValidCustomerMerge

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

testActiveCustomerNoCustomersToMergeThrowsException

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

testNoActiveCustomerWithCustomersToMergeThrowsException

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

testNoActiveCustomerWithNoCustomersToMergeThrowsException

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

testInvalidActiveCustomerWithCustomersToMergeThrowsException

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

testActiveCustomerWithInvalidCustomerToMergeThrowsException

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

testActiveCustomerWithAtLeastOneValidCustomerToMerge

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

testActiveCustomerWithAllInValidCustomersToMergeThrowsException

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

testCustomerMergeWithOneActiveAndOneInActive

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

testCustomerMergeWithOrderWhichHasProcessTogetherOnLine

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

testActiveCustomerWithAllInActiveCustomersToMergeThrowsException

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

testCustomerMergeInActivatesMergeCustomers

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

testCustomerMergeHouseholdNumbers

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

testCustomerMergeSameHouseholdNumberAsPrimary

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

testCustomerMergeCustomerNumbers

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

testCustomerMergeCustomerHistory

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

testCustomerMergeAddresses

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

testCustomerMergeOrders

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

testCustomerMergeEmailAddresses

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

testCustomerMergePhoneNumbers

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

testCustomerMergeActivityRequests

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


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25