From 9abb6432e9602d5f1711b81fc12be6ac49ba1b0b Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 2 Jan 2012 21:18:53 +0100 Subject: Added a test to make sure we never break ecj again. --- build.xml | 13 ++++++++++++- test/ecj/.gitignore | 1 + test/ecj/SimpleTest.java | 10 ++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 test/ecj/.gitignore create mode 100644 test/ecj/SimpleTest.java diff --git a/build.xml b/build.xml index 8063b1f9..eaf09d1c 100644 --- a/build.xml +++ b/build.xml @@ -307,7 +307,18 @@ the common tasks and can be called on to run the main aspects of all the sub-scr - + + + + + + + + + + + + diff --git a/test/ecj/.gitignore b/test/ecj/.gitignore new file mode 100644 index 00000000..5241a722 --- /dev/null +++ b/test/ecj/.gitignore @@ -0,0 +1 @@ +*.class \ No newline at end of file diff --git a/test/ecj/SimpleTest.java b/test/ecj/SimpleTest.java new file mode 100644 index 00000000..56c2a211 --- /dev/null +++ b/test/ecj/SimpleTest.java @@ -0,0 +1,10 @@ +@lombok.Data +public class SimpleTest { + private final String test; + private final int foo; + + public String bar() { + int val = getFoo() + 5; + return new SimpleTest("", 0).toString() + val; + } +} -- cgit