| // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| import 'package:test_reflective_loader/test_reflective_loader.dart'; |
| |
| import 'driver_resolution_test.dart'; |
| |
| main() { |
| defineReflectiveSuite(() { |
| // TODO(scheglov): Restore similar test coverage when the front-end API |
| // allows it. See https://github.com/dart-lang/sdk/issues/32258. |
| // defineReflectiveTests(AnalysisDriverResolutionTest_Kernel); |
| }); |
| } |
| |
| /// Tests marked with this annotations fail because we either have not triaged |
| /// them, or know that this is an analyzer problem. |
| const potentialAnalyzerProblem = const Object(); |
| |
| @reflectiveTest |
| class AnalysisDriverResolutionTest_Kernel extends AnalysisDriverResolutionTest { |
| @override |
| bool get useCFE => true; |
| |
| @override |
| @failingTest |
| @FastaProblem('https://github.com/dart-lang/sdk/issues/31605') |
| test_constructor_redirected_generic() async { |
| await super.test_constructor_redirected_generic(); |
| } |
| } |
| |
| /// Tests marked with this annotation fail because of a Fasta problem. |
| class FastaProblem { |
| const FastaProblem(String issueUri); |
| } |