From aeb57dc3553e7b4758d2c6e410baf5d81123add0 Mon Sep 17 00:00:00 2001 From: Mariusz Smykula Date: Sun, 17 Apr 2016 20:15:47 +0200 Subject: [PATCH] fixed groovy configuration and additional tests for this case [ci skip] --- .../io/codearte/accurest/maven/PluginIT.java | 2 ++ src/test/projects/spring-boot-groovy/pom.xml | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/src/test/java/io/codearte/accurest/maven/PluginIT.java b/src/test/java/io/codearte/accurest/maven/PluginIT.java index 6dd0080e4c..15305cf7d2 100644 --- a/src/test/java/io/codearte/accurest/maven/PluginIT.java +++ b/src/test/java/io/codearte/accurest/maven/PluginIT.java @@ -37,6 +37,7 @@ public class PluginIT { .assertLogText("Generated 1 test classes.") .assertLogText("Converting from accurest contracts written in GroovyDSL to WireMock stubs mappings") .assertLogText("Creating new json") + .assertLogText("Compiled 3 files.") // groovy test classes .assertErrorFreeLog(); } @@ -50,6 +51,7 @@ public class PluginIT { .assertLogText("Generated 1 test classes.") .assertLogText("Converting from accurest contracts written in GroovyDSL to WireMock stubs mappings") .assertLogText("Creating new json") + .assertLogText("Compiling 2 source files") .assertErrorFreeLog(); } diff --git a/src/test/projects/spring-boot-groovy/pom.xml b/src/test/projects/spring-boot-groovy/pom.xml index d1adb9b706..50d56c8e6a 100644 --- a/src/test/projects/spring-boot-groovy/pom.xml +++ b/src/test/projects/spring-boot-groovy/pom.xml @@ -106,6 +106,22 @@ + + + + ${project.basedir}/src/test/groovy + + **/*.groovy + + + + ${project.build.directory}/generated-test-sources/accurest + + **/*.groovy + + + +