OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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:analysis_server/plugin/protocol/protocol.dart'; | 5 import 'package:analysis_server/plugin/protocol/protocol.dart'; |
6 import 'package:test/test.dart'; | 6 import 'package:test/test.dart'; |
7 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 7 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
8 | 8 |
9 import '../integration_tests.dart'; | 9 import '../integration_tests.dart'; |
10 | 10 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 } | 77 } |
78 abstract class B { | 78 abstract class B { |
79 void foo() {} | 79 void foo() {} |
80 } | 80 } |
81 abstract class C extends B { | 81 abstract class C extends B { |
82 void bar() { | 82 void bar() { |
83 super.foo(); | 83 super.foo(); |
84 } | 84 } |
85 } | 85 } |
86 '''); | 86 '''); |
| 87 // ignore: deprecated_member_use |
87 await sendAnalysisUpdateOptions( | 88 await sendAnalysisUpdateOptions( |
88 new AnalysisOptions()..enableSuperMixins = true); | 89 new AnalysisOptions()..enableSuperMixins = true); |
89 standardAnalysisSetup(); | 90 standardAnalysisSetup(); |
90 await analysisFinished; | 91 await analysisFinished; |
91 expect(currentAnalysisErrors[pathname], isList); | 92 expect(currentAnalysisErrors[pathname], isList); |
92 List<AnalysisError> errors = currentAnalysisErrors[pathname]; | 93 List<AnalysisError> errors = currentAnalysisErrors[pathname]; |
93 expect(errors, isEmpty); | 94 expect(errors, isEmpty); |
94 } | 95 } |
95 } | 96 } |
96 | 97 |
97 @reflectiveTest | 98 @reflectiveTest |
98 class AnalysisErrorIntegrationTest | 99 class AnalysisErrorIntegrationTest |
99 extends AbstractAnalysisErrorIntegrationTest {} | 100 extends AbstractAnalysisErrorIntegrationTest {} |
OLD | NEW |