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

Side by Side Diff: pkg/analysis_server/test/integration/analysis/error_driver_test.dart

Issue 2820893002: Make the analysis server integration tests driver only. (Closed)
Patch Set: uncomment test code Created 3 years, 8 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 import 'package:test_reflective_loader/test_reflective_loader.dart';
6
7 import 'error_test.dart';
8
9 main() {
10 defineReflectiveSuite(() {
11 defineReflectiveTests(AnalysisErrorIntegrationTest_Driver);
12 });
13 }
14
15 @reflectiveTest
16 class AnalysisErrorIntegrationTest_Driver
17 extends AbstractAnalysisErrorIntegrationTest {
18 @override
19 bool get enableNewAnalysisDriver => true;
20
21 @failingTest
22 test_super_mixins_enabled() async {
23 // We see errors here with the new driver (#28870).
24 // Expected: empty
25 // Actual: [
26 // AnalysisError:{"severity":"ERROR","type":"COMPILE_TIME_ERROR","locatio n":{"file":"/var/folders/00/0w95r000h01000cxqpysvccm003j4q/T/analysisServerfbuOQ b/test.dart","offset":31,"length":1,"startLine":1,"startColumn":32},"message":"T he class 'C' can't be used as a mixin because it extends a class other than Obje ct.","correction":"","code":"mixin_inherits_from_not_object","hasFix":false},
27 // AnalysisError:{"severity":"ERROR","type":"COMPILE_TIME_ERROR","locatio n":{"file":"/var/folders/00/0w95r000h01000cxqpysvccm003j4q/T/analysisServerfbuOQ b/test.dart","offset":31,"length":1,"startLine":1,"startColumn":32},"message":"T he class 'C' can't be used as a mixin because it references 'super'.","correctio n":"","code":"mixin_references_super","hasFix":false}
28 // ]
29 return super.test_super_mixins_enabled();
30 }
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698