Class DefaultScriptingLanguagesServiceTest


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

      • DefaultScriptingLanguagesServiceTest

        public DefaultScriptingLanguagesServiceTest()
    • 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