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

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

Issue 1060713005: rename completion computer to contributor (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 5 years, 8 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: pkg/analysis_server/test/services/completion/invocation_computer_test.dart
diff --git a/pkg/analysis_server/test/services/completion/invocation_computer_test.dart b/pkg/analysis_server/test/services/completion/invocation_computer_test.dart
index 16fcb6ec9ff0c3ee63bb66d97b57712b54f3fc33..a0c80219272757fda323f3338ab7d9d686bd4a0b 100644
--- a/pkg/analysis_server/test/services/completion/invocation_computer_test.dart
+++ b/pkg/analysis_server/test/services/completion/invocation_computer_test.dart
@@ -16,11 +16,11 @@ import 'completion_test_util.dart';
main() {
groupSep = ' | ';
- runReflectiveTests(InvocationComputerTest);
+ runReflectiveTests(PrefixedElementContributorTest);
}
@reflectiveTest
-class InvocationComputerTest extends AbstractSelectorSuggestionTest {
+class PrefixedElementContributorTest extends AbstractSelectorSuggestionTest {
@override
CompletionSuggestion assertSuggestInvocationField(String name, String type,
{int relevance: DART_RELEVANCE_DEFAULT, bool isDeprecated: false}) {
@@ -70,8 +70,8 @@ void f(Derived d) {
}
@override
- void setUpComputer() {
- computer = new InvocationComputer();
+ void setUpContributor() {
+ contributor = new PrefixedElementContributor();
}
test_generic_field() {

Powered by Google App Engine
This is Rietveld 408576698