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

Side by Side Diff: pkg/analysis_server/test/analysis_abstract.dart

Issue 2897653002: Add the ability to whitelist plugins (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 6
7 import 'package:analysis_server/protocol/protocol.dart'; 7 import 'package:analysis_server/protocol/protocol.dart';
8 import 'package:analysis_server/protocol/protocol_generated.dart' 8 import 'package:analysis_server/protocol/protocol_generated.dart'
9 hide AnalysisOptions; 9 hide AnalysisOptions;
10 import 'package:analysis_server/src/analysis_server.dart'; 10 import 'package:analysis_server/src/analysis_server.dart';
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 void setAnalysisUpdateContentParams( 358 void setAnalysisUpdateContentParams(
359 plugin.AnalysisUpdateContentParams params) { 359 plugin.AnalysisUpdateContentParams params) {
360 analysisUpdateContentParams = params; 360 analysisUpdateContentParams = params;
361 } 361 }
362 362
363 @override 363 @override
364 Future<List<Null>> stopAll() async { 364 Future<List<Null>> stopAll() async {
365 fail('Unexpected invocation of stopAll'); 365 fail('Unexpected invocation of stopAll');
366 return null; 366 return null;
367 } 367 }
368
369 @override
370 void whitelistEverything() {
371 fail('Unexpected invocation of whitelistEverything');
372 }
368 } 373 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/plugin/plugin_manager.dart ('k') | pkg/analysis_server/test/src/plugin/plugin_manager_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698