diff options
author | Roel Spilker <r.spilker@gmail.com> | 2014-12-10 00:04:31 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2014-12-10 00:04:31 +0100 |
commit | 091f6ee83a98ea2a303164380aeeac093ceb8e47 (patch) | |
tree | 1958a4cad2da27ad0995ff3cb808c40798bd4b21 /test/core/src/lombok/AbstractRunTests.java | |
parent | 671f2a202e9e8b597dccc30a7ac4c8a1fbdb3625 (diff) | |
download | lombok-091f6ee83a98ea2a303164380aeeac093ceb8e47.tar.gz lombok-091f6ee83a98ea2a303164380aeeac093ceb8e47.tar.bz2 lombok-091f6ee83a98ea2a303164380aeeac093ceb8e47.zip |
[issue #759] delombok now plays nicely with exotic characters, encodings, and backslash U escapes.
Diffstat (limited to 'test/core/src/lombok/AbstractRunTests.java')
-rw-r--r-- | test/core/src/lombok/AbstractRunTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/src/lombok/AbstractRunTests.java b/test/core/src/lombok/AbstractRunTests.java index a1f535b4..85d4d4f3 100644 --- a/test/core/src/lombok/AbstractRunTests.java +++ b/test/core/src/lombok/AbstractRunTests.java @@ -75,7 +75,7 @@ public abstract class AbstractRunTests { } }); - transformCode(messages, writer, file); + transformCode(messages, writer, file, sourceDirectives.getSpecifiedEncoding()); compare(file.getName(), expected, writer.toString(), messages, params.printErrors(), sourceDirectives.isSkipCompareContent() || expected.isSkipCompareContent()); return true; @@ -97,7 +97,7 @@ public abstract class AbstractRunTests { return 8; } - protected abstract void transformCode(Collection<CompilerMessage> messages, StringWriter result, File file) throws Throwable; + protected abstract void transformCode(Collection<CompilerMessage> messages, StringWriter result, File file, String encoding) throws Throwable; protected String readFile(File file) throws IOException { BufferedReader reader; |