| 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 267a9c6ed4fd0e508dcdf165f1b631194857ea15..778d3c6ec4e8fba4a0e236b7b6897cf2e81345b9 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
|
| @@ -376,6 +376,32 @@ public class CollectionSemanticProcessorTest extends SemanticProcessorTest {
|
| "}");
|
| }
|
|
|
| + public void test_List_containsAll() throws Exception {
|
| + translateSingleFile(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "package test;",
|
| + "import java.util.List;",
|
| + "import java.util.ArrayList;",
|
| + "public class Test {",
|
| + " public void testA(List<String> items, List<String> c) {",
|
| + " items.containsAll(c);",
|
| + " }",
|
| + " public void testB(ArrayList<String> items, List<String> c) {",
|
| + " items.containsAll(c);",
|
| + " }",
|
| + "}");
|
| + runProcessor();
|
| + assertFormattedSource(
|
| + "class Test {",
|
| + " void testA(List<String> items, List<String> c) {",
|
| + " javaCollectionContainsAll(items, c);",
|
| + " }",
|
| + " void testB(List<String> items, List<String> c) {",
|
| + " javaCollectionContainsAll(items, c);",
|
| + " }",
|
| + "}");
|
| + }
|
| +
|
| public void test_List_get() throws Exception {
|
| translateSingleFile(
|
| "// filler filler filler filler filler filler filler filler filler filler",
|
|
|