| OLD | NEW |
| 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_constants.dart'; | 8 import 'package:analysis_server/protocol/protocol_constants.dart'; |
| 9 import 'package:analysis_server/protocol/protocol_generated.dart' | 9 import 'package:analysis_server/protocol/protocol_generated.dart' |
| 10 hide AnalysisOptions; | 10 hide AnalysisOptions; |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 return broadcastResults ?? <PluginInfo, Future<plugin.Response>>{}; | 322 return broadcastResults ?? <PluginInfo, Future<plugin.Response>>{}; |
| 323 } | 323 } |
| 324 | 324 |
| 325 @override | 325 @override |
| 326 Future<List<Future<plugin.Response>>> broadcastWatchEvent( | 326 Future<List<Future<plugin.Response>>> broadcastWatchEvent( |
| 327 WatchEvent watchEvent) async { | 327 WatchEvent watchEvent) async { |
| 328 return <Future<plugin.Response>>[]; | 328 return <Future<plugin.Response>>[]; |
| 329 } | 329 } |
| 330 | 330 |
| 331 @override | 331 @override |
| 332 List<String> pathsFor(String pluginPath) { |
| 333 fail('Unexpected invocation of pathsFor'); |
| 334 return null; |
| 335 } |
| 336 |
| 337 @override |
| 332 List<PluginInfo> pluginsForContextRoot(analyzer.ContextRoot contextRoot) { | 338 List<PluginInfo> pluginsForContextRoot(analyzer.ContextRoot contextRoot) { |
| 333 fail('Unexpected invocation of pluginsForContextRoot'); | 339 fail('Unexpected invocation of pluginsForContextRoot'); |
| 334 return null; | 340 return null; |
| 335 } | 341 } |
| 336 | 342 |
| 337 @override | 343 @override |
| 338 void removedContextRoot(analyzer.ContextRoot contextRoot) { | 344 void removedContextRoot(analyzer.ContextRoot contextRoot) { |
| 339 fail('Unexpected invocation of removedContextRoot'); | 345 fail('Unexpected invocation of removedContextRoot'); |
| 340 } | 346 } |
| 341 | 347 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 361 Future<List<Null>> stopAll() async { | 367 Future<List<Null>> stopAll() async { |
| 362 fail('Unexpected invocation of stopAll'); | 368 fail('Unexpected invocation of stopAll'); |
| 363 return null; | 369 return null; |
| 364 } | 370 } |
| 365 | 371 |
| 366 @override | 372 @override |
| 367 void whitelistEverything() { | 373 void whitelistEverything() { |
| 368 fail('Unexpected invocation of whitelistEverything'); | 374 fail('Unexpected invocation of whitelistEverything'); |
| 369 } | 375 } |
| 370 } | 376 } |
| OLD | NEW |