From 9eb70cb3e2043b5262e686b4a80da36e5aa88d81 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 17 Nov 2015 00:03:33 +0100 Subject: add the capability to the testing framework to verify that delombok actually also handles the changed flag correctly --- test/core/src/lombok/RunTestsViaEcj.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/core/src/lombok/RunTestsViaEcj.java') diff --git a/test/core/src/lombok/RunTestsViaEcj.java b/test/core/src/lombok/RunTestsViaEcj.java index 272ed8b7..75200223 100644 --- a/test/core/src/lombok/RunTestsViaEcj.java +++ b/test/core/src/lombok/RunTestsViaEcj.java @@ -93,7 +93,7 @@ public class RunTestsViaEcj extends AbstractRunTests { } @Override - public void transformCode(Collection messages, StringWriter result, File file, String encoding, Map formatPreferences) throws Throwable { + public boolean transformCode(Collection messages, StringWriter result, File file, String encoding, Map formatPreferences) throws Throwable { final AtomicReference compilationResult_ = new AtomicReference(); final AtomicReference compilationUnit_ = new AtomicReference(); ICompilerRequestor bitbucketRequestor = new ICompilerRequestor() { @@ -125,6 +125,8 @@ public class RunTestsViaEcj extends AbstractRunTests { if (cud == null) result.append("---- NO CompilationUnit provided by ecj ----"); else result.append(cud.toString()); + + return true; } private FileSystem createFileSystem(File file) { -- cgit