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

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

Issue 2988113002: Add Class.isEnum to Kernel and use it to resynthesize enums in Analyzer. (Closed)
Patch Set: 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 test_const_topLevel_super() async { 291 test_const_topLevel_super() async {
292 await super.test_const_topLevel_super(); 292 await super.test_const_topLevel_super();
293 } 293 }
294 294
295 @failingTest 295 @failingTest
296 test_const_topLevel_this() async { 296 test_const_topLevel_this() async {
297 await super.test_const_topLevel_this(); 297 await super.test_const_topLevel_this();
298 } 298 }
299 299
300 @failingTest 300 @failingTest
301 test_constExpr_pushReference_enum_field() async {
302 await super.test_constExpr_pushReference_enum_field();
303 }
304
305 @failingTest
306 test_constExpr_pushReference_enum_method() async {
307 await super.test_constExpr_pushReference_enum_method();
308 }
309
310 @failingTest
311 test_constructor_initializers_assertInvocation() async { 301 test_constructor_initializers_assertInvocation() async {
312 await super.test_constructor_initializers_assertInvocation(); 302 await super.test_constructor_initializers_assertInvocation();
313 } 303 }
314 304
315 @failingTest 305 @failingTest
316 test_constructor_initializers_assertInvocation_message() async { 306 test_constructor_initializers_assertInvocation_message() async {
317 await super.test_constructor_initializers_assertInvocation_message(); 307 await super.test_constructor_initializers_assertInvocation_message();
318 } 308 }
319 309
320 @failingTest 310 @failingTest
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 test_enum_documented() async { 397 test_enum_documented() async {
408 await super.test_enum_documented(); 398 await super.test_enum_documented();
409 } 399 }
410 400
411 @failingTest 401 @failingTest
412 test_enum_value_documented() async { 402 test_enum_value_documented() async {
413 await super.test_enum_value_documented(); 403 await super.test_enum_value_documented();
414 } 404 }
415 405
416 @failingTest 406 @failingTest
417 test_enum_values() async {
418 await super.test_enum_values();
419 }
420
421 @failingTest
422 test_enums() async {
423 await super.test_enums();
424 }
425
426 @failingTest
427 test_error_extendsEnum() async { 407 test_error_extendsEnum() async {
428 await super.test_error_extendsEnum(); 408 await super.test_error_extendsEnum();
429 } 409 }
430 410
431 @failingTest 411 @failingTest
432 test_executable_parameter_type_typedef() async { 412 test_executable_parameter_type_typedef() async {
433 await super.test_executable_parameter_type_typedef(); 413 await super.test_executable_parameter_type_typedef();
434 } 414 }
435 415
436 @failingTest 416 @failingTest
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 test_type_reference_part_to_other_part() async { 919 test_type_reference_part_to_other_part() async {
940 await super.test_type_reference_part_to_other_part(); 920 await super.test_type_reference_part_to_other_part();
941 } 921 }
942 922
943 @failingTest 923 @failingTest
944 test_type_reference_part_to_part() async { 924 test_type_reference_part_to_part() async {
945 await super.test_type_reference_part_to_part(); 925 await super.test_type_reference_part_to_part();
946 } 926 }
947 927
948 @failingTest 928 @failingTest
949 test_type_reference_to_enum() async {
950 await super.test_type_reference_to_enum();
951 }
952
953 @failingTest
954 test_type_reference_to_import() async { 929 test_type_reference_to_import() async {
955 await super.test_type_reference_to_import(); 930 await super.test_type_reference_to_import();
956 } 931 }
957 932
958 @failingTest 933 @failingTest
959 test_type_reference_to_import_export() async { 934 test_type_reference_to_import_export() async {
960 await super.test_type_reference_to_import_export(); 935 await super.test_type_reference_to_import_export();
961 } 936 }
962 937
963 @failingTest 938 @failingTest
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1279 @override 1254 @override
1280 Future<List<int>> readAsBytes() async { 1255 Future<List<int>> readAsBytes() async {
1281 return file.readAsBytesSync(); 1256 return file.readAsBytesSync();
1282 } 1257 }
1283 1258
1284 @override 1259 @override
1285 Future<String> readAsString() async { 1260 Future<String> readAsString() async {
1286 return file.readAsStringSync(); 1261 return file.readAsStringSync();
1287 } 1262 }
1288 } 1263 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/kernel/resynthesize.dart ('k') | pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698