| OLD | NEW |
| 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 import 'dart:async'; | 5 import 'dart:async'; |
| 6 import 'dart:convert'; | 6 import 'dart:convert'; |
| 7 import 'dart:typed_data'; | 7 import 'dart:typed_data'; |
| 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/source/package_map_resolver.dart'; | 11 import 'package:analyzer/source/package_map_resolver.dart'; |
| 12 import 'package:analyzer/src/dart/analysis/driver.dart' show PerformanceLog; | |
| 13 import 'package:analyzer/src/dart/analysis/file_state.dart'; | 12 import 'package:analyzer/src/dart/analysis/file_state.dart'; |
| 14 import 'package:analyzer/src/dart/analysis/top_level_declaration.dart'; | 13 import 'package:analyzer/src/dart/analysis/top_level_declaration.dart'; |
| 15 import 'package:analyzer/src/generated/engine.dart' | 14 import 'package:analyzer/src/generated/engine.dart' |
| 16 show AnalysisOptions, AnalysisOptionsImpl; | 15 show AnalysisOptions, AnalysisOptionsImpl; |
| 17 import 'package:analyzer/src/generated/source.dart'; | 16 import 'package:analyzer/src/generated/source.dart'; |
| 18 import 'package:convert/convert.dart'; | 17 import 'package:convert/convert.dart'; |
| 19 import 'package:crypto/crypto.dart'; | 18 import 'package:crypto/crypto.dart'; |
| 19 import 'package:front_end/src/base/performace_logger.dart'; |
| 20 import 'package:front_end/src/incremental/byte_store.dart'; | 20 import 'package:front_end/src/incremental/byte_store.dart'; |
| 21 import 'package:test/test.dart'; | 21 import 'package:test/test.dart'; |
| 22 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 22 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
| 23 import 'package:typed_mock/typed_mock.dart'; | 23 import 'package:typed_mock/typed_mock.dart'; |
| 24 | 24 |
| 25 import '../../context/mock_sdk.dart'; | 25 import '../../context/mock_sdk.dart'; |
| 26 | 26 |
| 27 main() { | 27 main() { |
| 28 defineReflectiveSuite(() { | 28 defineReflectiveSuite(() { |
| 29 defineReflectiveTests(FileSystemStateTest); | 29 defineReflectiveTests(FileSystemStateTest); |
| (...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 873 String _p(String path) => provider.convertPath(path); | 873 String _p(String path) => provider.convertPath(path); |
| 874 | 874 |
| 875 static String _md5(String content) { | 875 static String _md5(String content) { |
| 876 return hex.encode(md5.convert(UTF8.encode(content)).bytes); | 876 return hex.encode(md5.convert(UTF8.encode(content)).bytes); |
| 877 } | 877 } |
| 878 } | 878 } |
| 879 | 879 |
| 880 class _GeneratedUriResolverMock extends TypedMock implements UriResolver {} | 880 class _GeneratedUriResolverMock extends TypedMock implements UriResolver {} |
| 881 | 881 |
| 882 class _SourceMock extends TypedMock implements Source {} | 882 class _SourceMock extends TypedMock implements Source {} |
| OLD | NEW |