com.retek.component.customer
Class ActivityRequestTest

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

public class ActivityRequestTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
ActivityRequestTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testActivityRequestStatusUpdatedOverLifecycle()
           
 void testActivityRequestWithoutRequiredFields()
           
 void testClearSellingItemSpecialOrderActivityStatus()
           
 void testCloseActivityRequest()
           
 void testCreateActivityRequestCreatesCustomerHistory()
           
 void testCreateActivityRequestCreatesCustomerHistoryForCustomerOnly()
           
 void testCreateActivityRequestThatDoesNotWorkDoesNotCreateHistory()
           
 void testCreateActivityRequestWithOrderCreatesOrderHistoryAndCustomerHistory()
           
 void testCreateAndReadActivityStatusWithoutRequiredFields()
           
 void testCreateAndReadCareCardActivityRequest()
           
 void testCreateAndReadForwardAddressActivityRequest()
           
 void testCreateAndReadGeneralActivityStatus()
           
 void testCreateAndReadGeneralActivityWithPreferences()
           
 void testCreateAndReadItemInstructionsActivityStatus()
           
 void testCreateAndReadLabelActivityStatus()
           
 void testCreateAndReadPartialActivityStatus()
           
 void testCreateAndReadRefundGiftCertificateActivityRequest()
           
 void testCreateAndReadReturnActivityStatus()
           
 void testCreateAndReadSpecialOrderActivityStatus()
           
 void testCreateAndReadSpecialOrderActivityStatusWithSellingItem()
           
 void testCreateAndReadWismoActivityStatus()
           
 void testCreateAndUpdateActivityRequestSetsUsersAndDatesCorrectly()
           
 void testFindActivityRequestById()
           
 void testFindActivityRequests()
           
 void testFindActivityRequestsWithAllTypes()
           
 void testFindOpenActivityRequests()
           
 void testReadInvalidId()
           
 void testRefundGiftCertificateActivityRequest()
           
 void testRefundGiftCertificateActivityRequestWithoutRequiredFields()
           
 void testSubmitActivityRequestWithCustomerAndBanner()
           
 void testSubmitActivityRequestWithCustomerNoBannerThrowsException()
           
 
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

ActivityRequestTest

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

testCreateAndReadGeneralActivityStatus

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

testActivityRequestStatusUpdatedOverLifecycle

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

testCreateAndReadGeneralActivityWithPreferences

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

testCreateAndReadReturnActivityStatus

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

testCreateAndReadLabelActivityStatus

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

testCreateAndReadWismoActivityStatus

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

testCreateAndReadPartialActivityStatus

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

testCreateAndReadItemInstructionsActivityStatus

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

testCreateAndReadCareCardActivityRequest

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

testCreateAndReadRefundGiftCertificateActivityRequest

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

testCreateAndReadSpecialOrderActivityStatus

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

testCreateAndReadSpecialOrderActivityStatusWithSellingItem

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

testSubmitActivityRequestWithCustomerAndBanner

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

testSubmitActivityRequestWithCustomerNoBannerThrowsException

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

testClearSellingItemSpecialOrderActivityStatus

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

testCreateActivityRequestCreatesCustomerHistory

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

testCreateActivityRequestCreatesCustomerHistoryForCustomerOnly

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

testCreateActivityRequestWithOrderCreatesOrderHistoryAndCustomerHistory

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

testCreateActivityRequestThatDoesNotWorkDoesNotCreateHistory

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

testCreateAndReadActivityStatusWithoutRequiredFields

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

testFindActivityRequestById

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

testFindActivityRequests

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

testFindActivityRequestsWithAllTypes

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

testFindOpenActivityRequests

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

testCloseActivityRequest

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

testReadInvalidId

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

testRefundGiftCertificateActivityRequest

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

testActivityRequestWithoutRequiredFields

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

testRefundGiftCertificateActivityRequestWithoutRequiredFields

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

testCreateAndUpdateActivityRequestSetsUsersAndDatesCorrectly

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

testCreateAndReadForwardAddressActivityRequest

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


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