com.retek.component.internet.test
Class ExATestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.retek.commons.util.RetekTestCase
com.retek.component.internet.test.ExATestCase
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- ExACatalogTest, ExACustomerTest, ExAExceptionTest, ExAFindOrderTest, ExAHistoryEventTest, ExAItemTest, ExAManagerFactoryTest, ExAOrderLineTest, ExAOrderSummaryTest, ExAOrderTest, ExAPackComponentTest, ExAPaymentTest, ExAPendedOrderTest, ExARequestManagerTest, MediaXmlConverterTest
- public abstract class ExATestCase
- extends RetekTestCase
Method Summary |
protected void |
addPayment(ExAOrder exaOrderSummary)
|
protected void |
addPayment(ExAOrder exaOrderSummary,
java.math.BigDecimal amount)
|
protected ExAOrder |
addPaymentsAndUpdate(ExAOrder exaOrderSummary)
|
protected void |
addPaymentToCoverOrder(ExAOrder exaOrder)
|
protected void |
assertAddressesEquals(CustomerAddress custAddress,
ExAAddress exaAddress)
|
protected void |
assertCustomerEquals(Customer customer,
ExACustomer exaCustomer)
|
protected void |
assertCustomerEquals(ExACustomer exaCustomer1,
ExACustomer exaCustomer2)
|
protected void |
assertCustomersAcquisitionMethod(java.lang.String expectedAcquisitionCode,
java.lang.String customerNumber)
|
protected void |
assertEarlier(RDate earlierDate,
java.util.Date laterDate)
|
protected void |
assertExAAddressEquals(ExAAddress exaAddress1,
ExAAddress exaAddress2)
|
protected void |
assertNotNullOrEmpty(java.lang.String string)
|
protected void |
assertNullOrEmpty(java.lang.String string)
|
protected void |
assertOrderConstituentPartsCorrectAfterOrderCancelled(ExAOrder exaOrder,
boolean orderOrignallyInOpenState)
|
protected void |
assertOrderEquals(CustomerOrder order,
ExAOrder exaOrder)
|
protected void |
assertOrderLinesEqual(CustomerOrderLine orderLine,
ExAOrderLine exaOrderLine)
|
protected void |
assertOrderLinesEquals(java.util.List customerOrderLines,
java.util.Set exaOrderLineSet)
|
protected void |
assertPaymentCancelled(java.lang.String paymentId,
ExAOrder order)
|
protected void |
assertPaymentsEquals(java.util.Set customerOrderPayments,
java.util.Set exaPaymentSet)
|
protected void |
assertSellingSkusEqual(SellingSku sellingSku,
ExASellingSku exaSellingSku)
|
protected void |
assertShipToLabelSetEquals(java.util.Set shipTos,
java.util.Set exaShipToLabelSet)
|
protected void |
assertTelephoneNumberEquals(TelephoneNumber telephoneNumber,
ExATelephoneNumber exaTelephoneNumber)
|
protected CustomerOrderLineStateModel |
getCustomerOrderLineStateModel()
|
protected CustomerOrderPaymentStateModel |
getCustomerOrderPaymentStateModel()
|
protected CustomerOrderStateModel |
getCustomerOrderStateModel()
|
protected ExAUser |
getExAUser(DistributedContext context)
|
protected ReturnLineStateModel |
getReturnLineStateModel()
|
protected User |
getUser(DistributedContext context)
|
protected void |
verifyAcquisitionMethod(java.lang.String customerNumber,
AcquisitionMethod acquisitionMethod)
|
protected void |
verifyGiftRegistry(java.lang.String orderNumber,
java.lang.String giftRegistryNumber,
java.lang.String giftRegistryType,
java.lang.String customerAcquisitionMethodCode)
|
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, doInitialSetUp, doSetUp, doTearDown, 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 |
requestMgr
protected ExARequestManager requestMgr
mgr
protected ExAManager mgr
ExATestCase
public ExATestCase(java.lang.String name)
assertOrderEquals
protected void assertOrderEquals(CustomerOrder order,
ExAOrder exaOrder)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertShipToLabelSetEquals
protected void assertShipToLabelSetEquals(java.util.Set shipTos,
java.util.Set exaShipToLabelSet)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertOrderLinesEquals
protected void assertOrderLinesEquals(java.util.List customerOrderLines,
java.util.Set exaOrderLineSet)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertOrderLinesEqual
protected void assertOrderLinesEqual(CustomerOrderLine orderLine,
ExAOrderLine exaOrderLine)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertPaymentsEquals
protected void assertPaymentsEquals(java.util.Set customerOrderPayments,
java.util.Set exaPaymentSet)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertSellingSkusEqual
protected void assertSellingSkusEqual(SellingSku sellingSku,
ExASellingSku exaSellingSku)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertCustomerEquals
protected void assertCustomerEquals(Customer customer,
ExACustomer exaCustomer)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertCustomerEquals
protected void assertCustomerEquals(ExACustomer exaCustomer1,
ExACustomer exaCustomer2)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertAddressesEquals
protected void assertAddressesEquals(CustomerAddress custAddress,
ExAAddress exaAddress)
throws SystemException
- Throws:
SystemException
assertTelephoneNumberEquals
protected void assertTelephoneNumberEquals(TelephoneNumber telephoneNumber,
ExATelephoneNumber exaTelephoneNumber)
assertExAAddressEquals
protected void assertExAAddressEquals(ExAAddress exaAddress1,
ExAAddress exaAddress2)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertEarlier
protected void assertEarlier(RDate earlierDate,
java.util.Date laterDate)
assertNullOrEmpty
protected void assertNullOrEmpty(java.lang.String string)
assertNotNullOrEmpty
protected void assertNotNullOrEmpty(java.lang.String string)
getUser
protected User getUser(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExAUser
protected ExAUser getExAUser(DistributedContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
verifyAcquisitionMethod
protected void verifyAcquisitionMethod(java.lang.String customerNumber,
AcquisitionMethod acquisitionMethod)
throws InvalidSearchCriteriaException,
SystemException
- Throws:
InvalidSearchCriteriaException
SystemException
addPaymentToCoverOrder
protected void addPaymentToCoverOrder(ExAOrder exaOrder)
assertOrderConstituentPartsCorrectAfterOrderCancelled
protected void assertOrderConstituentPartsCorrectAfterOrderCancelled(ExAOrder exaOrder,
boolean orderOrignallyInOpenState)
assertPaymentCancelled
protected void assertPaymentCancelled(java.lang.String paymentId,
ExAOrder order)
verifyGiftRegistry
protected void verifyGiftRegistry(java.lang.String orderNumber,
java.lang.String giftRegistryNumber,
java.lang.String giftRegistryType,
java.lang.String customerAcquisitionMethodCode)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertCustomersAcquisitionMethod
protected void assertCustomersAcquisitionMethod(java.lang.String expectedAcquisitionCode,
java.lang.String customerNumber)
throws InvalidSearchCriteriaException,
SystemException
- Throws:
InvalidSearchCriteriaException
SystemException
addPaymentsAndUpdate
protected ExAOrder addPaymentsAndUpdate(ExAOrder exaOrderSummary)
throws ExAException
- Throws:
ExAException
addPayment
protected void addPayment(ExAOrder exaOrderSummary)
throws ExAException
- Throws:
ExAException
addPayment
protected void addPayment(ExAOrder exaOrderSummary,
java.math.BigDecimal amount)
throws ExAException
- Throws:
ExAException
getCustomerOrderStateModel
protected final CustomerOrderStateModel getCustomerOrderStateModel()
getCustomerOrderLineStateModel
protected final CustomerOrderLineStateModel getCustomerOrderLineStateModel()
getCustomerOrderPaymentStateModel
protected final CustomerOrderPaymentStateModel getCustomerOrderPaymentStateModel()
getReturnLineStateModel
protected final ReturnLineStateModel getReturnLineStateModel()
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28