public class BTGCartRuleEvaluationTest extends BTGIntegrationTest
ALCOHOLS_ONLINE, ALCOHOLS_STAGED, anonymous, AUGISTINER, badTaste, BADTASTE, BEERS_ONLINE, BEERS_STAGED, btgEvaluationService, btgResultService, catalogService, categoryService, conditionEvaluatorRegistry, customerA, customerB, customerC, DRINKS, eur, EUR, EXPENSIVE_100, EXPENSIVE_150, EXPENSIVE_40, EXPENSIVE_60, expressionService, flexibleSearchService, GERMANBEERS_ONLINE, GERMANBEERS_STAGED, goodTaste, GOODTASTE, HACKERPSCHORR, i18nService, KROSTITZER, modelService, NONFULFILLING_PRODUCT_TEMPLATE, online, ONLINE, POLISHBEERS_ONLINE, POLISHBEERS_STAGED, productService, segmentA, segmentACartRule, segmentAOrderRule, segmentB, segmentC, SOFTDRINKS_ONLINE, SOFTDRINKS_STAGED, staged, STAGED, TRADITIONALBEERS, typeService, TYSKIE, usd, USD, USER_A, USER_B, USER_C, userService, WEBSITE_A, WEBSITE_B, WEBSITE_C, websiteA, websiteB, websiteCdefaultLanguage, jaloSession| Constructor and Description |
|---|
BTGCartRuleEvaluationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected BTGCartIsEmptyOperandModel |
createCartIsEmptyOperand(String code) |
protected BTGCategoriesInCartOperandModel |
createCategoriesInCartOperandModel(String code,
boolean withSuperCategories) |
void |
testCartCategories() |
void |
testCartCategoriesWithoutSuperCategories() |
void |
testCartCategoriesWithSuperCategories() |
void |
testCartIsEmpty() |
void |
testCartProductQuantity() |
void |
testCartProductQuantityWithStaged() |
void |
testCartProducts() |
void |
testCartTotalValueRuleEUR() |
void |
testCartTotalValueRuleUSD() |
addToCart, addToCartWithCatalog, createBooleanLiteralOperand, createBTGData, createBTGReferenceCategoriesOperand, createBTGReferenceCountriesOperandModel, createCategoriesinOrderOperand, createCustomerCountryOperand, createCustomerGenderOperand, createCustomerPostalCodeOperand, createDoubleLiteralOperand, createExpression, createExpressionInRuleAndSegment, createGenderLiteralOperand, createIntLiteralOperand, createLastOrderDateOperand, createNumberOfOrdersOperand, createOperandModel, createOperator, createOrderOperand, createOrderOperand, createPriceReferenceOperand, createProductsInOrdersOperand, createProductsOperand, createQuantityOfProductInCartOperand, createQuantityOfProductInCartOperand, createReferenceDateOperand, createReferenceExactDateOperand, createRule, createRule, createSegment, createSegment, createSegmentA, createSegmentB, createSegmentC, createStringLiteralOperand, getAttributeDescriptor, getDrinksCatalogVersion, getDrinksOnlineCatalogVersion, placeAdditionalOrders, placeOrdersForSegmentA, placeOrdersForSegmentB, placeOrdersForUserC, placeRandomOrdersNotFulfillingConditions, placeRandomOrdersTotalSum, placeTestOrder, removeUsersOrders, setCatalogVersions, setCurrencies, setCustomersAndUserGroups, setUp, setWebSitescreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void testCartTotalValueRuleUSD()
throws Exception
Exceptionpublic void testCartTotalValueRuleEUR()
throws Exception
Exceptionpublic void testCartCategoriesWithSuperCategories()
throws Exception
Exceptionpublic void testCartCategoriesWithoutSuperCategories()
throws Exception
Exceptionpublic void testCartProductQuantityWithStaged()
throws Exception
Exceptionprotected BTGCategoriesInCartOperandModel createCategoriesInCartOperandModel(String code, boolean withSuperCategories)
protected BTGCartIsEmptyOperandModel createCartIsEmptyOperand(String code)
Copyright © 2017 SAP SE. All Rights Reserved.