aboutsummaryrefslogtreecommitdiff
path: root/test/core/src/lombok/RunTestsViaEcj.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2015-11-17 00:03:33 +0100
committerRoel Spilker <r.spilker@gmail.com>2015-11-17 00:04:39 +0100
commit9eb70cb3e2043b5262e686b4a80da36e5aa88d81 (patch)
treeb2b9d741169e47785eec216c28f34fdaa5b3b1a4 /test/core/src/lombok/RunTestsViaEcj.java
parent8db179346171d47230b88cdd509954391fb49d1c (diff)
downloadlombok-9eb70cb3e2043b5262e686b4a80da36e5aa88d81.tar.gz
lombok-9eb70cb3e2043b5262e686b4a80da36e5aa88d81.tar.bz2
lombok-9eb70cb3e2043b5262e686b4a80da36e5aa88d81.zip
add the capability to the testing framework to verify that delombok actually also handles the changed flag correctly
Diffstat (limited to 'test/core/src/lombok/RunTestsViaEcj.java')
-rw-r--r--test/core/src/lombok/RunTestsViaEcj.java4
1 files changed, 3 insertions, 1 deletions
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<CompilerMessage> messages, StringWriter result, File file, String encoding, Map<String, String> formatPreferences) throws Throwable {
+ public boolean transformCode(Collection<CompilerMessage> messages, StringWriter result, File file, String encoding, Map<String, String> formatPreferences) throws Throwable {
final AtomicReference<CompilationResult> compilationResult_ = new AtomicReference<CompilationResult>();
final AtomicReference<CompilationUnitDeclaration> compilationUnit_ = new AtomicReference<CompilationUnitDeclaration>();
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) {