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

Side by Side Diff: pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart

Issue 2990323002: Move byte_store.dart and file_byte_store.dart to their own subdirectory. (Closed)
Patch Set: Created 3 years, 4 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 library analyzer.test.src.summary.resynthesize_kernel_test; 5 library analyzer.test.src.summary.resynthesize_kernel_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analyzer/file_system/file_system.dart'; 9 import 'package:analyzer/file_system/file_system.dart';
10 import 'package:analyzer/file_system/memory_file_system.dart'; 10 import 'package:analyzer/file_system/memory_file_system.dart';
11 import 'package:analyzer/src/dart/element/element.dart'; 11 import 'package:analyzer/src/dart/element/element.dart';
12 import 'package:analyzer/src/generated/source.dart'; 12 import 'package:analyzer/src/generated/source.dart';
13 import 'package:analyzer/src/kernel/resynthesize.dart'; 13 import 'package:analyzer/src/kernel/resynthesize.dart';
14 import 'package:analyzer/src/summary/resynthesize.dart'; 14 import 'package:analyzer/src/summary/resynthesize.dart';
15 import 'package:front_end/compiler_options.dart'; 15 import 'package:front_end/compiler_options.dart';
16 import 'package:front_end/file_system.dart'; 16 import 'package:front_end/file_system.dart';
17 import 'package:front_end/src/base/performace_logger.dart'; 17 import 'package:front_end/src/base/performace_logger.dart';
18 import 'package:front_end/src/base/libraries_specification.dart'; 18 import 'package:front_end/src/base/libraries_specification.dart';
19 import 'package:front_end/src/base/processed_options.dart'; 19 import 'package:front_end/src/base/processed_options.dart';
20 import 'package:front_end/src/fasta/uri_translator_impl.dart'; 20 import 'package:front_end/src/fasta/uri_translator_impl.dart';
21 import 'package:front_end/src/incremental/byte_store.dart'; 21 import 'package:front_end/src/byte_store/byte_store.dart';
22 import 'package:front_end/src/incremental/kernel_driver.dart'; 22 import 'package:front_end/src/incremental/kernel_driver.dart';
23 import 'package:kernel/kernel.dart' as kernel; 23 import 'package:kernel/kernel.dart' as kernel;
24 import 'package:kernel/target/targets.dart'; 24 import 'package:kernel/target/targets.dart';
25 import 'package:kernel/text/ast_to_text.dart' as kernel; 25 import 'package:kernel/text/ast_to_text.dart' as kernel;
26 import 'package:kernel/type_environment.dart' as kernel; 26 import 'package:kernel/type_environment.dart' as kernel;
27 import 'package:package_config/packages.dart'; 27 import 'package:package_config/packages.dart';
28 import 'package:path/path.dart' as pathos; 28 import 'package:path/path.dart' as pathos;
29 import 'package:test_reflective_loader/test_reflective_loader.dart'; 29 import 'package:test_reflective_loader/test_reflective_loader.dart';
30 30
31 import '../context/mock_sdk.dart'; 31 import '../context/mock_sdk.dart';
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 @override 951 @override
952 Future<List<int>> readAsBytes() async { 952 Future<List<int>> readAsBytes() async {
953 return file.readAsBytesSync(); 953 return file.readAsBytesSync();
954 } 954 }
955 955
956 @override 956 @override
957 Future<String> readAsString() async { 957 Future<String> readAsString() async {
958 return file.readAsStringSync(); 958 return file.readAsStringSync();
959 } 959 }
960 } 960 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698