com.retek.component.directshiporder
Class DirectShipOrderTest

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

public class DirectShipOrderTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
DirectShipOrderTest(java.lang.String name)
           
 
Method Summary
 DirectShipOrder createDirectShipOrder(Supplier supplier)
           
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testCannotProcessTogetherOneDirectShipAndOneNonDirectShipOrderLine()
           
 void testCannotProcessTogetherOneDirectShipOrderLine()
           
 void testCannotProcessTogetherTwoDirectShipOrderLines()
           
 void testCanProcessTogetherTwoNonDirectShipWithOrderHavingDirectShipOrderLine()
           
 void testCreateAndReadDirectShipOrderWithMultipleLines()
           
 void testCreateAndReadDirectShipOrderWithOneLine()
           
 void testDuplicateDirectShipOrderLines()
           
 void testNoDirectShipOrderLines()
           
 void testNoItemCost()
           
 void testNoPOLineQuantity()
           
 void testNullSupplierId()
           
 
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

DirectShipOrderTest

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

createDirectShipOrder

public DirectShipOrder createDirectShipOrder(Supplier supplier)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testCannotProcessTogetherTwoDirectShipOrderLines

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

testCannotProcessTogetherOneDirectShipAndOneNonDirectShipOrderLine

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

testCanProcessTogetherTwoNonDirectShipWithOrderHavingDirectShipOrderLine

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

testCannotProcessTogetherOneDirectShipOrderLine

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

testCreateAndReadDirectShipOrderWithOneLine

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

testCreateAndReadDirectShipOrderWithMultipleLines

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

testNullSupplierId

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

testNoDirectShipOrderLines

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

testDuplicateDirectShipOrderLines

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

testNoItemCost

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

testNoPOLineQuantity

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


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