Class DefaultSubscriptionCommerceCartServiceIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
-
- de.hybris.platform.subscriptionservices.subscription.impl.DefaultSubscriptionCommerceCartServiceIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest @AppendSpringConfiguration("classpath:subscriptionservices-spring-test-context.xml") @Transactional public class DefaultSubscriptionCommerceCartServiceIntegrationTest extends DefaultCommerceCartServiceIntegrationTest
Integration test suite forDefaultSubscriptionCommerceCartService
. This test class inherits from DefaultCommerceCartServiceIntegrationTest in order to run the super class' test cases against the new DefaultSubscriptionCommerceCartService to guarantee compatibility
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultSubscriptionCommerceCartServiceIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CartModel
getChildCartForBillingTime(CartModel masterCartModel, BillingTimeModel billingTimeModel)
void
setUp()
void
tearDown()
void
testAddToMultiCart()
void
testRemoveAllEntriesMultiCart()
void
testUpdateQuantityForCartEntrySubscription()
void
testUpdateQuantityForMultiCartEntry()
-
Methods inherited from class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
shouldCreatePromotionActionForPromotionResult, shouldReportOnAddingToNonExistingEntry, testAddToCart, testAddToCartForceNewEntry, testAddToCartInsufficientStock, testAddToCartToTheSameEntry, testAddToCartUnavailable, testAddToCartWhenNoCartPassed, testCalculateCart, testCalculateCartEntriesAfterAddingToCart, testGetCartForGuidAndSiteAndUserWithNullGuid, testPreviewTime, testRecalculateCart, testRemoveAllEntries, testUpdateCartMetadata, testUpdateQuantityForCartEntry, testUpdateQuantityForCartEntryToZero, testValidateCart
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Overrides:
setUp
in classDefaultCommerceCartServiceIntegrationTest
- Throws:
java.lang.Exception
-
testUpdateQuantityForCartEntrySubscription
public void testUpdateQuantityForCartEntrySubscription() throws CommerceCartModificationException
-
testUpdateQuantityForMultiCartEntry
public void testUpdateQuantityForMultiCartEntry() throws CommerceCartModificationException
-
testAddToMultiCart
public void testAddToMultiCart() throws CommerceCartModificationException
-
testRemoveAllEntriesMultiCart
public void testRemoveAllEntriesMultiCart() throws CommerceCartModificationException
-
tearDown
public void tearDown()
-
getChildCartForBillingTime
protected CartModel getChildCartForBillingTime(CartModel masterCartModel, BillingTimeModel billingTimeModel)
-
-