aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/src
diff options
context:
space:
mode:
authorunknown <roels@.tis.local>2009-11-26 17:12:41 +0100
committerunknown <roels@.tis.local>2009-11-26 17:12:41 +0100
commitf22021ca7808af2cd0ba03b7c34b8fd3758ff44b (patch)
tree4469642756c7f9b06686d8a703235ac701385b2b /test/delombok/src
parent6cd3b8a8ca4809efd2001473f31c881c9f2381ea (diff)
downloadlombok-f22021ca7808af2cd0ba03b7c34b8fd3758ff44b.tar.gz
lombok-f22021ca7808af2cd0ba03b7c34b8fd3758ff44b.tar.bz2
lombok-f22021ca7808af2cd0ba03b7c34b8fd3758ff44b.zip
Minor refactoring + added testcase for for-loop
Diffstat (limited to 'test/delombok/src')
-rw-r--r--test/delombok/src/lombok/delombok/TestSourceFiles.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/test/delombok/src/lombok/delombok/TestSourceFiles.java b/test/delombok/src/lombok/delombok/TestSourceFiles.java
index 90c9b543..374eeb8b 100644
--- a/test/delombok/src/lombok/delombok/TestSourceFiles.java
+++ b/test/delombok/src/lombok/delombok/TestSourceFiles.java
@@ -21,6 +21,8 @@
*/
package lombok.delombok;
+import static org.junit.Assert.fail;
+
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
@@ -31,11 +33,6 @@ import lombok.delombok.CommentPreservingParser.ParseResult;
import org.junit.BeforeClass;
import org.junit.Test;
-import static org.junit.Assert.*;
-
-import com.sun.tools.javac.main.OptionName;
-import com.sun.tools.javac.util.Context;
-import com.sun.tools.javac.util.Options;
public class TestSourceFiles {
@@ -48,9 +45,7 @@ public class TestSourceFiles {
@BeforeClass
public static void init() {
- Context c = new Context();
- Options.instance(c).put(OptionName.ENCODING, "utf-8");
- parser = new CommentPreservingParser(c);
+ parser = new CommentPreservingParser();
}
@Test