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

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.OracleInventoryDaoTest
All Implemented Interfaces:
junit.framework.Test

public class OracleInventoryDaoTest
extends OracleTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
OracleInventoryDaoTest(java.lang.String name)
           
 
Method Summary
 void doSetUp()
           
 void doTearDown()
           
 java.lang.String getConnectionKey()
           
 java.sql.Connection getRmsConnection()
           
 void testCreateInventoryQtyType()
           
 void testFindAllPurchaseOrders()
           
 void testFindItemSupplierInventory()
           
 void testFindNoPurchaseOrderds()
           
 void testFindPOsWithMultipleItemsDoesNotReturnDuplicatePos()
           
 void testFindPrimarySupplierInventoryWithEndOfTimeEndDate()
           
 void testFindPurchaseOrdersByAllCriteria()
           
 void testFindPurchaseOrdersBySkuId()
           
 void testFindPurchaseOrdersByStatus()
           
 void testFindPurchaseOrdersByWarehouse()
           
 void testFindPurchaseOrdersForRms102()
           
 void testFindPurchaseOrdersForRms11()
           
 void testFindSupplierInventoryBySysdate()
           
 void testfindWarehouseSkuAvailabilityRecords()
           
 void testfindWarehouseSkuAvailabilityRecordsForRms102()
           
 void testfindWarehouseSkuAvailabilityRecordsForRms11()
           
 void testfindWarehouseSkuAvailabilityRecordsNoDataExists()
           
 void testReadInvalidInventoryQtyType()
           
 void testReadInventoryQtyType()
           
 void testReadWithNoRmsData()
           
 void testReserveOnReadInventoryForVirtualStoreWithinRCOM()
           
 void testRMSInventoryConnection()
           
 void testSupplierInventoryWithInvalidItem()
           
 void testUpdateInventoryQtyType()
           
 void testUpdateWrongInventoryQtyType()
           
 void testVirtualWarehouseReservedQty()
           
 
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

OracleInventoryDaoTest

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

getRmsConnection

public java.sql.Connection getRmsConnection()
                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

testCreateInventoryQtyType

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

testReadInventoryQtyType

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

testUpdateInventoryQtyType

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

testReadInvalidInventoryQtyType

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

testUpdateWrongInventoryQtyType

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

testVirtualWarehouseReservedQty

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

testReadWithNoRmsData

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

testFindItemSupplierInventory

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

testFindPrimarySupplierInventoryWithEndOfTimeEndDate

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

testSupplierInventoryWithInvalidItem

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

testfindWarehouseSkuAvailabilityRecordsNoDataExists

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

testfindWarehouseSkuAvailabilityRecords

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

testReserveOnReadInventoryForVirtualStoreWithinRCOM

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

testRMSInventoryConnection

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

testFindSupplierInventoryBySysdate

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

testFindNoPurchaseOrderds

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

testFindAllPurchaseOrders

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

testFindPOsWithMultipleItemsDoesNotReturnDuplicatePos

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

testFindPurchaseOrdersBySkuId

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

testFindPurchaseOrdersByWarehouse

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

testFindPurchaseOrdersForRms11

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

testfindWarehouseSkuAvailabilityRecordsForRms102

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

testfindWarehouseSkuAvailabilityRecordsForRms11

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

testFindPurchaseOrdersForRms102

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

testFindPurchaseOrdersByStatus

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

testFindPurchaseOrdersByAllCriteria

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


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