@IntegrationTest public class CartRemovalJobTest extends ServicelayerTransactionalTest
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SESSION_CART_PARAMETER_NAME |
importServicejaloSession| Constructor and Description |
|---|
CartRemovalJobTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testExpiredSavedCarts()
Test if expired saved carts exist will be removed
|
void |
testNonExpiredSavedCarts()
Test that saved carts will not be removed if they are not expired
|
void |
testNoSavedCartsAtAll()
No saved carts exist and test that no error happens
|
void |
testSavedCartsWithExceededCartMaxAge()
Test that a non expired saved cart with exceeded max age date will not be removed
|
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic static final java.lang.String SESSION_CART_PARAMETER_NAME
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testNoSavedCartsAtAll()
public void testNonExpiredSavedCarts()
public void testSavedCartsWithExceededCartMaxAge()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void testExpiredSavedCarts()
Copyright © 2018 SAP SE. All Rights Reserved.