This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository jaxx. See https://gitlab.nuiton.org/nuiton/jaxx.git commit cfc9ab031b9698735a2d6f648550fcc9010ff409 Author: Tony CHEMIT <chemit@codelutin.com> Date: Tue Aug 2 12:59:06 2016 +0200 Improve test to check that the raw body is well generated in java file --- .../src/test/java/org/nuiton/jaxx/plugin/LambdaTest.java | 2 ++ .../resources/org/nuiton/jaxx/plugin/lambdaTest/Lambda.jaxx | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/jaxx-maven-plugin/src/test/java/org/nuiton/jaxx/plugin/LambdaTest.java b/jaxx-maven-plugin/src/test/java/org/nuiton/jaxx/plugin/LambdaTest.java index 6c5746c..c161a63 100644 --- a/jaxx-maven-plugin/src/test/java/org/nuiton/jaxx/plugin/LambdaTest.java +++ b/jaxx-maven-plugin/src/test/java/org/nuiton/jaxx/plugin/LambdaTest.java @@ -34,6 +34,8 @@ public class LambdaTest extends JaxxBaseTest { public void Lambda() throws Exception { getMojo().execute(); assertNumberJaxxFiles(1); + checkPattern(getMojo(), "Raw Body Code Here", true); + checkPattern(getMojo(), "Raw Body Code Here2", true); } } diff --git a/jaxx-maven-plugin/src/test/resources/org/nuiton/jaxx/plugin/lambdaTest/Lambda.jaxx b/jaxx-maven-plugin/src/test/resources/org/nuiton/jaxx/plugin/lambdaTest/Lambda.jaxx index ff8cc9b..4ba37ff 100644 --- a/jaxx-maven-plugin/src/test/resources/org/nuiton/jaxx/plugin/lambdaTest/Lambda.jaxx +++ b/jaxx-maven-plugin/src/test/resources/org/nuiton/jaxx/plugin/lambdaTest/Lambda.jaxx @@ -19,4 +19,13 @@ <http://www.gnu.org/licenses/lgpl-3.0.html>. #L% --> -<JLabel/> +<JLabel> + + <script><![CDATA[ + public Lambda() { + System.out.println("Raw Body Code Here"); + System.out.println("Raw Body Code Here2"); + //Raw Body Code Here + }]]> + </script> +</JLabel> -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.