com.retek.component.inventory.impl.persistence.db.oracle
Class OracleReservationDaoTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.commons.domain.core.persistence.db.oracle.OracleTestCase
                  extended bycom.retek.component.inventory.impl.persistence.db.oracle.OracleReservationDaoTest
All Implemented Interfaces:
junit.framework.Test

public class OracleReservationDaoTest
extends OracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OracleReservationDaoTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 java.lang.String getConnectionKey()
           
 void testCreateAndReadReservation()
           
 void testCreateUpdateAndReadReservation()
           
 void testGetTotalBackorderedQuantity()
           
 void testReleaseReservationQuantity()
           
 void testReleaseReservationQuantityForMultipleItemLocations()
           
 void testSupplierRelease()
           
 void testSupplierReserve()
           
 void testWarehouseCancelToRmsForPackUpdatesCompCustReserveQty()
           
 void testWarehouseCancelUpdateToRms()
           
 void testWarehouseCancelWithInvaidRow()
           
 void testWarehouseReleaseToRmsForPackUpdatesCompCustReserveQty()
           
 void testWarehouseReleaseUpdateToRms()
           
 void testWarehouseReserveToRmsForPackUpdatesCompCustReserveQty()
           
 void testWarehouseReserveUpdateToRms()
           
 void testWarehouseReserveUpdateWithInvalidItem()
           
 void testWarehouseReserveUpdateWithInvalidVirtualWarehouse()
           
 
Methods inherited from class com.retek.commons.domain.core.persistence.db.oracle.OracleTestCase
doInitialSetUp, getConnection, getRetekPreparedStatement, getTestDbRDate, isOracleTestCase, setUp, tearDown, touch, touch
 
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, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate
 
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

OracleReservationDaoTest

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

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

getConnectionKey

public java.lang.String getConnectionKey()
Specified by:
getConnectionKey in class OracleTestCase

testCreateAndReadReservation

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

testCreateUpdateAndReadReservation

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

testReleaseReservationQuantity

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

testWarehouseReserveUpdateToRms

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

testSupplierReserve

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

testSupplierRelease

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

testWarehouseReserveUpdateWithInvalidVirtualWarehouse

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

testWarehouseReserveUpdateWithInvalidItem

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

testWarehouseReleaseUpdateToRms

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

testWarehouseCancelUpdateToRms

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

testWarehouseCancelWithInvaidRow

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

testReleaseReservationQuantityForMultipleItemLocations

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

testGetTotalBackorderedQuantity

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

testWarehouseReserveToRmsForPackUpdatesCompCustReserveQty

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

testWarehouseReleaseToRmsForPackUpdatesCompCustReserveQty

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

testWarehouseCancelToRmsForPackUpdatesCompCustReserveQty

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


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