Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(428)

Unified Diff: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java

Issue 11824043: Add support for mixins to code completion. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java (revision 16889)
+++ editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/completion/CompletionEngineTest.java (working copy)
@@ -724,6 +724,21 @@
test("main() {(.!1)}", "1-Object");
}
+ public void testCommentSnippets084() throws Exception {
+ test(
+ "typedef X = !1Lis!2t with !3Ma!4p;",
+ "1+Map",
+ "2+List",
+ "2-Map",
+ "3+List",
+ "4+Map",
+ "4-List");
+ }
+
+ public void testCommentSnippets085() throws Exception {
+ test("class Z extends List with !1Ma!2p {}", "1+List", "1+Map", "2+Map", "2-List");
+ }
+
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
« no previous file with comments | « editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/CompletionEngine.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698