| OLD | NEW |
| 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/libraries_specification.dart'; |
| 17 import 'package:front_end/src/base/performace_logger.dart'; | 18 import 'package:front_end/src/base/performace_logger.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/byte_store/byte_store.dart'; |
| 20 import 'package:front_end/src/fasta/uri_translator_impl.dart'; | 21 import 'package:front_end/src/fasta/uri_translator_impl.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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 test_import_deferred() async { | 494 test_import_deferred() async { |
| 495 await super.test_import_deferred(); | 495 await super.test_import_deferred(); |
| 496 } | 496 } |
| 497 | 497 |
| 498 @failingTest | 498 @failingTest |
| 499 test_import_invalidUri_metadata() async { | 499 test_import_invalidUri_metadata() async { |
| 500 await super.test_import_invalidUri_metadata(); | 500 await super.test_import_invalidUri_metadata(); |
| 501 } | 501 } |
| 502 | 502 |
| 503 @failingTest | 503 @failingTest |
| 504 test_import_self() async { | |
| 505 await super.test_import_self(); | |
| 506 } | |
| 507 | |
| 508 @failingTest | |
| 509 test_inferred_type_refers_to_function_typed_param_of_typedef() async { | 504 test_inferred_type_refers_to_function_typed_param_of_typedef() async { |
| 510 await super.test_inferred_type_refers_to_function_typed_param_of_typedef(); | 505 await super.test_inferred_type_refers_to_function_typed_param_of_typedef(); |
| 511 } | 506 } |
| 512 | 507 |
| 513 @failingTest | 508 @failingTest |
| 514 test_inferred_type_refers_to_function_typed_parameter_type_generic_class() asy
nc { | 509 test_inferred_type_refers_to_function_typed_parameter_type_generic_class() asy
nc { |
| 515 await super | 510 await super |
| 516 .test_inferred_type_refers_to_function_typed_parameter_type_generic_clas
s(); | 511 .test_inferred_type_refers_to_function_typed_parameter_type_generic_clas
s(); |
| 517 } | 512 } |
| 518 | 513 |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 @override | 946 @override |
| 952 Future<List<int>> readAsBytes() async { | 947 Future<List<int>> readAsBytes() async { |
| 953 return file.readAsBytesSync(); | 948 return file.readAsBytesSync(); |
| 954 } | 949 } |
| 955 | 950 |
| 956 @override | 951 @override |
| 957 Future<String> readAsString() async { | 952 Future<String> readAsString() async { |
| 958 return file.readAsStringSync(); | 953 return file.readAsStringSync(); |
| 959 } | 954 } |
| 960 } | 955 } |
| OLD | NEW |