Class OrderBaseTest
java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
org.broadleafcommerce.test.TestNGSiteIntegrationSetup
org.broadleafcommerce.test.CommonSetupBaseTest
org.broadleafcommerce.core.order.service.OrderBaseTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.testng.IHookable,org.testng.ITestNGListener
-
Field Summary
Fields inherited from class org.broadleafcommerce.test.CommonSetupBaseTest
catalogService, countryService, customerAddressService, customerService, isoService, orderServiceFields inherited from class org.broadleafcommerce.test.TestNGSiteIntegrationSetup
LOGFields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.broadleafcommerce.profile.core.domain.CustomerMethods inherited from class org.broadleafcommerce.test.CommonSetupBaseTest
addTestProduct, addTestProduct, createCountry, createCustomer, createCustomerWithAddress, createCustomerWithAddresses, createCustomerWithBasicOrderAndAddresses, saveCustomerAddressMethods inherited from class org.broadleafcommerce.test.TestNGSiteIntegrationSetup
logStart, logWhenDone, reSetApplicationContextMethods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance
-
Constructor Details
-
OrderBaseTest
public OrderBaseTest()
-
-
Method Details
-
createNamedCustomer
protected org.broadleafcommerce.profile.core.domain.Customer createNamedCustomer() -
setUpNamedOrder
public Order setUpNamedOrder() throws org.broadleafcommerce.core.order.service.exception.AddToCartException- Throws:
org.broadleafcommerce.core.order.service.exception.AddToCartException
-
setUpCartWithActiveSku
public Order setUpCartWithActiveSku() throws org.broadleafcommerce.core.order.service.exception.AddToCartException- Throws:
org.broadleafcommerce.core.order.service.exception.AddToCartException
-
setUpCartWithInactiveSku
public Order setUpCartWithInactiveSku() throws org.broadleafcommerce.core.order.service.exception.AddToCartException- Throws:
org.broadleafcommerce.core.order.service.exception.AddToCartException
-