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

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

Issue 2627093010: Report errors like IMPORT_OF_NON_LIBRARY with the new analysis driver. (Closed)
Patch Set: Created 3 years, 11 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 'compile_time_error_code_test.dart'; 7 import 'compile_time_error_code_test.dart';
8 8
9 main() { 9 main() {
10 defineReflectiveSuite(() { 10 defineReflectiveSuite(() {
11 defineReflectiveTests(CompileTimeErrorCodeTest_Driver); 11 defineReflectiveTests(CompileTimeErrorCodeTest_Driver);
12 }); 12 });
13 } 13 }
14 14
15 @reflectiveTest 15 @reflectiveTest
16 class CompileTimeErrorCodeTest_Driver extends CompileTimeErrorCodeTest { 16 class CompileTimeErrorCodeTest_Driver extends CompileTimeErrorCodeTest {
17 @override 17 @override
18 bool get enableNewAnalysisDriver => true; 18 bool get enableNewAnalysisDriver => true;
19 19
20 @failingTest 20 @failingTest
21 @override 21 @override
22 test_exportOfNonLibrary() {
23 return super.test_exportOfNonLibrary();
24 }
25
26 @failingTest
27 @override
28 test_fieldInitializerOutsideConstructor_inFunctionTypeParameter() { 22 test_fieldInitializerOutsideConstructor_inFunctionTypeParameter() {
29 return super 23 return super
30 .test_fieldInitializerOutsideConstructor_inFunctionTypeParameter(); 24 .test_fieldInitializerOutsideConstructor_inFunctionTypeParameter();
31 } 25 }
32 26
33 @failingTest 27 @failingTest
34 @override 28 @override
35 test_fromEnvironment_bool_badDefault_whenDefined() { 29 test_fromEnvironment_bool_badDefault_whenDefined() {
36 return super.test_fromEnvironment_bool_badDefault_whenDefined(); 30 return super.test_fromEnvironment_bool_badDefault_whenDefined();
37 } 31 }
38 32
39 @failingTest 33 @failingTest
40 @override 34 @override
41 test_importOfNonLibrary() {
42 return super.test_importOfNonLibrary();
43 }
44
45 @failingTest
46 @override
47 test_nonConstValueInInitializer_assert_condition() { 35 test_nonConstValueInInitializer_assert_condition() {
48 return super.test_nonConstValueInInitializer_assert_condition(); 36 return super.test_nonConstValueInInitializer_assert_condition();
49 } 37 }
50 38
51 @failingTest 39 @failingTest
52 @override 40 @override
53 test_nonConstValueInInitializer_assert_message() { 41 test_nonConstValueInInitializer_assert_message() {
54 return super.test_nonConstValueInInitializer_assert_message(); 42 return super.test_nonConstValueInInitializer_assert_message();
55 } 43 }
56 44
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 test_uriDoesNotExist_import_appears_after_deleting_target() { 77 test_uriDoesNotExist_import_appears_after_deleting_target() {
90 return super.test_uriDoesNotExist_import_appears_after_deleting_target(); 78 return super.test_uriDoesNotExist_import_appears_after_deleting_target();
91 } 79 }
92 80
93 @failingTest 81 @failingTest
94 @override 82 @override
95 test_uriWithInterpolation_nonConstant() { 83 test_uriWithInterpolation_nonConstant() {
96 return super.test_uriWithInterpolation_nonConstant(); 84 return super.test_uriWithInterpolation_nonConstant();
97 } 85 }
98 } 86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698