@IntegrationTest public class DefaultBundleCommerceCartServiceIntegrationTest extends DefaultSubscriptionCommerceCartServiceIntegrationTest
DefaultBundleCommerceCartService. This test class inherits from
DefaultSubscriptionCommerceCartService in order to run the super class' test cases against the new
DefaultBundleCommerceCartService to guarantee compatibilityimportServicejaloSession| Constructor and Description |
|---|
DefaultBundleCommerceCartServiceIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testAddToCart2BundleProducts() |
void |
testAddToCart2BundleProductsNoStock() |
void |
testAddToCart2ProductsAutoPick() |
void |
testAddToCartAutoPick() |
void |
testAddToCartBundle() |
void |
testAddToCartPlanFirst() |
void |
testAddToCartRemoveEntriesTrue() |
void |
testAddToCartWithSelectionDependency() |
void |
testCascadingDeleteForOneLevelOfChildren() |
void |
testGetFirstInvalidComponentInCart() |
void |
testRemoveAllEntriesBundle() |
void |
testUpdateQuantityForCartEntryBundle() |
getChildCartForBillingTime, testAddToMultiCart, testRemoveAllEntriesMultiCart, testUpdateQuantityForCartEntrySubscription, testUpdateQuantityForMultiCartEntryshouldCreatePromotionActionForPromotionResult, shouldReportOnAddingToNonExistingEntry, testAddToCart, testAddToCartForceNewEntry, testAddToCartInsufficientStock, testAddToCartToTheSameEntry, testAddToCartUnavailable, testAddToCartWhenNoCartPassed, testCalculateCart, testCalculateCartEntriesAfterAddingToCart, testGetCartForGuidAndSiteAndUserWithNullGuid, testPreviewTime, testRecalculateCart, testRemoveAllEntries, testUpdateCartMetadata, testUpdateQuantityForCartEntry, testUpdateQuantityForCartEntryToZero, testValidateCartcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic DefaultBundleCommerceCartServiceIntegrationTest()
public void setUp()
throws java.lang.Exception
setUp in class DefaultSubscriptionCommerceCartServiceIntegrationTestjava.lang.Exceptionpublic void testAddToCartBundle()
throws CommerceCartModificationException
public void testAddToCart2BundleProducts()
throws CommerceCartModificationException
public void testAddToCart2BundleProductsNoStock()
throws CommerceCartModificationException
public void testAddToCartAutoPick()
throws CommerceCartModificationException
public void testAddToCart2ProductsAutoPick()
throws CommerceCartModificationException
public void testAddToCartWithSelectionDependency()
throws CommerceCartModificationException
public void testAddToCartRemoveEntriesTrue()
throws CommerceCartModificationException
public void testAddToCartPlanFirst()
throws CommerceCartModificationException
public void testUpdateQuantityForCartEntryBundle()
throws CommerceCartModificationException
public void testRemoveAllEntriesBundle()
throws CommerceCartModificationException,
CalculationException
public void testCascadingDeleteForOneLevelOfChildren()
throws CommerceCartModificationException
public void testGetFirstInvalidComponentInCart()
throws CommerceCartModificationException
Copyright © 2018 SAP SE. All Rights Reserved.