| 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'; |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 test_function_entry_point_in_export_hidden() async { | 497 test_function_entry_point_in_export_hidden() async { |
| 498 await super.test_function_entry_point_in_export_hidden(); | 498 await super.test_function_entry_point_in_export_hidden(); |
| 499 } | 499 } |
| 500 | 500 |
| 501 @failingTest | 501 @failingTest |
| 502 test_function_entry_point_in_part() async { | 502 test_function_entry_point_in_part() async { |
| 503 await super.test_function_entry_point_in_part(); | 503 await super.test_function_entry_point_in_part(); |
| 504 } | 504 } |
| 505 | 505 |
| 506 @failingTest | 506 @failingTest |
| 507 test_function_parameter_parameters() async { | |
| 508 await super.test_function_parameter_parameters(); | |
| 509 } | |
| 510 | |
| 511 @failingTest | |
| 512 test_function_type_parameter_with_function_typed_parameter() async { | |
| 513 await super.test_function_type_parameter_with_function_typed_parameter(); | |
| 514 } | |
| 515 | |
| 516 @failingTest | |
| 517 test_futureOr() async { | 507 test_futureOr() async { |
| 518 await super.test_futureOr(); | 508 await super.test_futureOr(); |
| 519 } | 509 } |
| 520 | 510 |
| 521 @failingTest | 511 @failingTest |
| 522 test_futureOr_const() async { | 512 test_futureOr_const() async { |
| 523 await super.test_futureOr_const(); | 513 await super.test_futureOr_const(); |
| 524 } | 514 } |
| 525 | 515 |
| 526 @failingTest | 516 @failingTest |
| 527 test_futureOr_inferred() async { | 517 test_futureOr_inferred() async { |
| 528 await super.test_futureOr_inferred(); | 518 await super.test_futureOr_inferred(); |
| 529 } | 519 } |
| 530 | 520 |
| 531 @failingTest | 521 @failingTest |
| 532 test_genericFunction_asFunctionTypedParameterReturnType() async { | |
| 533 await super.test_genericFunction_asFunctionTypedParameterReturnType(); | |
| 534 } | |
| 535 | |
| 536 @failingTest | |
| 537 test_genericFunction_asGenericFunctionReturnType() async { | 522 test_genericFunction_asGenericFunctionReturnType() async { |
| 538 await super.test_genericFunction_asGenericFunctionReturnType(); | 523 await super.test_genericFunction_asGenericFunctionReturnType(); |
| 539 } | 524 } |
| 540 | 525 |
| 541 @failingTest | 526 @failingTest |
| 527 test_genericFunction_asParameterType() async { |
| 528 await super.test_genericFunction_asParameterType(); |
| 529 } |
| 530 |
| 531 @failingTest |
| 542 test_getElement_constructor_named() async { | 532 test_getElement_constructor_named() async { |
| 543 await super.test_getElement_constructor_named(); | 533 await super.test_getElement_constructor_named(); |
| 544 } | 534 } |
| 545 | 535 |
| 546 @failingTest | 536 @failingTest |
| 547 test_getElement_constructor_unnamed() async { | 537 test_getElement_constructor_unnamed() async { |
| 548 await super.test_getElement_constructor_unnamed(); | 538 await super.test_getElement_constructor_unnamed(); |
| 549 } | 539 } |
| 550 | 540 |
| 551 @failingTest | 541 @failingTest |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 .test_inferred_type_refers_to_function_typed_parameter_type_generic_clas
s(); | 624 .test_inferred_type_refers_to_function_typed_parameter_type_generic_clas
s(); |
| 635 } | 625 } |
| 636 | 626 |
| 637 @failingTest | 627 @failingTest |
| 638 test_inferred_type_refers_to_method_function_typed_parameter_type() async { | 628 test_inferred_type_refers_to_method_function_typed_parameter_type() async { |
| 639 await super | 629 await super |
| 640 .test_inferred_type_refers_to_method_function_typed_parameter_type(); | 630 .test_inferred_type_refers_to_method_function_typed_parameter_type(); |
| 641 } | 631 } |
| 642 | 632 |
| 643 @failingTest | 633 @failingTest |
| 644 test_inferred_type_refers_to_nested_function_typed_param() async { | |
| 645 await super.test_inferred_type_refers_to_nested_function_typed_param(); | |
| 646 } | |
| 647 | |
| 648 @failingTest | |
| 649 test_inferred_type_refers_to_nested_function_typed_param_named() async { | |
| 650 await super | |
| 651 .test_inferred_type_refers_to_nested_function_typed_param_named(); | |
| 652 } | |
| 653 | |
| 654 @failingTest | |
| 655 test_inferred_type_refers_to_setter_function_typed_parameter_type() async { | 634 test_inferred_type_refers_to_setter_function_typed_parameter_type() async { |
| 656 await super | 635 await super |
| 657 .test_inferred_type_refers_to_setter_function_typed_parameter_type(); | 636 .test_inferred_type_refers_to_setter_function_typed_parameter_type(); |
| 658 } | 637 } |
| 659 | 638 |
| 660 @failingTest | 639 @failingTest |
| 661 test_inferredType_definedInSdkLibraryPart() async { | 640 test_inferredType_definedInSdkLibraryPart() async { |
| 662 await super.test_inferredType_definedInSdkLibraryPart(); | 641 await super.test_inferredType_definedInSdkLibraryPart(); |
| 663 } | 642 } |
| 664 | 643 |
| 665 @failingTest | 644 @failingTest |
| 666 test_inferredType_usesSyntheticFunctionType_functionTypedParam() async { | |
| 667 await super | |
| 668 .test_inferredType_usesSyntheticFunctionType_functionTypedParam(); | |
| 669 } | |
| 670 | |
| 671 @failingTest | |
| 672 test_instantiateToBounds_boundRefersToEarlierTypeArgument() async { | 645 test_instantiateToBounds_boundRefersToEarlierTypeArgument() async { |
| 673 await super.test_instantiateToBounds_boundRefersToEarlierTypeArgument(); | 646 await super.test_instantiateToBounds_boundRefersToEarlierTypeArgument(); |
| 674 } | 647 } |
| 675 | 648 |
| 676 @failingTest | 649 @failingTest |
| 677 test_instantiateToBounds_boundRefersToItself() async { | 650 test_instantiateToBounds_boundRefersToItself() async { |
| 678 await super.test_instantiateToBounds_boundRefersToItself(); | 651 await super.test_instantiateToBounds_boundRefersToItself(); |
| 679 } | 652 } |
| 680 | 653 |
| 681 @failingTest | 654 @failingTest |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 test_metadata_simpleFormalParameter_withDefault() async { | 802 test_metadata_simpleFormalParameter_withDefault() async { |
| 830 await super.test_metadata_simpleFormalParameter_withDefault(); | 803 await super.test_metadata_simpleFormalParameter_withDefault(); |
| 831 } | 804 } |
| 832 | 805 |
| 833 @failingTest | 806 @failingTest |
| 834 test_metadata_typeParameter_ofTypedef() async { | 807 test_metadata_typeParameter_ofTypedef() async { |
| 835 await super.test_metadata_typeParameter_ofTypedef(); | 808 await super.test_metadata_typeParameter_ofTypedef(); |
| 836 } | 809 } |
| 837 | 810 |
| 838 @failingTest | 811 @failingTest |
| 839 test_method_type_parameter_with_function_typed_parameter() async { | |
| 840 await super.test_method_type_parameter_with_function_typed_parameter(); | |
| 841 } | |
| 842 | |
| 843 @failingTest | |
| 844 test_parameter_checked() async { | 812 test_parameter_checked() async { |
| 845 await super.test_parameter_checked(); | 813 await super.test_parameter_checked(); |
| 846 } | 814 } |
| 847 | 815 |
| 848 @failingTest | 816 @failingTest |
| 849 test_parameter_checked_inherited() async { | 817 test_parameter_checked_inherited() async { |
| 850 await super.test_parameter_checked_inherited(); | 818 await super.test_parameter_checked_inherited(); |
| 851 } | 819 } |
| 852 | 820 |
| 853 @failingTest | 821 @failingTest |
| 854 test_parameter_covariant() async { | 822 test_parameter_covariant() async { |
| 855 await super.test_parameter_covariant(); | 823 await super.test_parameter_covariant(); |
| 856 } | 824 } |
| 857 | 825 |
| 858 @failingTest | 826 @failingTest |
| 859 test_parameter_covariant_inherited() async { | 827 test_parameter_covariant_inherited() async { |
| 860 await super.test_parameter_covariant_inherited(); | 828 await super.test_parameter_covariant_inherited(); |
| 861 } | 829 } |
| 862 | 830 |
| 863 @failingTest | 831 @failingTest |
| 864 test_parameter_parameters() async { | |
| 865 await super.test_parameter_parameters(); | |
| 866 } | |
| 867 | |
| 868 @failingTest | |
| 869 test_parameter_parameters_in_generic_class() async { | |
| 870 await super.test_parameter_parameters_in_generic_class(); | |
| 871 } | |
| 872 | |
| 873 @failingTest | |
| 874 test_parts() async { | 832 test_parts() async { |
| 875 await super.test_parts(); | 833 await super.test_parts(); |
| 876 } | 834 } |
| 877 | 835 |
| 878 @failingTest | 836 @failingTest |
| 879 test_parts_invalidUri() async { | 837 test_parts_invalidUri() async { |
| 880 await super.test_parts_invalidUri(); | 838 await super.test_parts_invalidUri(); |
| 881 } | 839 } |
| 882 | 840 |
| 883 @failingTest | 841 @failingTest |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1279 @override | 1237 @override |
| 1280 Future<List<int>> readAsBytes() async { | 1238 Future<List<int>> readAsBytes() async { |
| 1281 return file.readAsBytesSync(); | 1239 return file.readAsBytesSync(); |
| 1282 } | 1240 } |
| 1283 | 1241 |
| 1284 @override | 1242 @override |
| 1285 Future<String> readAsString() async { | 1243 Future<String> readAsString() async { |
| 1286 return file.readAsStringSync(); | 1244 return file.readAsStringSync(); |
| 1287 } | 1245 } |
| 1288 } | 1246 } |
| OLD | NEW |