com.retek.component.customer
Class CustomerHistoryLoggingTest

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

public class CustomerHistoryLoggingTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
CustomerHistoryLoggingTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testAddNewAddressNoHistoryEvent()
           
 void testAddNewTelephoneNumberAndEmailCreatesNoHistoryEvent()
           
 void testCreateCustomerPrefrenceCreatesNoHistoryEvent()
           
 void testInvalidSubmitDoesNotCreateHistoryEvent()
           
 void testModifyAddressAndPhoneCreatesOneHistoryEvent()
           
 void testModifyAddressCreateHistoryEvent()
           
 void testModifyCustomerPrefrenceCreatesHistoryEvent()
           
 void testModifyEmailCreateHistoryEvent()
           
 void testModifyFirstMiddleAndLastNameCreatesOneHistoryEvent()
           
 void testModifyFirstNameCreateHistoryEvent()
           
 void testModifyMultipleAddressCreatesSingleHistoryEvent()
           
 void testModifyPrimaryTelephoneNumberCreateHistoryEvent()
           
 void testNullAndEmptyMiddleInitialAreTheSame()
           
 void testSubmitNewCustomerCreatesHistoryEvent()
           
 void testSubmitNewCustomerfromNewOrderSubmitCreatesHistoryEvent()
           
 
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

CustomerHistoryLoggingTest

public CustomerHistoryLoggingTest(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

testInvalidSubmitDoesNotCreateHistoryEvent

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

testSubmitNewCustomerCreatesHistoryEvent

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

testSubmitNewCustomerfromNewOrderSubmitCreatesHistoryEvent

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

testModifyAddressCreateHistoryEvent

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

testModifyAddressAndPhoneCreatesOneHistoryEvent

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

testModifyMultipleAddressCreatesSingleHistoryEvent

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

testModifyPrimaryTelephoneNumberCreateHistoryEvent

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

testModifyFirstNameCreateHistoryEvent

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

testModifyFirstMiddleAndLastNameCreatesOneHistoryEvent

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

testModifyEmailCreateHistoryEvent

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

testAddNewTelephoneNumberAndEmailCreatesNoHistoryEvent

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

testNullAndEmptyMiddleInitialAreTheSame

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

testAddNewAddressNoHistoryEvent

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

testModifyCustomerPrefrenceCreatesHistoryEvent

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

testCreateCustomerPrefrenceCreatesNoHistoryEvent

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


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