com.retek.component.inventory
Class PackReservationTest

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

public class PackReservationTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
PackReservationTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
 void testEverythingBOedAtPackBecuaseNoSkuAtInventoryAndNoPackAtInventory()
           
 void testEverythingNLA()
           
 void testEverythingNLAForNoSkus()
           
 void testEverythingPackRsvdNoSkus()
           
 void testEverythingRsvdAsBothPackAndComponenstsWithSkusAtInventory()
           
 void testEverythingRsvdAtPackLevelForDirectShipSupplier()
           
 void testFewRsvdAsPackAndFewBoedAsPackAndRestNLABecauseOneSkuHasFewFAndNLA()
           
 void testFewRsvdAsPackAndFewBOedAsPackAndRestReservedAndBoedAtSkusAtInventory()
           
 void testFewRsvdAsPackAndFewBOedAtPackAndRestNLA()
           
 void testFewRsvdAsPackAndFewRsvdAtSkuAndRestBOedAtPack()
           
 void testFewRsvdAsPackAndFewRsvdAtSkuAndRestBOedAtPackFromFA()
           
 void testFewRsvdAsPackAndFewRsvdAtSkuBecuaseOneSkuDoesntHaveStockSoRestBOedAtPack()
           
 void testFewRsvdAsPackAndRestReservedAndBoedAtSkusAtInventory()
           
 void testFewRsvdAsPackRestNLABecauseNoFA()
           
 void testFewRsvdAsSkuAndRestBOedAtPack()
           
 void testGetAllItemAndPackSuppliers()
           
 void testNoneRsvdAtPackLevelAndAllReservedAtSkuLevelForDirectShipSupplierOnlyValidForItem()
           
 void testNoneRsvdAtPackLevelAndAllReservedAtSkuLevelForDirectShipSupplierValidAtPackAndItem()
           
 void testPartialRsvdAtPackLevelAndPartialAtSkuLevelForDirectShipSupplier()
           
 void testReserveDirectShipableWithFALessThanReqAndZeroAvailForRsvationAndPrimarySupplierDirectShip()
           
 void testReserveDirectShipableWithFALessThanReqAndZeroAvailForRsvationAndPrimarySupplierNonDirectShip()
           
 void testReserveOfPackMarkedNonInventoriableWithNoInventoryGetsReserved()
           
 void testReserveWithFractionalQuantity()
           
 void testReserveWithInvalidPack()
           
 void testReserveWithNegativeQuantity()
           
 void testReserveWithoutLocation()
           
 void testReserveWithoutQuantity()
           
 void testSomeRsvdAtWarehouseLevelWithSomeAvailableAtSupplierLevel()
           
 void testSupplierhasEnoughSkusATFAButEverythingNLABecuasePackIsDSandPackFAIsNotEnough()
           
 void testSupplierhasFewPackButEverythingNLA()
           
 
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

PackReservationTest

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

testGetAllItemAndPackSuppliers

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

testEverythingPackRsvdNoSkus

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

testEverythingRsvdAtPackLevelForDirectShipSupplier

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

testSomeRsvdAtWarehouseLevelWithSomeAvailableAtSupplierLevel

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

testNoneRsvdAtPackLevelAndAllReservedAtSkuLevelForDirectShipSupplierOnlyValidForItem

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

testNoneRsvdAtPackLevelAndAllReservedAtSkuLevelForDirectShipSupplierValidAtPackAndItem

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

testPartialRsvdAtPackLevelAndPartialAtSkuLevelForDirectShipSupplier

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

testEverythingRsvdAsBothPackAndComponenstsWithSkusAtInventory

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

testFewRsvdAsPackAndFewRsvdAtSkuAndRestBOedAtPack

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

testFewRsvdAsPackAndFewRsvdAtSkuBecuaseOneSkuDoesntHaveStockSoRestBOedAtPack

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

testFewRsvdAsPackAndFewRsvdAtSkuAndRestBOedAtPackFromFA

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

testEverythingBOedAtPackBecuaseNoSkuAtInventoryAndNoPackAtInventory

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

testFewRsvdAsPackAndFewBOedAtPackAndRestNLA

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

testEverythingNLA

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

testSupplierhasFewPackButEverythingNLA

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

testSupplierhasEnoughSkusATFAButEverythingNLABecuasePackIsDSandPackFAIsNotEnough

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

testFewRsvdAsSkuAndRestBOedAtPack

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

testEverythingNLAForNoSkus

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

testFewRsvdAsPackRestNLABecauseNoFA

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

testFewRsvdAsPackAndFewBOedAsPackAndRestReservedAndBoedAtSkusAtInventory

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

testFewRsvdAsPackAndRestReservedAndBoedAtSkusAtInventory

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

testFewRsvdAsPackAndFewBoedAsPackAndRestNLABecauseOneSkuHasFewFAndNLA

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

testReserveDirectShipableWithFALessThanReqAndZeroAvailForRsvationAndPrimarySupplierNonDirectShip

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

testReserveDirectShipableWithFALessThanReqAndZeroAvailForRsvationAndPrimarySupplierDirectShip

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

testReserveWithoutQuantity

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

testReserveWithNegativeQuantity

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

testReserveWithFractionalQuantity

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

testReserveWithoutLocation

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

testReserveWithInvalidPack

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

testReserveOfPackMarkedNonInventoriableWithNoInventoryGetsReserved

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


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