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

Unified Diff: pkg/analysis_server/test/services/completion/completion_computer_test.dart

Issue 1240433008: Renames to move closer to the new API (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « pkg/analysis_server/test/domain_completion_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/services/completion/completion_computer_test.dart
diff --git a/pkg/analysis_server/test/services/completion/completion_computer_test.dart b/pkg/analysis_server/test/services/completion/completion_computer_test.dart
index 5b23689c94c4febcdbba405733d55ebb99b7ae80..e69eaba098973b49162dd4888f0ba86656651226 100644
--- a/pkg/analysis_server/test/services/completion/completion_computer_test.dart
+++ b/pkg/analysis_server/test/services/completion/completion_computer_test.dart
@@ -7,7 +7,7 @@ library test.services.completion.suggestion;
import 'dart:async';
import 'package:analysis_server/completion/completion_core.dart'
- show CompletionRequest;
+ show CompletionRequest, CompletionResult;
import 'package:analysis_server/src/analysis_server.dart';
import 'package:analysis_server/src/protocol.dart';
import 'package:analysis_server/src/services/completion/completion_manager.dart';
@@ -93,7 +93,7 @@ class DartCompletionManagerTest extends AbstractSingleUnitTest {
case 1:
contributor1.assertCalls(context, source, 0, searchEngine);
contributor2.assertCalls(context, source, 0, searchEngine);
- expect(r.last, isFalse);
+ expect(r.isLast, isFalse);
expect(r.suggestions, hasLength(1));
expect(r.suggestions, contains(suggestion1));
resolveLibrary();
@@ -101,7 +101,7 @@ class DartCompletionManagerTest extends AbstractSingleUnitTest {
case 2:
contributor1.assertFull(0);
contributor2.assertFull(1);
- expect(r.last, isTrue);
+ expect(r.isLast, isTrue);
expect(r.suggestions, hasLength(2));
expect(r.suggestions, contains(suggestion1));
expect(r.suggestions, contains(suggestion2));
@@ -132,7 +132,7 @@ class DartCompletionManagerTest extends AbstractSingleUnitTest {
case 1:
contributor1.assertCalls(context, source, 0, searchEngine);
contributor2.assertCalls(context, source, 0, searchEngine);
- expect(r.last, isTrue);
+ expect(r.isLast, isTrue);
expect(r.suggestions, hasLength(2));
expect(r.suggestions, contains(suggestion1));
expect(r.suggestions, contains(suggestion2));
« no previous file with comments | « pkg/analysis_server/test/domain_completion_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698