com.retek.component.customerorder
Class HoldEventTest

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

public class HoldEventTest
extends CustomerOrderApiTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
HoldEventTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testGetBannerHoldEventsForDirectShipOrderLine()
           
 void testGetBannerHoldEventsForNonDirectShipOrderLine()
           
 void testGetBannerHoldEventsForOrderLineDoesNotReturnBannerEventWithEndDateDateBeforeToday()
           
 void testGetBannerHoldEventsForOrderLineDoesNotReturnBannerEventWithOrderByDateBeforeToday()
           
 void testGetBannerHoldEventsForOrderLineDoesNotReturnInactiveBannerEvent()
           
 void testGetHoldEventsForDirectAndNonDirectLinesThrowsException()
           
 void testGetHoldEventsForEmptySet()
           
 void testGetItemSupplierEvents()
           
 void testGetItemSupplierHoldEventsForOrderLineDoesNotReturnInactiveItemSupplierEvent()
           
 void testGetItemSupplierHoldEventsForOrderLineDoesNotReturnItemSupplierEventWithEndDateDateBeforeToday()
           
 void testGetItemSupplierHoldEventsForOrderLineDoesNotReturnItemSupplierEventWithOrderByDateBeforeToday()
           
 void testGetSupplierEvents()
           
 void testGetSupplierHoldEventsForOrderLineDoesNotReturnInactiveSupplierEvent()
           
 void testGetSupplierHoldEventsForOrderLineDoesNotReturnSupplierEventWithEndDateDateBeforeToday()
           
 void testGetSupplierHoldEventsForOrderLineDoesNotReturnSupplierEventWithOrderByDateBeforeToday()
           
 void testHoldEventPrecedenceForDirectShipOrderLine()
           
 
Methods inherited from class com.retek.component.customerorder.CustomerOrderApiTestCase
createCustomerOrderWithOneLineWithFullPayment, createCustomerOrderWithOneLineWithOutPayment, createDirectShipOrder, createOrderLines, createOrderLines, getAndSubmitSupplier, getCustomerOrderLineStateModel, getCustomerOrderPaymentStateModel, getCustomerOrderStateModel, getReturnLineStateModel
 
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

HoldEventTest

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

doInitialSetUp

public void doInitialSetUp()
                    throws java.lang.Exception
Specified by:
doInitialSetUp in class CustomerOrderApiTestCase
Throws:
java.lang.Exception

doSetUp

public void doSetUp()
             throws java.lang.Exception
Specified by:
doSetUp in class CustomerOrderApiTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Specified by:
doTearDown in class CustomerOrderApiTestCase
Throws:
java.lang.Exception

testGetItemSupplierEvents

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

testGetSupplierEvents

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

testGetHoldEventsForDirectAndNonDirectLinesThrowsException

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

testGetBannerHoldEventsForOrderLineDoesNotReturnInactiveBannerEvent

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

testGetSupplierHoldEventsForOrderLineDoesNotReturnInactiveSupplierEvent

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

testGetItemSupplierHoldEventsForOrderLineDoesNotReturnInactiveItemSupplierEvent

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

testGetBannerHoldEventsForOrderLineDoesNotReturnBannerEventWithOrderByDateBeforeToday

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

testGetSupplierHoldEventsForOrderLineDoesNotReturnSupplierEventWithOrderByDateBeforeToday

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

testGetItemSupplierHoldEventsForOrderLineDoesNotReturnItemSupplierEventWithOrderByDateBeforeToday

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

testGetBannerHoldEventsForOrderLineDoesNotReturnBannerEventWithEndDateDateBeforeToday

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

testGetSupplierHoldEventsForOrderLineDoesNotReturnSupplierEventWithEndDateDateBeforeToday

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

testGetItemSupplierHoldEventsForOrderLineDoesNotReturnItemSupplierEventWithEndDateDateBeforeToday

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

testGetHoldEventsForEmptySet

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

testGetBannerHoldEventsForDirectShipOrderLine

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

testGetBannerHoldEventsForNonDirectShipOrderLine

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

testHoldEventPrecedenceForDirectShipOrderLine

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


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