| Index: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/CollectionSemanticProcessorTest.java
|
| diff --git a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/CollectionSemanticProcessorTest.java b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/CollectionSemanticProcessorTest.java
|
| index 778d3c6ec4e8fba4a0e236b7b6897cf2e81345b9..15c38ea584b67a57f87a291be308277386d8e3a6 100644
|
| --- a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/CollectionSemanticProcessorTest.java
|
| +++ b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/CollectionSemanticProcessorTest.java
|
| @@ -457,6 +457,23 @@ public class CollectionSemanticProcessorTest extends SemanticProcessorTest {
|
| "}");
|
| }
|
|
|
| + public void test_List_set() throws Exception {
|
| + translateSingleFile(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "package test;",
|
| + "import java.util.List;",
|
| + "public class Test {",
|
| + " public String foo(List<String> items) {",
|
| + " return items.set(2, 42);",
|
| + " }",
|
| + "}");
|
| + runProcessor();
|
| + assertFormattedSource(//
|
| + "class Test {",
|
| + " String foo(List<String> items) => javaListSet(items, 2, 42);",
|
| + "}");
|
| + }
|
| +
|
| public void test_List_toArray() throws Exception {
|
| translateSingleFile(
|
| "// filler filler filler filler filler filler filler filler filler filler",
|
|
|