Class CCServicesTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.ofbiz.entity.testtools.EntityTestCase
-
- org.apache.ofbiz.service.testtools.OFBizTestCase
-
- org.apache.ofbiz.accounting.thirdparty.clearcommerce.CCServicesTest
-
- All Implemented Interfaces:
junit.framework.Test
public class CCServicesTest extends OFBizTestCase
-
-
Field Summary
Fields Modifier and Type Field Description protected GenericValue
billingAddress
protected java.lang.String
configFile
protected java.math.BigDecimal
creditAmount
protected GenericValue
creditCard
protected GenericValue
emailAddr
static java.lang.String
module
protected java.lang.String
orderId
protected java.util.Map<java.lang.String,java.lang.Object>
pbOrder
protected GenericValue
shippingAddress
-
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 CCServicesTest(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setUp()
void
testAuth()
void
testCancelSubscription()
void
testCCReport()
void
testCredit()
void
testFreeSubscription()
void
testPurchaseSubscription()
-
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, tearDown, toString
-
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
emailAddr
protected GenericValue emailAddr
-
orderId
protected java.lang.String orderId
-
creditCard
protected GenericValue creditCard
-
billingAddress
protected GenericValue billingAddress
-
shippingAddress
protected GenericValue shippingAddress
-
pbOrder
protected java.util.Map<java.lang.String,java.lang.Object> pbOrder
-
creditAmount
protected java.math.BigDecimal creditAmount
-
configFile
protected java.lang.String configFile
-
-
Method Detail
-
setUp
protected void setUp() throws java.lang.Exception
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
java.lang.Exception
-
testAuth
public void testAuth() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCredit
public void testCredit() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPurchaseSubscription
public void testPurchaseSubscription() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testFreeSubscription
public void testFreeSubscription() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCancelSubscription
public void testCancelSubscription() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCCReport
public void testCCReport() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-