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

Unified Diff: pkg/analyzer_plugin/test/plugin/fix_mixin_test.dart

Issue 2970203002: Remove references to AnalysisDriver from the plugin mixin classes (Closed)
Patch Set: Created 3 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
Index: pkg/analyzer_plugin/test/plugin/fix_mixin_test.dart
diff --git a/pkg/analyzer_plugin/test/plugin/fix_mixin_test.dart b/pkg/analyzer_plugin/test/plugin/fix_mixin_test.dart
index a22409bef7cb077d80fc5e559799ad011b2b7aeb..08a0e7650753c43fffd23019de6defaec374e8f8 100644
--- a/pkg/analyzer_plugin/test/plugin/fix_mixin_test.dart
+++ b/pkg/analyzer_plugin/test/plugin/fix_mixin_test.dart
@@ -85,7 +85,7 @@ class _TestServerPlugin extends MockServerPlugin with FixesMixin {
}
@override
- List<FixContributor> getFixContributors(AnalysisDriverGeneric driver) {
+ List<FixContributor> getFixContributors(String path) {
return <FixContributor>[
new _TestFixContributor(<PrioritizedSourceChange>[createChange()]),
new _TestFixContributor(
@@ -94,8 +94,7 @@ class _TestServerPlugin extends MockServerPlugin with FixesMixin {
}
@override
- Future<FixesRequest> getFixesRequest(EditGetFixesParams parameters,
- covariant AnalysisDriverGeneric driver) async {
+ Future<FixesRequest> getFixesRequest(EditGetFixesParams parameters) async {
int offset = parameters.offset;
AnalysisError error = new AnalysisError(
new MockSource(), 0, 0, CompileTimeErrorCode.AWAIT_IN_WRONG_CONTEXT);

Powered by Google App Engine
This is Rietveld 408576698