Class DefaultScriptingLanguagesServiceTest

java.lang.Object
de.hybris.platform.scripting.engine.impl.DefaultScriptingLanguagesServiceTest

@IntegrationTest @ContextConfiguration("classpath:test/test-scripting-spring.xml") public class DefaultScriptingLanguagesServiceTest extends Object
  • Constructor Details

    • DefaultScriptingLanguagesServiceTest

      public DefaultScriptingLanguagesServiceTest()
  • Method Details

    • setUp

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

      public void shouldReturnExecutableFromClasspathRepository() throws Exception
      Throws:
      Exception
    • shouldThrowScriptURIExceptionIfURIDoesNotContainProtocolPart

      public void shouldThrowScriptURIExceptionIfURIDoesNotContainProtocolPart() throws Exception
      Throws:
      Exception
    • shouldThrowScriptURIExceptionIfURIContainEmptyProtocolPart

      public void shouldThrowScriptURIExceptionIfURIContainEmptyProtocolPart() throws Exception
      Throws:
      Exception
    • shouldThrowScriptURIExceptionIfURIContainEmptyPathPart

      public void shouldThrowScriptURIExceptionIfURIContainEmptyPathPart() throws Exception
      Throws:
      Exception
    • shouldExecuteScriptBasedOnResourceHavingJustAnOutput

      public void shouldExecuteScriptBasedOnResourceHavingJustAnOutput() throws Exception
      Throws:
      Exception
    • shouldExecuteSimpleGroovyScriptWithExternalParameters

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

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

      public void shouldReturnInstanceOfModelServiceTakenFromSpringCtx() throws Exception
      Throws:
      Exception