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

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

Issue 2986093002: Revert two Kernel changes that were causing test failures. (Closed)
Patch Set: Revert "Migrate language/async_backwards... ... language/async_star_take..." 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';
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 test_constExpr_pushReference_enum_field() async { 301 test_constExpr_pushReference_enum_field() async {
302 await super.test_constExpr_pushReference_enum_field(); 302 await super.test_constExpr_pushReference_enum_field();
303 } 303 }
304 304
305 @failingTest 305 @failingTest
306 test_constExpr_pushReference_enum_method() async { 306 test_constExpr_pushReference_enum_method() async {
307 await super.test_constExpr_pushReference_enum_method(); 307 await super.test_constExpr_pushReference_enum_method();
308 } 308 }
309 309
310 @failingTest 310 @failingTest
311 test_constructor_documented() async {
312 await super.test_constructor_documented();
313 }
314
315 @failingTest
311 test_constructor_initializers_assertInvocation() async { 316 test_constructor_initializers_assertInvocation() async {
312 await super.test_constructor_initializers_assertInvocation(); 317 await super.test_constructor_initializers_assertInvocation();
313 } 318 }
314 319
315 @failingTest 320 @failingTest
316 test_constructor_initializers_assertInvocation_message() async { 321 test_constructor_initializers_assertInvocation_message() async {
317 await super.test_constructor_initializers_assertInvocation_message(); 322 await super.test_constructor_initializers_assertInvocation_message();
318 } 323 }
319 324
320 @failingTest 325 @failingTest
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 test_exportImport_configurations_useFirst() async { 477 test_exportImport_configurations_useFirst() async {
473 await super.test_exportImport_configurations_useFirst(); 478 await super.test_exportImport_configurations_useFirst();
474 } 479 }
475 480
476 @failingTest 481 @failingTest
477 test_field_covariant() async { 482 test_field_covariant() async {
478 await super.test_field_covariant(); 483 await super.test_field_covariant();
479 } 484 }
480 485
481 @failingTest 486 @failingTest
487 test_field_documented() async {
488 await super.test_field_documented();
489 }
490
491 @failingTest
482 test_field_propagatedType_final_dep_inLib() async { 492 test_field_propagatedType_final_dep_inLib() async {
483 await super.test_field_propagatedType_final_dep_inLib(); 493 await super.test_field_propagatedType_final_dep_inLib();
484 } 494 }
485 495
486 @failingTest 496 @failingTest
487 test_field_propagatedType_final_dep_inPart() async { 497 test_field_propagatedType_final_dep_inPart() async {
488 await super.test_field_propagatedType_final_dep_inPart(); 498 await super.test_field_propagatedType_final_dep_inPart();
489 } 499 }
490 500
491 @failingTest 501 @failingTest
492 test_field_propagatedType_final_noDep_instance() async { 502 test_field_propagatedType_final_noDep_instance() async {
493 await super.test_field_propagatedType_final_noDep_instance(); 503 await super.test_field_propagatedType_final_noDep_instance();
494 } 504 }
495 505
496 @failingTest 506 @failingTest
507 test_function_documented() async {
508 await super.test_function_documented();
509 }
510
511 @failingTest
497 test_function_entry_point_in_export_hidden() async { 512 test_function_entry_point_in_export_hidden() async {
498 await super.test_function_entry_point_in_export_hidden(); 513 await super.test_function_entry_point_in_export_hidden();
499 } 514 }
500 515
501 @failingTest 516 @failingTest
502 test_function_entry_point_in_part() async { 517 test_function_entry_point_in_part() async {
503 await super.test_function_entry_point_in_part(); 518 await super.test_function_entry_point_in_part();
504 } 519 }
505 520
506 @failingTest 521 @failingTest
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 test_getElement_setter() async { 572 test_getElement_setter() async {
558 await super.test_getElement_setter(); 573 await super.test_getElement_setter();
559 } 574 }
560 575
561 @failingTest 576 @failingTest
562 test_getElement_unit() async { 577 test_getElement_unit() async {
563 await super.test_getElement_unit(); 578 await super.test_getElement_unit();
564 } 579 }
565 580
566 @failingTest 581 @failingTest
582 test_getter_documented() async {
583 await super.test_getter_documented();
584 }
585
586 @failingTest
567 test_import_configurations_useDefault() async { 587 test_import_configurations_useDefault() async {
568 await super.test_import_configurations_useDefault(); 588 await super.test_import_configurations_useDefault();
569 } 589 }
570 590
571 @failingTest 591 @failingTest
572 test_import_configurations_useFirst() async { 592 test_import_configurations_useFirst() async {
573 await super.test_import_configurations_useFirst(); 593 await super.test_import_configurations_useFirst();
574 } 594 }
575 595
576 @failingTest 596 @failingTest
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 test_library_documented_lines() async { 717 test_library_documented_lines() async {
698 await super.test_library_documented_lines(); 718 await super.test_library_documented_lines();
699 } 719 }
700 720
701 @failingTest 721 @failingTest
702 test_library_documented_stars() async { 722 test_library_documented_stars() async {
703 await super.test_library_documented_stars(); 723 await super.test_library_documented_stars();
704 } 724 }
705 725
706 @failingTest 726 @failingTest
727 test_main_typedef() async {
728 await super.test_main_typedef();
729 }
730
731 @failingTest
707 test_metadata_classTypeAlias() async { 732 test_metadata_classTypeAlias() async {
708 await super.test_metadata_classTypeAlias(); 733 await super.test_metadata_classTypeAlias();
709 } 734 }
710 735
711 @failingTest 736 @failingTest
712 test_metadata_enumDeclaration() async { 737 test_metadata_enumDeclaration() async {
713 await super.test_metadata_enumDeclaration(); 738 await super.test_metadata_enumDeclaration();
714 } 739 }
715 740
716 @failingTest 741 @failingTest
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 test_metadata_simpleFormalParameter() async { 794 test_metadata_simpleFormalParameter() async {
770 await super.test_metadata_simpleFormalParameter(); 795 await super.test_metadata_simpleFormalParameter();
771 } 796 }
772 797
773 @failingTest 798 @failingTest
774 test_metadata_simpleFormalParameter_withDefault() async { 799 test_metadata_simpleFormalParameter_withDefault() async {
775 await super.test_metadata_simpleFormalParameter_withDefault(); 800 await super.test_metadata_simpleFormalParameter_withDefault();
776 } 801 }
777 802
778 @failingTest 803 @failingTest
804 test_metadata_typeParameter_ofTypedef() async {
805 await super.test_metadata_typeParameter_ofTypedef();
806 }
807
808 @failingTest
809 test_method_documented() async {
810 await super.test_method_documented();
811 }
812
813 @failingTest
779 test_parameter_checked() async { 814 test_parameter_checked() async {
780 await super.test_parameter_checked(); 815 await super.test_parameter_checked();
781 } 816 }
782 817
783 @failingTest 818 @failingTest
784 test_parameter_checked_inherited() async { 819 test_parameter_checked_inherited() async {
785 await super.test_parameter_checked_inherited(); 820 await super.test_parameter_checked_inherited();
786 } 821 }
787 822
788 @failingTest 823 @failingTest
(...skipping 20 matching lines...) Expand all
809 test_parts_invalidUri_nullStringValue() async { 844 test_parts_invalidUri_nullStringValue() async {
810 await super.test_parts_invalidUri_nullStringValue(); 845 await super.test_parts_invalidUri_nullStringValue();
811 } 846 }
812 847
813 @failingTest 848 @failingTest
814 test_setter_covariant() async { 849 test_setter_covariant() async {
815 await super.test_setter_covariant(); 850 await super.test_setter_covariant();
816 } 851 }
817 852
818 @failingTest 853 @failingTest
854 test_setter_documented() async {
855 await super.test_setter_documented();
856 }
857
858 @failingTest
819 test_syntheticFunctionType_inGenericClass() async { 859 test_syntheticFunctionType_inGenericClass() async {
820 await super.test_syntheticFunctionType_inGenericClass(); 860 await super.test_syntheticFunctionType_inGenericClass();
821 } 861 }
822 862
823 @failingTest 863 @failingTest
824 test_syntheticFunctionType_noArguments() async { 864 test_syntheticFunctionType_noArguments() async {
825 await super.test_syntheticFunctionType_noArguments(); 865 await super.test_syntheticFunctionType_noArguments();
826 } 866 }
827 867
828 @failingTest 868 @failingTest
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 test_typedef_generic() async { 989 test_typedef_generic() async {
950 await super.test_typedef_generic(); 990 await super.test_typedef_generic();
951 } 991 }
952 992
953 @failingTest 993 @failingTest
954 test_typedef_generic_asFieldType() async { 994 test_typedef_generic_asFieldType() async {
955 await super.test_typedef_generic_asFieldType(); 995 await super.test_typedef_generic_asFieldType();
956 } 996 }
957 997
958 @failingTest 998 @failingTest
999 test_typedef_parameter_parameters() async {
1000 await super.test_typedef_parameter_parameters();
1001 }
1002
1003 @failingTest
1004 test_typedef_parameter_parameters_in_generic_class() async {
1005 await super.test_typedef_parameter_parameters_in_generic_class();
1006 }
1007
1008 @failingTest
1009 test_typedef_parameter_return_type() async {
1010 await super.test_typedef_parameter_return_type();
1011 }
1012
1013 @failingTest
1014 test_typedef_parameter_type() async {
1015 await super.test_typedef_parameter_type();
1016 }
1017
1018 @failingTest
1019 test_typedef_parameter_type_generic() async {
1020 await super.test_typedef_parameter_type_generic();
1021 }
1022
1023 @failingTest
1024 test_typedef_parameters() async {
1025 await super.test_typedef_parameters();
1026 }
1027
1028 @failingTest
1029 test_typedef_return_type() async {
1030 await super.test_typedef_return_type();
1031 }
1032
1033 @failingTest
1034 test_typedef_return_type_generic() async {
1035 await super.test_typedef_return_type_generic();
1036 }
1037
1038 @failingTest
1039 test_typedef_return_type_implicit() async {
1040 await super.test_typedef_return_type_implicit();
1041 }
1042
1043 @failingTest
1044 test_typedef_return_type_void() async {
1045 await super.test_typedef_return_type_void();
1046 }
1047
1048 @failingTest
1049 test_typedef_type_parameters() async {
1050 await super.test_typedef_type_parameters();
1051 }
1052
1053 @failingTest
959 test_typedef_type_parameters_bound() async { 1054 test_typedef_type_parameters_bound() async {
960 await super.test_typedef_type_parameters_bound(); 1055 await super.test_typedef_type_parameters_bound();
961 } 1056 }
962 1057
963 @failingTest 1058 @failingTest
964 test_typedef_type_parameters_bound_recursive() async { 1059 test_typedef_type_parameters_bound_recursive() async {
965 await super.test_typedef_type_parameters_bound_recursive(); 1060 await super.test_typedef_type_parameters_bound_recursive();
966 } 1061 }
967 1062
968 @failingTest 1063 @failingTest
969 test_typedef_type_parameters_bound_recursive2() async { 1064 test_typedef_type_parameters_bound_recursive2() async {
970 await super.test_typedef_type_parameters_bound_recursive2(); 1065 await super.test_typedef_type_parameters_bound_recursive2();
971 } 1066 }
972 1067
973 @failingTest 1068 @failingTest
1069 test_typedef_type_parameters_f_bound_complex() async {
1070 await super.test_typedef_type_parameters_f_bound_complex();
1071 }
1072
1073 @failingTest
1074 test_typedef_type_parameters_f_bound_simple() async {
1075 await super.test_typedef_type_parameters_f_bound_simple();
1076 }
1077
1078 @failingTest
974 @fastaProblem 1079 @fastaProblem
975 test_unresolved_annotation_instanceCreation_argument_super() async { 1080 test_unresolved_annotation_instanceCreation_argument_super() async {
976 // https://github.com/dart-lang/sdk/issues/30267 1081 // https://github.com/dart-lang/sdk/issues/30267
977 await super.test_unresolved_annotation_instanceCreation_argument_super(); 1082 await super.test_unresolved_annotation_instanceCreation_argument_super();
978 } 1083 }
979 1084
980 @failingTest 1085 @failingTest
981 @fastaProblem 1086 @fastaProblem
982 test_unresolved_annotation_instanceCreation_argument_this() async { 1087 test_unresolved_annotation_instanceCreation_argument_this() async {
983 // https://github.com/dart-lang/sdk/issues/30267 1088 // https://github.com/dart-lang/sdk/issues/30267
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 test_unresolved_import() async { 1174 test_unresolved_import() async {
1070 await super.test_unresolved_import(); 1175 await super.test_unresolved_import();
1071 } 1176 }
1072 1177
1073 @failingTest 1178 @failingTest
1074 test_unresolved_part() async { 1179 test_unresolved_part() async {
1075 await super.test_unresolved_part(); 1180 await super.test_unresolved_part();
1076 } 1181 }
1077 1182
1078 @failingTest 1183 @failingTest
1184 test_variable_documented() async {
1185 await super.test_variable_documented();
1186 }
1187
1188 @failingTest
1079 test_variable_getterInLib_setterInPart() async { 1189 test_variable_getterInLib_setterInPart() async {
1080 await super.test_variable_getterInLib_setterInPart(); 1190 await super.test_variable_getterInLib_setterInPart();
1081 } 1191 }
1082 1192
1083 @failingTest 1193 @failingTest
1084 test_variable_getterInPart_setterInLib() async { 1194 test_variable_getterInPart_setterInLib() async {
1085 await super.test_variable_getterInPart_setterInLib(); 1195 await super.test_variable_getterInPart_setterInLib();
1086 } 1196 }
1087 1197
1088 @failingTest 1198 @failingTest
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 @override 1249 @override
1140 Future<List<int>> readAsBytes() async { 1250 Future<List<int>> readAsBytes() async {
1141 return file.readAsBytesSync(); 1251 return file.readAsBytesSync();
1142 } 1252 }
1143 1253
1144 @override 1254 @override
1145 Future<String> readAsString() async { 1255 Future<String> readAsString() async {
1146 return file.readAsStringSync(); 1256 return file.readAsStringSync();
1147 } 1257 }
1148 } 1258 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/summary/resynthesize_common.dart ('k') | pkg/front_end/lib/src/fasta/builder/field_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698