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

Side by Side Diff: pkg/analysis_server/test/single_context_manager_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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 library test.analysis_server.src.single_context_manager; 5 library test.analysis_server.src.single_context_manager;
6 6
7 import 'dart:core'; 7 import 'dart:core';
8 8
9 import 'package:analysis_server/src/single_context_manager.dart'; 9 import 'package:analysis_server/src/single_context_manager.dart';
10 import 'package:analysis_server/src/utilities/null_string_sink.dart'; 10 import 'package:analysis_server/src/utilities/null_string_sink.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/src/dart/analysis/driver.dart'; 12 import 'package:analyzer/src/dart/analysis/driver.dart';
13 import 'package:analyzer/src/generated/engine.dart'; 13 import 'package:analyzer/src/generated/engine.dart';
14 import 'package:analyzer/src/generated/sdk.dart'; 14 import 'package:analyzer/src/generated/sdk.dart';
15 import 'package:analyzer/src/generated/source.dart'; 15 import 'package:analyzer/src/generated/source.dart';
16 import 'package:analyzer/src/generated/source_io.dart'; 16 import 'package:analyzer/src/generated/source_io.dart';
17 import 'package:analyzer/src/util/glob.dart'; 17 import 'package:analyzer/src/util/glob.dart';
18 import 'package:front_end/src/base/performace_logger.dart';
18 import 'package:path/path.dart' as path; 19 import 'package:path/path.dart' as path;
19 import 'package:plugin/manager.dart'; 20 import 'package:plugin/manager.dart';
20 import 'package:plugin/plugin.dart'; 21 import 'package:plugin/plugin.dart';
21 import 'package:test/test.dart'; 22 import 'package:test/test.dart';
22 import 'package:test_reflective_loader/test_reflective_loader.dart'; 23 import 'package:test_reflective_loader/test_reflective_loader.dart';
23 24
24 import 'context_manager_test.dart' show TestContextManagerCallbacks; 25 import 'context_manager_test.dart' show TestContextManagerCallbacks;
25 import 'mocks.dart'; 26 import 'mocks.dart';
26 27
27 main() { 28 main() {
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 manager.processPlugins(plugins); 541 manager.processPlugins(plugins);
541 } 542 }
542 } 543 }
543 544
544 class TestUriResolver extends UriResolver { 545 class TestUriResolver extends UriResolver {
545 @override 546 @override
546 Source resolveAbsolute(Uri uri, [Uri actualUri]) { 547 Source resolveAbsolute(Uri uri, [Uri actualUri]) {
547 return null; 548 return null;
548 } 549 }
549 } 550 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698