Package org.apache.ofbiz.order.test
Class PurchaseOrderTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.ofbiz.entity.testtools.EntityTestCase
-
- org.apache.ofbiz.service.testtools.OFBizTestCase
-
- org.apache.ofbiz.order.test.PurchaseOrderTest
-
- All Implemented Interfaces:
junit.framework.Test
public class PurchaseOrderTest extends OFBizTestCase
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
protected java.lang.String
orderId
protected java.lang.String
statusId
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 PurchaseOrderTest(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setUp()
protected void
tearDown()
void
testCreatePurchaseOrder()
-
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
-
module
public static final java.lang.String module
-
userLogin
protected GenericValue userLogin
-
orderId
protected java.lang.String orderId
-
statusId
protected java.lang.String statusId
-
-
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
-
testCreatePurchaseOrder
public void testCreatePurchaseOrder() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-