 Chromium Code Reviews
 Chromium Code Reviews Issue 3010833002:
  Add the new @notForDart2 annotation and mark several tests.  (Closed)
    
  
    Issue 3010833002:
  Add the new @notForDart2 annotation and mark several tests.  (Closed) 
  | 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 e367175c3332027221482102f9144b6b4046deda..8b3f8cc4d32354282af380a2096142f61acb70fc 100644 | 
| --- a/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart | 
| +++ b/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart | 
| @@ -39,6 +39,11 @@ main() { | 
| /// Tests marked with this annotation fail because of a Fasta problem. | 
| const fastaProblem = const Object(); | 
| +/// Tests marked with this annotation fail because they test features that | 
| +/// were implemented in Analyzer, but are intentionally not included into | 
| +/// the Dart 2.0 plan, so will not be implemented by Fasta. | 
| +const notForDart2 = const Object(); | 
| + | 
| @reflectiveTest | 
| class ResynthesizeKernelStrongTest extends ResynthesizeTest { | 
| static const DEBUG = false; | 
| @@ -311,26 +316,31 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { | 
| } | 
| @failingTest | 
| + @notForDart2 | 
| 
Brian Wilkerson
2017/08/31 20:10:10
Are you sure? Both `parseImport` and `parseExport`
 | 
| test_export_configurations_useDefault() async { | 
| await super.test_export_configurations_useDefault(); | 
| } | 
| @failingTest | 
| + @notForDart2 | 
| test_export_configurations_useFirst() async { | 
| await super.test_export_configurations_useFirst(); | 
| } | 
| @failingTest | 
| + @notForDart2 | 
| test_export_configurations_useSecond() async { | 
| await super.test_export_configurations_useSecond(); | 
| } | 
| @failingTest | 
| + @notForDart2 | 
| test_exportImport_configurations_useDefault() async { | 
| await super.test_exportImport_configurations_useDefault(); | 
| } | 
| @failingTest | 
| + @notForDart2 | 
| test_exportImport_configurations_useFirst() async { | 
| await super.test_exportImport_configurations_useFirst(); | 
| } | 
| @@ -346,11 +356,13 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { | 
| } | 
| @failingTest | 
| + @notForDart2 | 
| test_import_configurations_useDefault() async { | 
| await super.test_import_configurations_useDefault(); | 
| } | 
| @failingTest | 
| + @notForDart2 | 
| test_import_configurations_useFirst() async { | 
| await super.test_import_configurations_useFirst(); | 
| } |