- tearDown() - Method in class org.broadleafcommerce.common.file.service.BroadleafFileServiceImplTest
-
- tearDown() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
- test() - Method in class org.broadleafcommerce.common.security.service.ExpolitProtectionServiceTest
-
- TEST_PROPERTY - Static variable in class org.broadleafcommerce.test.common.boot.properties.SpringBootPropertiesTest
-
- TEST_PROPERTY - Static variable in class org.broadleafcommerce.test.common.properties.DefaultDevelopmentOverridePropertiesTest
-
- testAddedAttributes() - Method in class org.broadleafcommerce.common.extensibility.context.merge.handlers.SchemaLocationMergeTest
-
- testAddingBlPrefix() - Method in class org.broadleafcommerce.test.common.generator.BeanNameGeneratorTest
-
- testAsCalendar() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
Test method for SystemTime.asCalendar().
- testAsCalendarBoolean() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
Test method for SystemTime.asCalendar(boolean).
- testAsDate() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
Test method for SystemTime.asDate().
- testAsDateBoolean() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
Test method for SystemTime.asDate(boolean).
- testAsMillis() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
Test method for SystemTime.asMillis().
- testAsMillisBoolean() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
Test method for SystemTime.asMillis(boolean).
- TestBeanConfig() - Constructor for class org.broadleafcommerce.test.common.condition.ConditionalOnModuleTest.TestBeanConfig
-
- testBeanMethod() - Method in class org.broadleafcommerce.test.common.condition.ConditionalOnModuleTest
-
- testBeanOverride() - Method in class org.broadleafcommerce.test.common.context.override.importer.ImportBeanOverrideConfigurationTest
-
- testBlankRule() - Method in class org.broadleafcommerce.test.common.rule.MvelHelperTest
-
Test that a blank rule is true.
- testBlockedMethodsAreRejected() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
- testBlockedMethodsWithoutParenthesesAreRejected() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
MVEL calls no argument methods written as properties, so blocked methods must be blocked in that form too.
- testBootPropertiesOverrideBroadleaf() - Method in class org.broadleafcommerce.test.common.boot.properties.SpringBootPropertiesTest
-
- testBuildFileName() - Method in class org.broadleafcommerce.common.file.service.FileSystemFileServiceProviderTest
-
For example, if the URL is /product/myproductimage.jpg, then the MD5 would be
35ec52a8dbd8cf3e2c650495001fe55f resulting in the following file on the filesystem
{assetFileSystemPath}/64/a7/myproductimage.jpg.
- testBuiltInMethodsCanBeAllowedWithProperty() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
Allowing a built-in blocked method allows only that method, e.g.
- testCodeHiddenFromTheValidatorIsRejected() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
The validator must agree with MVEL on where string literals and comments start and end.
- testCodeInsideStringLiteralsIsAllowed() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
- testConfigurationClass() - Method in class org.broadleafcommerce.test.common.condition.ConditionalOnModuleTest
-
- testConstructorsAreRejected() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
- testCountQuery() - Method in class org.broadleafcommerce.test.common.util.dao.TypedQueryBuilderTest
-
- testCreateAddFile() - Method in class org.broadleafcommerce.common.file.service.BroadleafFileServiceImplTest
-
- testCreateAddFiles() - Method in class org.broadleafcommerce.common.file.service.BroadleafFileServiceImplTest
-
- testCreateFilesCopyWorkarea() - Method in class org.broadleafcommerce.common.file.service.BroadleafFileServiceImplTest
-
- testCreateWorkArea() - Method in class org.broadleafcommerce.common.file.service.BroadleafFileServiceImplTest
-
- testCrossModuleConfigurationBeanOverride() - Method in class org.broadleafcommerce.test.common.context.override.crossmodule.CrossModuleConfigurationOnlyOverrideTest
-
- testCrossModuleConfigurationBeanOverride() - Method in class org.broadleafcommerce.test.common.context.override.crossmodule.CrossModuleConfigurationXMLOverrideTest
-
- testCustomUrlSiteMapGenerator() - Method in class org.broadleafcommerce.common.sitemap.service.CustomUrlSiteMapGeneratorTest
-
- testDeprecatedRuntimeEnvironmentKey() - Method in class org.broadleafcommerce.test.common.properties.DeprecatedRuntimeEnvironmentTest
-
- testDuplicateImport() - Method in class org.broadleafcommerce.test.common.context.override.importer.DuplicateImportConfigurationTest
-
- testExistingBlPrefix() - Method in class org.broadleafcommerce.test.common.generator.BeanNameGeneratorTest
-
- testExpressionCompilationAndExecutionIsRejected() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
MVEL can compile and evaluate any expression, so the compile and execute methods are blocked, whether reached
through the fully qualified org.mvel2.MVEL or the bare MVEL import, and whichever of them is used.
- TestFrameworkController - Class in org.broadleafcommerce.test.common.web.controller.annotation
-
- TestFrameworkController() - Constructor for class org.broadleafcommerce.test.common.web.controller.annotation.TestFrameworkController
-
- TestFrameworkRestController - Class in org.broadleafcommerce.test.common.web.controller.annotation
-
- TestFrameworkRestController() - Constructor for class org.broadleafcommerce.test.common.web.controller.annotation.TestFrameworkRestController
-
- testGenerator(SiteMapGeneratorConfiguration, SiteMapGenerator) - Method in class org.broadleafcommerce.common.sitemap.service.SiteMapGeneratorTest
-
- testGenerator(SiteMapGeneratorConfiguration, SiteMapGenerator, int) - Method in class org.broadleafcommerce.common.sitemap.service.SiteMapGeneratorTest
-
- testGenerator(List<SiteMapGeneratorConfiguration>, SiteMapGenerator, int) - Method in class org.broadleafcommerce.common.sitemap.service.SiteMapGeneratorTest
-
- testHasSpringAndBroadleafProfile() - Method in class org.broadleafcommerce.test.common.properties.RuntimeEnvironmentProfilesTest
-
- testJvmTerminationIsRejected() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
System.exit kills the JVM, so it is blocked, like the already blocked halt.
- testLocalOverridesGlobal() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
Test method for SystemTime.resetLocalTimeSource().
- testLongStringLiteralsAreAllowed() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
Long string values, with or without escapes, must not overflow the stack while being removed.
- testMapSwitch() - Method in class org.broadleafcommerce.common.util.EfficientLRUMapTest
-
- testMergedConfigurations() - Method in class org.broadleafcommerce.test.common.context.override.importer.merge.MergeEnableConfigurationTest
-
- testMergedEntityContextsOrder() - Method in class org.broadleafcommerce.test.common.context.override.entityconfig.EntityConfigurationOverrideTest
-
- testMergedOrder() - Method in class org.broadleafcommerce.test.common.test.merge.MergeAnnotationOverrideTest
-
- testMethodsCanBeBlockedWithProperty() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
- testMvelMethodOverloadWorkaroundCase() - Method in class org.broadleafcommerce.test.common.rule.MvelHelperTest
-
Confirms repeated success for method overload workaround in SelectizeCollectionUtils
- testNestedPostAutoConfigurationRunsFirst() - Method in class org.broadleafcommerce.test.common.context.autoconfig.PostAutoConfigurationTest
-
- testNewInsideValuesAndNamesIsAllowed() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
Product, sku and other names containing "new" are values in string literals, or part of a longer name, and
must not be mistaken for the new keyword.
- testNodeAttributes() - Method in class org.broadleafcommerce.common.extensibility.context.merge.handlers.SchemaLocationMergeTest
-
- testNoParameters() - Method in class org.broadleafcommerce.test.common.util.dao.TypedQueryBuilderTest
-
- testNotLoaded() - Method in class org.broadleafcommerce.test.common.condition.ConditionalOnModuleTest
-
- testNullAndEmptyExpressionsAreAllowed() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
String literal contents are data and must never be treated as code.
- testNullRule() - Method in class org.broadleafcommerce.test.common.rule.MvelHelperTest
-
Test that a null rule is true.
- testObjectCreationWithoutNewIsRejected() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
Factory methods that create or load classes without using new
- testOneNested() - Method in class org.broadleafcommerce.test.common.util.dao.TypedQueryBuilderTest
-
- testOtherEnvironmentOverride() - Method in class org.broadleafcommerce.test.common.properties.OtherEnvironmentOverridePropertiesTest
-
- testOverriddenProductionProperty() - Method in class org.broadleafcommerce.test.common.properties.ProductionOverridePropertiesTest
-
- testOverriddenProductionSharedProperty() - Method in class org.broadleafcommerce.test.common.properties.ProductionOverridePropertiesTest
-
- testOverride() - Method in class org.broadleafcommerce.test.common.context.override.config.client.ClientOverrideTest
-
- testOverride() - Method in class org.broadleafcommerce.test.common.context.override.config.ImportOverrideTest
-
- testOverride() - Method in class org.broadleafcommerce.test.common.context.override.config.InnerStaticImportTest
-
- testOverride() - Method in class org.broadleafcommerce.test.common.context.override.config.InnerStaticOverrideTest
-
- testOverride() - Method in class org.broadleafcommerce.test.common.context.override.config.XMLImportOverrideTest
-
- testOverride2() - Method in class org.broadleafcommerce.test.common.context.override.config.XMLImportOverrideTest2
-
- testOverrideInjection() - Method in class org.broadleafcommerce.test.common.context.override.reader.FrameworkXmlBeanDefinitionReaderTest
-
- testPostAutoConfigurationOverridesAutoConfig() - Method in class org.broadleafcommerce.test.common.context.autoconfig.PostAutoConfigurationTest
-
- testPostAutoConfigurationRunsSecond() - Method in class org.broadleafcommerce.test.common.context.autoconfig.PostAutoConfigurationTest
-
- testProfileOverridesCommon() - Method in class org.broadleafcommerce.test.common.properties.DefaultDevelopmentOverridePropertiesTest
-
- testProfileSourcesRegisteredOverridesCommon() - Method in class org.broadleafcommerce.test.common.boot.properties.SpringBootPropertiesTest
-
- testPropertiesWereOverridden() - Method in class org.broadleafcommerce.test.common.properties.FilesystemPropertyOverridesTest
-
- testPropertiesWereOverridden() - Method in class org.broadleafcommerce.test.common.properties.FilesystemSharedRuntimeEnvironmentTest
-
- testPropertySourceAnnotationOverridesBroadleafDeafults() - Method in class org.broadleafcommerce.test.common.properties.PropertySourceOverrideDefaultTest
-
- testReflectionIsRejected() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
- testRejectedRuleIsCached() - Method in class org.broadleafcommerce.test.common.rule.MvelHelperTest
-
A rule rejected by the expression policy is remembered in the cache, so that it is not re-validated and logged
again on every subsequent evaluation, which would otherwise flood the logs and waste CPU under load.
- testReplacementRegex() - Method in class org.broadleafcommerce.common.extensibility.context.merge.handlers.SchemaLocationMergeTest
-
- testReportedPayloadIsRejected() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
- testRequestMapProperty() - Method in class org.broadleafcommerce.test.common.rule.MvelHelperTest
-
Tests MVEL syntax for accessing request property map values.
- testReset() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
Test method for SystemTime.reset().
- testResetGlobalTimeSource() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
Test method for SystemTime.resetGlobalTimeSource().
- testResetLocalTimeSource() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
Test method for SystemTime.resetLocalTimeSource().
- testRuleBuilderExpressionsAreAllowed() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
Expressions generated by the rule builder, including legacy forms, and hand written rules from the tests and
demo data must remain allowed.
- testRuleNotAllowedByExpressionPolicyIsNotExecuted() - Method in class org.broadleafcommerce.test.common.rule.MvelHelperTest
-
Test that rules injecting code are neither compiled nor executed and evaluate to false
- testRuleThatEvaluatesToFalse() - Method in class org.broadleafcommerce.test.common.rule.MvelHelperTest
-
Test rule that evaluates to true
- testRuleThatEvaluatesToTrue() - Method in class org.broadleafcommerce.test.common.rule.MvelHelperTest
-
Test rule that evaluates to true
- testRuleWithParseErrors() - Method in class org.broadleafcommerce.test.common.rule.MvelHelperTest
-
Test rule with parse errors
- testSetGlobalTimeSource() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
Test method for SystemTime.setGlobalTimeSource(TimeSource).
- testSetLocalTimeSource() - Method in class org.broadleafcommerce.test.common.time.SystemTimeTest
-
Test method for SystemTime.setLocalTimeSource(TimeSource).
- testShippedDemoAndTestRulesAreAllowed() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
Rules harvested from the 6.0 reference-site demo/seed SQL and the offer test data providers must keep validating,
so enabling the validator never silently breaks an existing stored rule (the false-positive regression guard).
- testSingleParameter() - Method in class org.broadleafcommerce.test.common.util.dao.TypedQueryBuilderTest
-
- testSiteMapsWithSiteContext() - Method in class org.broadleafcommerce.common.sitemap.service.CustomUrlSiteMapGeneratorTest
-
- testStatementSeparatorsAreRejected() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
- testThreeParameters() - Method in class org.broadleafcommerce.test.common.util.dao.TypedQueryBuilderTest
-
- testTwoNested() - Method in class org.broadleafcommerce.test.common.util.dao.TypedQueryBuilderTest
-
- testTwoParameters() - Method in class org.broadleafcommerce.test.common.util.dao.TypedQueryBuilderTest
-
- testValidationCanBeTurnedOffWithProperty() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
- testValidationIsEnabledByDefault() - Method in class org.broadleafcommerce.test.common.rule.MvelExpressionValidatorTest
-
- TypedQueryBuilderTest - Class in org.broadleafcommerce.test.common.util.dao
-
- TypedQueryBuilderTest() - Constructor for class org.broadleafcommerce.test.common.util.dao.TypedQueryBuilderTest
-