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 Constructor Description DefaultScriptingLanguagesServiceIntegrationTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, 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
- Throws:
java.lang.Exception
-
shouldExecuteSimpleGroovyScriptWithExternalParametersBackedByModel
public void shouldExecuteSimpleGroovyScriptWithExternalParametersBackedByModel() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldExecuteGroovyScriptBackedByModelInteractingWithMagic_spring_Variable
public void shouldExecuteGroovyScriptBackedByModelInteractingWithMagic_spring_Variable() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldExecuteSimpleGroovyScriptBackedByModel
public void shouldExecuteSimpleGroovyScriptBackedByModel() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldExecuteSimpleGroovyScriptBackedByModelInteractingWithSpringBeanById
public void shouldExecuteSimpleGroovyScriptBackedByModelInteractingWithSpringBeanById() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldReturnInstanceOfAnInterfacePassingParameter
public void shouldReturnInstanceOfAnInterfacePassingParameter() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldUseCacheWhenGettingExecutableByURIFromClasspathRepository
public void shouldUseCacheWhenGettingExecutableByURIFromClasspathRepository() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldUseCacheWhenGettingExecutableByURIFromModelRepository
public void shouldUseCacheWhenGettingExecutableByURIFromModelRepository() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldAutoDisableScriptOnFirstScriptExecutionException
public void shouldAutoDisableScriptOnFirstScriptExecutionException() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldAutoDisableScriptOnFirstScriptExecutionExceptionConcurrently
public void shouldAutoDisableScriptOnFirstScriptExecutionExceptionConcurrently() throws java.lang.Exception
- Throws:
java.lang.Exception
-
onceDisabledScriptExecutableAfterRemovingFromCacheShouldBeStillDisabledWhenObtainedAgain
public void onceDisabledScriptExecutableAfterRemovingFromCacheShouldBeStillDisabledWhenObtainedAgain() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldUseCacheWhenGettingExecutableByURIWithRevisionFromModelRepository
public void shouldUseCacheWhenGettingExecutableByURIWithRevisionFromModelRepository() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldInvalidateCacheWhenModelBasedScriptIsRemoved
public void shouldInvalidateCacheWhenModelBasedScriptIsRemoved() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldExecuteTheSameGroovyScriptWithDifferentParamsConcurrently
public void shouldExecuteTheSameGroovyScriptWithDifferentParamsConcurrently() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldExecuteTheSameJavascriptScriptWithDifferentParamsConcurrently
public void shouldExecuteTheSameJavascriptScriptWithDifferentParamsConcurrently() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldExecuteTheSameBeanshellScriptWithDifferentParamsConcurrently
public void shouldExecuteTheSameBeanshellScriptWithDifferentParamsConcurrently() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldLoadTheSameClassForTheSameGroovyScript
public void shouldLoadTheSameClassForTheSameGroovyScript()
-
-