Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Unified Diff: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/ObjectSemanticProcessorTest.java

Issue 15675016: More fixes for java2dart and status files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 4d0da8e8d9c7da51903ef39b146b2cc52aa0e53a..daba32696b1d0338222f130e8c71940c2889a207 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
@@ -873,12 +873,16 @@ public class ObjectSemanticProcessorTest extends SemanticProcessorTest {
" public String testB(String s, String r) {",
" return s.replace('/', r);",
" }",
+ " public String testC(String s, char r) {",
+ " return s.replace('/', r);",
+ " }",
"}");
runProcessor();
assertFormattedSource(
"class Test {",
" String testA(String s, String p, String r) => s.replaceAll(p, r);",
" String testB(String s, String r) => s.replaceAll('/', r);",
+ " String testC(String s, int r) => s.replaceAll('/', new String.fromCharCode(r));",
"}");
}

Powered by Google App Engine
This is Rietveld 408576698