@IntegrationTest public class DefaultCommerceCartServiceIntegrationTest extends ServicelayerTest
DefaultCommerceCartServicedefaultLanguage, jaloSession| 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 |
testGetCartForGuidAndSiteAndUserWithNullGuid() |
void |
testPreviewTime() |
void |
testRecalculateCart() |
void |
testRemoveAllEntries() |
void |
testUpdateCartMetadata() |
void |
testUpdateQuantityForCartEntry() |
void |
testUpdateQuantityForCartEntryToZero() |
void |
testValidateCart() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic 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 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 © 2017 SAP SE. All Rights Reserved.