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

Unified Diff: pkg/analysis_server/test/services/correction/assist_test.dart

Issue 3001413002: Remove uses of the old plugin model from the analysis server (Closed)
Patch Set: Created 3 years, 4 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/correction/assist_test.dart
diff --git a/pkg/analysis_server/test/services/correction/assist_test.dart b/pkg/analysis_server/test/services/correction/assist_test.dart
index 16364881c36e07ee29f915921ca05125f451f910..62a8d9338d03665ef8f4c313439a088a52a9f6a0 100644
--- a/pkg/analysis_server/test/services/correction/assist_test.dart
+++ b/pkg/analysis_server/test/services/correction/assist_test.dart
@@ -6,7 +6,6 @@ import 'dart:async';
import 'package:analysis_server/plugin/edit/assist/assist_core.dart';
import 'package:analysis_server/plugin/edit/assist/assist_dart.dart';
-import 'package:analysis_server/src/plugin/server_plugin.dart';
import 'package:analysis_server/src/services/correction/assist.dart';
import 'package:analysis_server/src/services/correction/assist_internal.dart';
import 'package:analyzer/dart/ast/ast.dart';
@@ -40,7 +39,6 @@ class AssistProcessorTest extends AbstractSingleUnitTest {
int offset;
int length;
- ServerPlugin plugin;
Assist assist;
SourceChange change;
String resultCode;
@@ -111,11 +109,8 @@ class AssistProcessorTest extends AbstractSingleUnitTest {
}
void processRequiredPlugins() {
- plugin = new ServerPlugin();
-
List<Plugin> plugins = <Plugin>[];
plugins.addAll(AnalysisEngine.instance.requiredPlugins);
- plugins.add(plugin);
ExtensionManager manager = new ExtensionManager();
manager.processPlugins(plugins);
« no previous file with comments | « pkg/analysis_server/test/edit/statement_completion_test.dart ('k') | pkg/analysis_server/test/socket_server_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698