Class FutureCreditOfferTest
java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
org.broadleafcommerce.test.TestNGSiteIntegrationSetup
org.broadleafcommerce.test.CommonSetupBaseTest
org.broadleafcommerce.core.offer.service.FutureCreditOfferTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.testng.IHookable,org.testng.ITestNGListener
- Author:
- Chad Harchar (charchar)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.broadleafcommerce.core.offer.service.OfferDataItemProviderFields 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 TypeMethodDescriptionvoidcreateSku1(org.broadleafcommerce.core.catalog.domain.Sku sku) voidcreateSku2(org.broadleafcommerce.core.catalog.domain.Sku sku) voidvoidvoidvoidMethods 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
-
Field Details
-
dataProvider
protected final org.broadleafcommerce.core.offer.service.OfferDataItemProvider dataProvider
-
-
Constructor Details
-
FutureCreditOfferTest
public FutureCreditOfferTest()
-
-
Method Details
-
createSku1
@Rollback(false) public void createSku1(org.broadleafcommerce.core.catalog.domain.Sku sku) -
createSku2
@Rollback(false) public void createSku2(org.broadleafcommerce.core.catalog.domain.Sku sku) -
testTwoFutureCreditPercentOffOffers
- Throws:
Exception
-
testFutureCreditAndOrderDiscountPercentOffOffers
- Throws:
Exception
-
testFutureCreditAndOrderDiscountOrderAndOrderItemOffers
@Transactional public void testFutureCreditAndOrderDiscountOrderAndOrderItemOffers() throws Exception- Throws:
Exception
-
testFutureCreditAllOfferTypes
- Throws:
Exception
-