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

Unified Diff: pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart

Issue 2978353002: Resynthesize field formal parameters from Kernel. (Closed)
Patch Set: Use VariableDeclaration.isFieldFormal Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/test/src/summary/resynthesize_common.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart b/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart
index abe486c95164269eed02268371ed4c44e425d5a9..12cada7c40caf5f567c87aa8bd0a07b78493d5cb 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart
@@ -26,7 +26,6 @@ import 'package:front_end/src/incremental/byte_store.dart';
import 'package:front_end/src/incremental/kernel_driver.dart';
import 'package:kernel/kernel.dart' as kernel;
import 'package:kernel/target/targets.dart';
-import 'package:kernel/type_environment.dart' as kernel;
import 'package:package_config/packages.dart';
import 'package:path/path.dart' as pathos;
import 'package:test_reflective_loader/test_reflective_loader.dart';
@@ -145,81 +144,13 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
}
@failingTest
- test_class_constructor_field_formal_dynamic_dynamic() async {
- await super.test_class_constructor_field_formal_dynamic_dynamic();
- }
-
- @failingTest
- test_class_constructor_field_formal_dynamic_typed() async {
- await super.test_class_constructor_field_formal_dynamic_typed();
- }
-
- @failingTest
- test_class_constructor_field_formal_dynamic_untyped() async {
- await super.test_class_constructor_field_formal_dynamic_untyped();
- }
-
- @failingTest
test_class_constructor_field_formal_multiple_matching_fields() async {
+ // Fasta does not generate the class.
+ // main() with a fatal error is generated instead.
await super.test_class_constructor_field_formal_multiple_matching_fields();
}
@failingTest
- test_class_constructor_field_formal_no_matching_field() async {
- await super.test_class_constructor_field_formal_no_matching_field();
- }
-
- @failingTest
- test_class_constructor_field_formal_typed_dynamic() async {
- await super.test_class_constructor_field_formal_typed_dynamic();
- }
-
- @failingTest
- test_class_constructor_field_formal_typed_typed() async {
- await super.test_class_constructor_field_formal_typed_typed();
- }
-
- @failingTest
- test_class_constructor_field_formal_typed_untyped() async {
- await super.test_class_constructor_field_formal_typed_untyped();
- }
-
- @failingTest
- test_class_constructor_field_formal_untyped_dynamic() async {
- await super.test_class_constructor_field_formal_untyped_dynamic();
- }
-
- @failingTest
- test_class_constructor_field_formal_untyped_typed() async {
- await super.test_class_constructor_field_formal_untyped_typed();
- }
-
- @failingTest
- test_class_constructor_field_formal_untyped_untyped() async {
- await super.test_class_constructor_field_formal_untyped_untyped();
- }
-
- @failingTest
- test_class_constructor_fieldFormal_named_noDefault() async {
- await super.test_class_constructor_fieldFormal_named_noDefault();
- }
-
- @failingTest
- test_class_constructor_fieldFormal_named_withDefault() async {
- await super.test_class_constructor_fieldFormal_named_withDefault();
- }
-
- @failingTest
- test_class_constructor_fieldFormal_optional_noDefault() async {
- await super.test_class_constructor_fieldFormal_optional_noDefault();
- }
-
- @failingTest
- test_class_constructor_fieldFormal_optional_withDefault() async {
- await super.test_class_constructor_fieldFormal_optional_withDefault();
- }
-
- @failingTest
test_class_documented_tripleSlash() async {
await super.test_class_documented_tripleSlash();
}
@@ -432,28 +363,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
}
@failingTest
- test_const_parameterDefaultValue_initializingFormal_functionTyped() async {
- await super
- .test_const_parameterDefaultValue_initializingFormal_functionTyped();
- }
-
- @failingTest
- test_const_parameterDefaultValue_initializingFormal_named() async {
- await super.test_const_parameterDefaultValue_initializingFormal_named();
- }
-
- @failingTest
- test_const_parameterDefaultValue_initializingFormal_positional() async {
- await super
- .test_const_parameterDefaultValue_initializingFormal_positional();
- }
-
- @failingTest
- test_const_parameterDefaultValue_normal() async {
- await super.test_const_parameterDefaultValue_normal();
- }
-
- @failingTest
test_const_reference_staticField_imported() async {
await super.test_const_reference_staticField_imported();
}
@@ -910,11 +819,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
}
@failingTest
- test_field_formal_param_inferred_type_implicit() async {
- await super.test_field_formal_param_inferred_type_implicit();
- }
-
- @failingTest
test_field_propagatedType_final_dep_inLib() async {
await super.test_field_propagatedType_final_dep_inLib();
}
@@ -1674,26 +1578,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
}
@failingTest
- test_parameterTypeNotInferred_constructor() async {
- await super.test_parameterTypeNotInferred_constructor();
- }
-
- @failingTest
- test_parameterTypeNotInferred_initializingFormal() async {
- await super.test_parameterTypeNotInferred_initializingFormal();
- }
-
- @failingTest
- test_parameterTypeNotInferred_staticMethod() async {
- await super.test_parameterTypeNotInferred_staticMethod();
- }
-
- @failingTest
- test_parameterTypeNotInferred_topLevelFunction() async {
- await super.test_parameterTypeNotInferred_topLevelFunction();
- }
-
- @failingTest
test_parts() async {
await super.test_parts();
}
« no previous file with comments | « pkg/analyzer/test/src/summary/resynthesize_common.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698