OLD | NEW |
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 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 5 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
6 | 6 |
7 import 'static_type_warning_code_test.dart'; | 7 import 'static_type_warning_code_test.dart'; |
8 | 8 |
9 main() { | 9 main() { |
10 defineReflectiveSuite(() { | 10 defineReflectiveSuite(() { |
11 defineReflectiveTests(StaticTypeWarningCodeTest_Driver); | 11 defineReflectiveTests(StaticTypeWarningCodeTest_Driver); |
12 defineReflectiveTests(StrongModeStaticTypeWarningCodeTest_Driver); | 12 defineReflectiveTests(StrongModeStaticTypeWarningCodeTest_Driver); |
13 }); | 13 }); |
14 } | 14 } |
15 | 15 |
16 @reflectiveTest | 16 @reflectiveTest |
17 class StaticTypeWarningCodeTest_Driver extends StaticTypeWarningCodeTest { | 17 class StaticTypeWarningCodeTest_Driver extends StaticTypeWarningCodeTest { |
18 @override | 18 @override |
19 bool get enableNewAnalysisDriver => true; | 19 bool get enableNewAnalysisDriver => true; |
20 } | 20 } |
21 | 21 |
22 @reflectiveTest | 22 @reflectiveTest |
23 class StrongModeStaticTypeWarningCodeTest_Driver | 23 class StrongModeStaticTypeWarningCodeTest_Driver |
24 extends StrongModeStaticTypeWarningCodeTest { | 24 extends StrongModeStaticTypeWarningCodeTest { |
25 @override | 25 @override |
26 bool get enableNewAnalysisDriver => true; | 26 bool get enableNewAnalysisDriver => true; |
27 | |
28 @failingTest | |
29 @override | |
30 test_genericMethodWrongNumberOfTypeArguments() { | |
31 return super.test_genericMethodWrongNumberOfTypeArguments(); | |
32 } | |
33 } | 27 } |
OLD | NEW |