@IntegrationTest public class CartServiceTest extends ServicelayerTransactionalTest
importServicejaloSession| Constructor and Description |
|---|
CartServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testAddToCart() |
void |
testAppendToCart()
Tests appending cloned cart entries of source cart to the target cart
|
void |
testCartAfterChangeCurrency()
Test checks currency information in cart after currency change.
|
void |
testChangeCurrentCartUser() |
void |
testChangeQuantity() |
void |
testChangeSomeQuantitiesInCart() |
void |
testChangeSomeQuantitiesInCartOldStyle() |
void |
testCreateCartFromQuote() |
void |
testCustomCartTypeCartFactory() |
void |
testCustomCartTypeCartService() |
void |
testGetSessionCart() |
void |
testGetSessionCartInLocalView() |
void |
testGetSessionCartWhenJaloSessionUpdates() |
void |
testRefreshCartAfterChangeCurrency()
Test adds into cart one product and change currency of environment.
|
void |
testRemoveSessionCart() |
void |
testSetCartEntryQuantityToZero() |
void |
testSetSessionCart() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testAddToCart()
throws InvalidCartException
InvalidCartExceptionpublic void testGetSessionCart()
public void testGetSessionCartInLocalView()
public void testGetSessionCartWhenJaloSessionUpdates()
public void testRemoveSessionCart()
public void testSetSessionCart()
public void testChangeQuantity()
throws InvalidCartException
InvalidCartExceptionpublic void testSetCartEntryQuantityToZero()
throws InvalidCartException
InvalidCartExceptionpublic void testChangeSomeQuantitiesInCartOldStyle()
throws InvalidCartException
InvalidCartExceptionpublic void testChangeSomeQuantitiesInCart()
throws InvalidCartException,
CalculationException
public void testCartAfterChangeCurrency()
throws InvalidCartException
InvalidCartExceptionpublic void testRefreshCartAfterChangeCurrency()
throws InvalidCartException
InvalidCartExceptionpublic void testAppendToCart()
public void testCustomCartTypeCartService()
public void testCustomCartTypeCartFactory()
public void testChangeCurrentCartUser()
public void testCreateCartFromQuote()
Copyright © 2018 SAP SE. All Rights Reserved.