Class DefaultScriptingLanguagesServiceIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.scripting.engine.impl.DefaultScriptingLanguagesServiceIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class DefaultScriptingLanguagesServiceIntegrationTest
extends ServicelayerBaseTest
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
DefaultScriptingLanguagesServiceIntegrationTest
public DefaultScriptingLanguagesServiceIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
shouldExecuteSimpleGroovyScriptWithExternalParametersBackedByModel
- Throws:
Exception
-
shouldExecuteGroovyScriptBackedByModelInteractingWithMagic_spring_Variable
public void shouldExecuteGroovyScriptBackedByModelInteractingWithMagic_spring_Variable() throws Exception- Throws:
Exception
-
shouldExecuteSimpleGroovyScriptBackedByModel
- Throws:
Exception
-
shouldExecuteSimpleGroovyScriptBackedByModelInteractingWithSpringBeanById
public void shouldExecuteSimpleGroovyScriptBackedByModelInteractingWithSpringBeanById() throws Exception- Throws:
Exception
-
shouldReturnInstanceOfAnInterfacePassingParameter
- Throws:
Exception
-
shouldUseCacheWhenGettingExecutableByURIFromClasspathRepository
- Throws:
Exception
-
shouldUseCacheWhenGettingExecutableByURIFromModelRepository
- Throws:
Exception
-
shouldAutoDisableScriptOnFirstScriptExecutionException
- Throws:
Exception
-
shouldAutoDisableScriptOnFirstScriptExecutionExceptionConcurrently
- Throws:
Exception
-
onceDisabledScriptExecutableAfterRemovingFromCacheShouldBeStillDisabledWhenObtainedAgain
public void onceDisabledScriptExecutableAfterRemovingFromCacheShouldBeStillDisabledWhenObtainedAgain() throws Exception- Throws:
Exception
-
shouldUseCacheWhenGettingExecutableByURIWithRevisionFromModelRepository
public void shouldUseCacheWhenGettingExecutableByURIWithRevisionFromModelRepository() throws Exception- Throws:
Exception
-
shouldInvalidateCacheWhenModelBasedScriptIsRemoved
- Throws:
Exception
-
shouldExecuteTheSameGroovyScriptWithDifferentParamsConcurrently
- Throws:
Exception
-
shouldExecuteTheSameJavascriptScriptWithDifferentParamsConcurrently
- Throws:
Exception
-
shouldExecuteTheSameBeanshellScriptWithDifferentParamsConcurrently
- Throws:
Exception
-
shouldLoadTheSameClassForTheSameGroovyScript
public void shouldLoadTheSameClassForTheSameGroovyScript() -
shouldThrowExceptionWhenExecutingDisabledSimpleGroovyScriptBackedByModel
public void shouldThrowExceptionWhenExecutingDisabledSimpleGroovyScriptBackedByModel()
-