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

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

Issue 2990783002: Serialize typedef parameters (including function typed ones) to Kernel and use it to resynthesize t… (Closed)
Patch Set: Test for named parameters. 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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 test_library_documented_lines() async { 717 test_library_documented_lines() async {
718 await super.test_library_documented_lines(); 718 await super.test_library_documented_lines();
719 } 719 }
720 720
721 @failingTest 721 @failingTest
722 test_library_documented_stars() async { 722 test_library_documented_stars() async {
723 await super.test_library_documented_stars(); 723 await super.test_library_documented_stars();
724 } 724 }
725 725
726 @failingTest 726 @failingTest
727 test_main_typedef() async {
728 await super.test_main_typedef();
729 }
730
731 @failingTest
732 test_metadata_classTypeAlias() async { 727 test_metadata_classTypeAlias() async {
733 await super.test_metadata_classTypeAlias(); 728 await super.test_metadata_classTypeAlias();
734 } 729 }
735 730
736 @failingTest 731 @failingTest
737 test_metadata_enumDeclaration() async { 732 test_metadata_enumDeclaration() async {
738 await super.test_metadata_enumDeclaration(); 733 await super.test_metadata_enumDeclaration();
739 } 734 }
740 735
741 @failingTest 736 @failingTest
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 test_metadata_simpleFormalParameter() async { 789 test_metadata_simpleFormalParameter() async {
795 await super.test_metadata_simpleFormalParameter(); 790 await super.test_metadata_simpleFormalParameter();
796 } 791 }
797 792
798 @failingTest 793 @failingTest
799 test_metadata_simpleFormalParameter_withDefault() async { 794 test_metadata_simpleFormalParameter_withDefault() async {
800 await super.test_metadata_simpleFormalParameter_withDefault(); 795 await super.test_metadata_simpleFormalParameter_withDefault();
801 } 796 }
802 797
803 @failingTest 798 @failingTest
804 test_metadata_typeParameter_ofTypedef() async {
805 await super.test_metadata_typeParameter_ofTypedef();
806 }
807
808 @failingTest
809 test_method_documented() async { 799 test_method_documented() async {
810 await super.test_method_documented(); 800 await super.test_method_documented();
811 } 801 }
812 802
813 @failingTest 803 @failingTest
814 test_parameter_checked() async { 804 test_parameter_checked() async {
815 await super.test_parameter_checked(); 805 await super.test_parameter_checked();
816 } 806 }
817 807
818 @failingTest 808 @failingTest
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 test_typedef_generic() async { 979 test_typedef_generic() async {
990 await super.test_typedef_generic(); 980 await super.test_typedef_generic();
991 } 981 }
992 982
993 @failingTest 983 @failingTest
994 test_typedef_generic_asFieldType() async { 984 test_typedef_generic_asFieldType() async {
995 await super.test_typedef_generic_asFieldType(); 985 await super.test_typedef_generic_asFieldType();
996 } 986 }
997 987
998 @failingTest 988 @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
1054 test_typedef_type_parameters_bound() async { 989 test_typedef_type_parameters_bound() async {
1055 await super.test_typedef_type_parameters_bound(); 990 await super.test_typedef_type_parameters_bound();
1056 } 991 }
1057 992
1058 @failingTest 993 @failingTest
1059 test_typedef_type_parameters_bound_recursive() async { 994 test_typedef_type_parameters_bound_recursive() async {
1060 await super.test_typedef_type_parameters_bound_recursive(); 995 await super.test_typedef_type_parameters_bound_recursive();
1061 } 996 }
1062 997
1063 @failingTest 998 @failingTest
1064 test_typedef_type_parameters_bound_recursive2() async { 999 test_typedef_type_parameters_bound_recursive2() async {
1065 await super.test_typedef_type_parameters_bound_recursive2(); 1000 await super.test_typedef_type_parameters_bound_recursive2();
1066 } 1001 }
1067 1002
1068 @failingTest 1003 @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
1079 @fastaProblem 1004 @fastaProblem
1080 test_unresolved_annotation_instanceCreation_argument_super() async { 1005 test_unresolved_annotation_instanceCreation_argument_super() async {
1081 // https://github.com/dart-lang/sdk/issues/30267 1006 // https://github.com/dart-lang/sdk/issues/30267
1082 await super.test_unresolved_annotation_instanceCreation_argument_super(); 1007 await super.test_unresolved_annotation_instanceCreation_argument_super();
1083 } 1008 }
1084 1009
1085 @failingTest 1010 @failingTest
1086 @fastaProblem 1011 @fastaProblem
1087 test_unresolved_annotation_instanceCreation_argument_this() async { 1012 test_unresolved_annotation_instanceCreation_argument_this() async {
1088 // https://github.com/dart-lang/sdk/issues/30267 1013 // https://github.com/dart-lang/sdk/issues/30267
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
1249 @override 1174 @override
1250 Future<List<int>> readAsBytes() async { 1175 Future<List<int>> readAsBytes() async {
1251 return file.readAsBytesSync(); 1176 return file.readAsBytesSync();
1252 } 1177 }
1253 1178
1254 @override 1179 @override
1255 Future<String> readAsString() async { 1180 Future<String> readAsString() async {
1256 return file.readAsStringSync(); 1181 return file.readAsStringSync();
1257 } 1182 }
1258 } 1183 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698