@IntegrationTest public class DefaultSubscriptionCommerceCartServiceIntegrationTest extends DefaultCommerceCartServiceIntegrationTest
DefaultSubscriptionCommerceCartService. This test class inherits from
DefaultCommerceCartServiceIntegrationTest in order to run the super class' test cases against the new
DefaultSubscriptionCommerceCartService to guarantee compatibilityimportServicejaloSession| Constructor and Description |
|---|
DefaultSubscriptionCommerceCartServiceIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected CartModel |
getChildCartForBillingTime(CartModel masterCartModel,
BillingTimeModel billingTimeModel) |
void |
setUp() |
void |
testAddToMultiCart() |
void |
testRemoveAllEntriesMultiCart() |
void |
testUpdateQuantityForCartEntrySubscription() |
void |
testUpdateQuantityForMultiCartEntry() |
shouldCreatePromotionActionForPromotionResult, 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 DefaultSubscriptionCommerceCartServiceIntegrationTest()
public void setUp()
throws java.lang.Exception
setUp in class DefaultCommerceCartServiceIntegrationTestjava.lang.Exceptionpublic void testUpdateQuantityForCartEntrySubscription()
throws CommerceCartModificationException
public void testUpdateQuantityForMultiCartEntry()
throws CommerceCartModificationException
public void testAddToMultiCart()
throws CommerceCartModificationException
public void testRemoveAllEntriesMultiCart()
throws CommerceCartModificationException
protected CartModel getChildCartForBillingTime(CartModel masterCartModel, BillingTimeModel billingTimeModel)
Copyright © 2018 SAP SE. All Rights Reserved.