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
  • Constructor Details

    • DefaultScriptingLanguagesServiceIntegrationTest

      public DefaultScriptingLanguagesServiceIntegrationTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • shouldExecuteSimpleGroovyScriptWithExternalParametersBackedByModel

      public void shouldExecuteSimpleGroovyScriptWithExternalParametersBackedByModel() throws Exception
      Throws:
      Exception
    • shouldExecuteGroovyScriptBackedByModelInteractingWithMagic_spring_Variable

      public void shouldExecuteGroovyScriptBackedByModelInteractingWithMagic_spring_Variable() throws Exception
      Throws:
      Exception
    • shouldExecuteSimpleGroovyScriptBackedByModel

      public void shouldExecuteSimpleGroovyScriptBackedByModel() throws Exception
      Throws:
      Exception
    • shouldExecuteSimpleGroovyScriptBackedByModelInteractingWithSpringBeanById

      public void shouldExecuteSimpleGroovyScriptBackedByModelInteractingWithSpringBeanById() throws Exception
      Throws:
      Exception
    • shouldReturnInstanceOfAnInterfacePassingParameter

      public void shouldReturnInstanceOfAnInterfacePassingParameter() throws Exception
      Throws:
      Exception
    • shouldUseCacheWhenGettingExecutableByURIFromClasspathRepository

      public void shouldUseCacheWhenGettingExecutableByURIFromClasspathRepository() throws Exception
      Throws:
      Exception
    • shouldUseCacheWhenGettingExecutableByURIFromModelRepository

      public void shouldUseCacheWhenGettingExecutableByURIFromModelRepository() throws Exception
      Throws:
      Exception
    • shouldAutoDisableScriptOnFirstScriptExecutionException

      public void shouldAutoDisableScriptOnFirstScriptExecutionException() throws Exception
      Throws:
      Exception
    • shouldAutoDisableScriptOnFirstScriptExecutionExceptionConcurrently

      public void shouldAutoDisableScriptOnFirstScriptExecutionExceptionConcurrently() throws Exception
      Throws:
      Exception
    • onceDisabledScriptExecutableAfterRemovingFromCacheShouldBeStillDisabledWhenObtainedAgain

      public void onceDisabledScriptExecutableAfterRemovingFromCacheShouldBeStillDisabledWhenObtainedAgain() throws Exception
      Throws:
      Exception
    • shouldUseCacheWhenGettingExecutableByURIWithRevisionFromModelRepository

      public void shouldUseCacheWhenGettingExecutableByURIWithRevisionFromModelRepository() throws Exception
      Throws:
      Exception
    • shouldInvalidateCacheWhenModelBasedScriptIsRemoved

      public void shouldInvalidateCacheWhenModelBasedScriptIsRemoved() throws Exception
      Throws:
      Exception
    • shouldExecuteTheSameGroovyScriptWithDifferentParamsConcurrently

      public void shouldExecuteTheSameGroovyScriptWithDifferentParamsConcurrently() throws Exception
      Throws:
      Exception
    • shouldExecuteTheSameJavascriptScriptWithDifferentParamsConcurrently

      public void shouldExecuteTheSameJavascriptScriptWithDifferentParamsConcurrently() throws Exception
      Throws:
      Exception
    • shouldExecuteTheSameBeanshellScriptWithDifferentParamsConcurrently

      public void shouldExecuteTheSameBeanshellScriptWithDifferentParamsConcurrently() throws Exception
      Throws:
      Exception
    • shouldLoadTheSameClassForTheSameGroovyScript

      public void shouldLoadTheSameClassForTheSameGroovyScript()
    • shouldThrowExceptionWhenExecutingDisabledSimpleGroovyScriptBackedByModel

      public void shouldThrowExceptionWhenExecutingDisabledSimpleGroovyScriptBackedByModel()