| 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 707888a005f8ecde6b205b4de3468d41e52b7ec9..136ca094b6e9b573b0ad35f69561e4f49b4a1090 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
|
| @@ -109,6 +109,23 @@ public class CollectionSemanticProcessorTest extends SemanticProcessorTest {
|
| "}");
|
| }
|
|
|
| + public void test_Collection() throws Exception {
|
| + translateSingleFile(
|
| + "// filler filler filler filler filler filler filler filler filler filler",
|
| + "package test;",
|
| + "import java.util.Collection;",
|
| + "public class Test {",
|
| + " public void main(Collection<String> items) {",
|
| + " }",
|
| + "}");
|
| + runProcessor();
|
| + assertFormattedSource(//
|
| + "class Test {",
|
| + " void main(Iterable<String> items) {",
|
| + " }",
|
| + "}");
|
| + }
|
| +
|
| public void test_Collection_isEmpty() throws Exception {
|
| translateSingleFile(
|
| "// filler filler filler filler filler filler filler filler filler filler",
|
|
|