Index: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java |
diff --git a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java |
index 69e0b16ac37158cebdb4327b7487776b5d568a94..677a88a3177f886db599b1fb2123461cc91b9455 100644 |
--- a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java |
+++ b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java |
@@ -615,21 +615,23 @@ public class ObjectSemanticProcessorTest extends SemanticProcessorTest { |
"}"); |
} |
- public void test_PrintWriter_printlnString() throws Exception { |
+ public void test_PrintWriter_println() throws Exception { |
translateSingleFile( |
"// filler filler filler filler filler filler filler filler filler filler", |
"package test;", |
"import java.io.PrintWriter;", |
"public class Test {", |
- " public void main(PrintWriter p) {", |
- " p.println(\"msg\");", |
+ " public void main(PrintWriter p, String s) {", |
+ " p.println();", |
+ " p.println(s);", |
" }", |
"}"); |
runProcessor(); |
assertFormattedSource(// |
"class Test {", |
- " void main(PrintWriter p) {", |
- " p.printlnObject(\"msg\");", |
+ " void main(PrintWriter p, String s) {", |
+ " p.newLine();", |
+ " p.println(s);", |
" }", |
"}"); |
} |