INT-3774: Update to Groovy 2.4.4

JIRA: https://jira.spring.io/browse/INT-3774
This commit is contained in:
Gary Russell
2015-07-17 17:13:30 -04:00
parent 88b616dfe8
commit ccc6c56296
2 changed files with 4 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ subprojects { subproject ->
derbyVersion = '10.10.2.0'
eclipseLinkVersion = '2.4.2'
ftpServerVersion = '1.0.6'
groovyVersion = '2.3.6'
groovyVersion = '2.4.4'
guavaVersion = '16.0.1'
hamcrestVersion = '1.3'
hibernateVersion = '4.3.6.Final'

View File

@@ -190,7 +190,7 @@ public class GroovyServiceActivatorTests {
catch (Exception e) {
Throwable cause = e.getCause();
assertEquals(MissingPropertyException.class, cause.getClass());
assertThat(cause.getMessage(), Matchers.containsString("No such property: ReplyRequiredException for class: groovy.lang"));
assertThat(cause.getMessage(), Matchers.containsString("No such property: ReplyRequiredException for class: groovy_lang"));
throw e;
}
@@ -209,6 +209,7 @@ public class GroovyServiceActivatorTests {
public static class SampleScriptVariSource implements ScriptVariableGenerator{
@Override
public Map<String, Object> generateScriptVariables(Message<?> message) {
Map<String, Object> variables = new HashMap<String, Object>();
variables.put("foo", "foo");
@@ -225,6 +226,7 @@ public class GroovyServiceActivatorTests {
private volatile boolean executed;
@Override
public void customize(GroovyObject goo) {
this.executed = true;
}