Package org.apache.ofbiz.product.test
Class InventoryItemTransferTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.ofbiz.entity.testtools.EntityTestCase
-
- org.apache.ofbiz.service.testtools.OFBizTestCase
-
- org.apache.ofbiz.product.test.InventoryItemTransferTest
-
- All Implemented Interfaces:
junit.framework.Test
public class InventoryItemTransferTest extends OFBizTestCase
-
-
Field Summary
Fields Modifier and Type Field Description protected java.math.BigDecimal
transferQty
protected GenericValue
userLogin
-
Fields inherited from class org.apache.ofbiz.service.testtools.OFBizTestCase
dispatcher
-
Fields inherited from class org.apache.ofbiz.entity.testtools.EntityTestCase
delegator
-
-
Constructor Summary
Constructors Constructor Description InventoryItemTransferTest(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getInventoryTransferId()
static void
setInventoryTransferId(java.lang.String inventoryTransferId)
protected void
setUp()
protected void
tearDown()
void
testCreateInventoryItemsTransfer()
-
Methods inherited from class org.apache.ofbiz.service.testtools.OFBizTestCase
getDispatcher, setDispatcher
-
Methods inherited from class org.apache.ofbiz.entity.testtools.EntityTestCase
getDelegator, setDelegator
-
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Field Detail
-
userLogin
protected GenericValue userLogin
-
transferQty
protected java.math.BigDecimal transferQty
-
-
Method Detail
-
setUp
protected void setUp() throws java.lang.Exception
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
java.lang.Exception
-
tearDown
protected void tearDown() throws java.lang.Exception
- Overrides:
tearDown
in classjunit.framework.TestCase
- Throws:
java.lang.Exception
-
testCreateInventoryItemsTransfer
public void testCreateInventoryItemsTransfer() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getInventoryTransferId
public static java.lang.String getInventoryTransferId()
-
setInventoryTransferId
public static void setInventoryTransferId(java.lang.String inventoryTransferId)
-
-