@IntegrationTest public class DefaultCommerceCartServiceIntegrationTest extends ServicelayerTest
DefaultCommerceCartServiceimportServicejaloSession| Constructor and Description |
|---|
DefaultCommerceCartServiceIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldCreatePromotionActionForPromotionResult() |
void |
shouldReportOnAddingToNonExistingEntry() |
void |
testAddToCart() |
void |
testAddToCartForceNewEntry() |
void |
testAddToCartInsufficientStock() |
void |
testAddToCartToTheSameEntry() |
void |
testAddToCartUnavailable() |
void |
testAddToCartWhenNoCartPassed() |
void |
testCalculateCart() |
void |
testCalculateCartEntriesAfterAddingToCart() |
void |
testGetCartForGuidAndSiteAndUserWithNullGuid() |
void |
testPreviewTime() |
void |
testRecalculateCart() |
void |
testRemoveAllEntries() |
void |
testUpdateCartMetadata() |
void |
testUpdateQuantityForCartEntry() |
void |
testUpdateQuantityForCartEntryToZero() |
void |
testValidateCart() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic DefaultCommerceCartServiceIntegrationTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testAddToCart()
throws CommerceCartModificationException
public void testAddToCartInsufficientStock()
throws CommerceCartModificationException
public void testAddToCartUnavailable()
throws CommerceCartModificationException
public void testAddToCartWhenNoCartPassed()
throws CommerceCartModificationException
public void testAddToCartToTheSameEntry()
throws CommerceCartModificationException
public void testAddToCartForceNewEntry()
throws CommerceCartModificationException
public void shouldReportOnAddingToNonExistingEntry()
throws CommerceCartModificationException
public void testCalculateCart()
public void testCalculateCartEntriesAfterAddingToCart()
throws CommerceCartModificationException
public void testPreviewTime()
throws CalculationException
CalculationExceptionpublic void testRecalculateCart()
throws CalculationException
CalculationExceptionpublic void testRemoveAllEntries()
public void testUpdateQuantityForCartEntry()
throws CommerceCartModificationException
public void testUpdateQuantityForCartEntryToZero()
throws CommerceCartModificationException
public void testValidateCart()
throws CommerceCartModificationException
public void shouldCreatePromotionActionForPromotionResult()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetCartForGuidAndSiteAndUserWithNullGuid()
throws java.lang.InterruptedException,
CommerceSaveCartException
java.lang.InterruptedExceptionCommerceSaveCartExceptionpublic void testUpdateCartMetadata()
Copyright © 2018 SAP SE. All Rights Reserved.