Class DefaultScriptingLanguagesServiceTest
- java.lang.Object
-
- de.hybris.platform.scripting.engine.impl.DefaultScriptingLanguagesServiceTest
-
@IntegrationTest @ContextConfiguration("classpath:test/test-scripting-spring.xml") public class DefaultScriptingLanguagesServiceTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultScriptingLanguagesServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldExecuteScriptBasedOnResourceHavingJustAnOutput()voidshouldExecuteSimpleGroovyScriptWithExternalParameters()voidshouldReturnExecutableFromClasspathRepository()voidshouldReturnInstanceOfAnInterfacePassingParameter()voidshouldReturnInstanceOfModelServiceTakenFromSpringCtx()voidshouldThrowScriptURIExceptionIfURIContainEmptyPathPart()voidshouldThrowScriptURIExceptionIfURIContainEmptyProtocolPart()voidshouldThrowScriptURIExceptionIfURIDoesNotContainProtocolPart()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnExecutableFromClasspathRepository
public void shouldReturnExecutableFromClasspathRepository() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowScriptURIExceptionIfURIDoesNotContainProtocolPart
public void shouldThrowScriptURIExceptionIfURIDoesNotContainProtocolPart() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowScriptURIExceptionIfURIContainEmptyProtocolPart
public void shouldThrowScriptURIExceptionIfURIContainEmptyProtocolPart() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowScriptURIExceptionIfURIContainEmptyPathPart
public void shouldThrowScriptURIExceptionIfURIContainEmptyPathPart() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldExecuteScriptBasedOnResourceHavingJustAnOutput
public void shouldExecuteScriptBasedOnResourceHavingJustAnOutput() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldExecuteSimpleGroovyScriptWithExternalParameters
public void shouldExecuteSimpleGroovyScriptWithExternalParameters() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnInstanceOfAnInterfacePassingParameter
public void shouldReturnInstanceOfAnInterfacePassingParameter() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnInstanceOfModelServiceTakenFromSpringCtx
public void shouldReturnInstanceOfModelServiceTakenFromSpringCtx() throws java.lang.Exception- Throws:
java.lang.Exception
-
-