public class ExpressionEvaluatorTest extends BTGIntegrationTest
ExpressionEvaluator and ExpressionEvaluatorRegistry.
Absolutely no hybris dependencies which means each test can be executed without a running platform.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, ruleEvaluator, 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, websiteCimportServicedefaultLanguage, jaloSession| Constructor and Description |
|---|
ExpressionEvaluatorTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String... argc) |
void |
testCategoryCollectionExpressionEvaluator() |
void |
testCategoryCollectionExpressionEvaluatorSize() |
void |
testCollectionExpressionEvaluator()
Tests Collection specific expression as well as expressions for collection elements.
|
void |
testExpressionEvaluatorRegistry() |
void |
testExpressionEvaluatorRegistry2() |
void |
testKeyValuePairCollectionExpressionEvaluator() |
void |
testNumericExpressionEvaluator()
Tests Integer expression
|
void |
testPlainCollectionExpressionEvaluator()
Tests Collection specific expression.
|
void |
testProductCollectionExpressionEvaluator() |
void |
testProductCollectionExpressionEvaluatorSize() |
void |
testRegExpCollectionExpressionEvaluator() |
void |
testStringExpressionEvaluator()
Tests
StringExpressionEvaluator. |
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, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void testStringExpressionEvaluator()
StringExpressionEvaluator.public void testNumericExpressionEvaluator()
public void testPlainCollectionExpressionEvaluator()
public void testCollectionExpressionEvaluator()
public void testRegExpCollectionExpressionEvaluator()
public void testKeyValuePairCollectionExpressionEvaluator()
public void testProductCollectionExpressionEvaluator()
public void testProductCollectionExpressionEvaluatorSize()
public void testCategoryCollectionExpressionEvaluator()
public void testCategoryCollectionExpressionEvaluatorSize()
public void testExpressionEvaluatorRegistry()
public void testExpressionEvaluatorRegistry2()
public static void main(java.lang.String... argc)
Copyright © 2018 SAP SE. All Rights Reserved.