Index: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/CollectionSemanticProcessorTest.java |
=================================================================== |
--- editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/CollectionSemanticProcessorTest.java (revision 23549) |
+++ editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/processor/CollectionSemanticProcessorTest.java (working copy) |
@@ -309,6 +309,26 @@ |
"}"); |
} |
+ public void test_LinkedList() throws Exception { |
+ translateSingleFile( |
+ "// filler filler filler filler filler filler filler filler filler filler", |
+ "package test;", |
+ "import java.util.List;", |
+ "import java.util.LinkedList;", |
+ "public class Test {", |
+ " public void test() {", |
+ " LinkedList<String> result = new LinkedList<String>();", |
+ " }", |
+ "}"); |
+ runProcessor(); |
+ assertFormattedSource( |
+ "class Test {", |
+ " void test() {", |
+ " Queue<String> result = new Queue<String>();", |
+ " }", |
+ "}"); |
+ } |
+ |
public void test_List_addAtIndex() throws Exception { |
translateSingleFile( |
"// filler filler filler filler filler filler filler filler filler filler", |