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

Side by Side Diff: pkg/analysis_server/test/src/plugin/plugin_watcher_test.dart

Issue 2883633002: Extract PerformanceLogger from AnalysisDriver. (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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 import 'dart:typed_data'; 6 import 'dart:typed_data';
7 7
8 import 'package:analysis_server/src/plugin/plugin_manager.dart'; 8 import 'package:analysis_server/src/plugin/plugin_manager.dart';
9 import 'package:analysis_server/src/plugin/plugin_watcher.dart'; 9 import 'package:analysis_server/src/plugin/plugin_watcher.dart';
10 import 'package:analyzer/context/context_root.dart'; 10 import 'package:analyzer/context/context_root.dart';
11 import 'package:analyzer/file_system/memory_file_system.dart'; 11 import 'package:analyzer/file_system/memory_file_system.dart';
12 import 'package:analyzer/source/package_map_resolver.dart'; 12 import 'package:analyzer/source/package_map_resolver.dart';
13 import 'package:analyzer/src/dart/analysis/driver.dart'; 13 import 'package:analyzer/src/dart/analysis/driver.dart';
14 import 'package:analyzer/src/dart/analysis/file_state.dart'; 14 import 'package:analyzer/src/dart/analysis/file_state.dart';
15 import 'package:analyzer/src/generated/engine.dart' show AnalysisOptionsImpl; 15 import 'package:analyzer/src/generated/engine.dart' show AnalysisOptionsImpl;
16 import 'package:analyzer/src/generated/source.dart'; 16 import 'package:analyzer/src/generated/source.dart';
17 import 'package:front_end/src/base/performace_logger.dart';
17 import 'package:front_end/src/incremental/byte_store.dart'; 18 import 'package:front_end/src/incremental/byte_store.dart';
18 import 'package:path/path.dart' as path; 19 import 'package:path/path.dart' as path;
19 import 'package:test/test.dart'; 20 import 'package:test/test.dart';
20 import 'package:test_reflective_loader/test_reflective_loader.dart'; 21 import 'package:test_reflective_loader/test_reflective_loader.dart';
21 22
22 import '../../mock_sdk.dart'; 23 import '../../mock_sdk.dart';
23 24
24 main() { 25 main() {
25 defineReflectiveSuite(() { 26 defineReflectiveSuite(() {
26 defineReflectiveTests(PluginWatcherTest); 27 defineReflectiveTests(PluginWatcherTest);
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 return null; 148 return null;
148 } 149 }
149 150
150 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); 151 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
151 152
152 @override 153 @override
153 void removedContextRoot(ContextRoot contextRoot) { 154 void removedContextRoot(ContextRoot contextRoot) {
154 removedContextRoots.add(contextRoot); 155 removedContextRoots.add(contextRoot);
155 } 156 }
156 } 157 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698