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

Side by Side Diff: pkg/analyzer/test/generated/strong_mode_driver_test.dart

Issue 2656783002: Fix tests to run with the new analysis driver. (Closed)
Patch Set: Created 3 years, 10 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 import 'package:test_reflective_loader/test_reflective_loader.dart'; 5 import 'package:test_reflective_loader/test_reflective_loader.dart';
6 6
7 import 'strong_mode_test.dart'; 7 import 'strong_mode_test.dart';
8 8
9 main() { 9 main() {
10 defineReflectiveSuite(() { 10 defineReflectiveSuite(() {
11 defineReflectiveTests(StrongModeLocalInferenceTest_Driver); 11 defineReflectiveTests(StrongModeLocalInferenceTest_Driver);
12 defineReflectiveTests(StrongModeStaticTypeAnalyzer2Test_Driver); 12 defineReflectiveTests(StrongModeStaticTypeAnalyzer2Test_Driver);
13 defineReflectiveTests(StrongModeTypePropagationTest_Driver); 13 defineReflectiveTests(StrongModeTypePropagationTest_Driver);
14 }); 14 });
15 } 15 }
16 16
17 @reflectiveTest 17 @reflectiveTest
18 class StrongModeLocalInferenceTest_Driver 18 class StrongModeLocalInferenceTest_Driver extends StrongModeLocalInferenceTest {
19 extends StrongModeLocalInferenceTest {
20 @override 19 @override
21 bool get enableNewAnalysisDriver => true; 20 bool get enableNewAnalysisDriver => true;
22
23 @failingTest
24 @override
25 test_inference_hints() {
26 return super.test_inference_hints();
27 }
28 } 21 }
29 22
30 @reflectiveTest 23 @reflectiveTest
31 class StrongModeStaticTypeAnalyzer2Test_Driver 24 class StrongModeStaticTypeAnalyzer2Test_Driver
32 extends StrongModeStaticTypeAnalyzer2Test { 25 extends StrongModeStaticTypeAnalyzer2Test {
33 @override 26 @override
34 bool get enableNewAnalysisDriver => true; 27 bool get enableNewAnalysisDriver => true;
35 28
36 @failingTest 29 @failingTest
37 @override 30 @override
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 return super.test_genericMethod_tearoff(); 62 return super.test_genericMethod_tearoff();
70 } 63 }
71 } 64 }
72 65
73 @reflectiveTest 66 @reflectiveTest
74 class StrongModeTypePropagationTest_Driver 67 class StrongModeTypePropagationTest_Driver
75 extends StrongModeTypePropagationTest { 68 extends StrongModeTypePropagationTest {
76 @override 69 @override
77 bool get enableNewAnalysisDriver => true; 70 bool get enableNewAnalysisDriver => true;
78 } 71 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/generated/static_warning_code_test.dart ('k') | pkg/analyzer/test/generated/strong_mode_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698