| Index: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java
|
| index 1e7fcb6c602291037a16d06baaf1ae2662a30a86..81480c0b21aa9b391ef3ea116326ccc1110f22e2 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java
|
| @@ -711,6 +711,16 @@ public class CompletionEngineTest extends TestCase {
|
| test("class Foo {this.!1}", "1-Object");
|
| }
|
|
|
| + public void testCommentSnippets082() throws Exception {
|
| + String source = Joiner.on("\n").join(
|
| + "class HttpRequest {}",
|
| + "class HttpResponse {}",
|
| + "main() {",
|
| + " var v = (HttpRequest req, HttpResp!1)",
|
| + "}");
|
| + test(source, "1+HttpResponse");
|
| + }
|
| +
|
| public void testCompletion_alias_field() throws Exception {
|
| // fails because test framework does not set compilation unit
|
| // tests cannot check completion of any type defined in the test
|
|
|