| Index: pkg/analysis_server/test/integration/analysis/error_test.dart
|
| diff --git a/pkg/analysis_server/test/integration/analysis/error_test.dart b/pkg/analysis_server/test/integration/analysis/error_test.dart
|
| index f2abb51eefcad29faab98b9ecf520e954a730ef5..2a86499b9fab096050b886b7777a530b534de815 100644
|
| --- a/pkg/analysis_server/test/integration/analysis/error_test.dart
|
| +++ b/pkg/analysis_server/test/integration/analysis/error_test.dart
|
| @@ -2,8 +2,6 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -library test.integration.analysis.error;
|
| -
|
| import 'package:analysis_server/plugin/protocol/protocol.dart';
|
| import 'package:test/test.dart';
|
| import 'package:test_reflective_loader/test_reflective_loader.dart';
|
| @@ -13,11 +11,11 @@ import '../integration_tests.dart';
|
| main() {
|
| defineReflectiveSuite(() {
|
| defineReflectiveTests(AnalysisErrorIntegrationTest);
|
| + defineReflectiveTests(AnalysisErrorIntegrationTest_Driver);
|
| });
|
| }
|
|
|
| -@reflectiveTest
|
| -class AnalysisErrorIntegrationTest
|
| +class AbstractAnalysisErrorIntegrationTest
|
| extends AbstractAnalysisServerIntegrationTest {
|
| test_detect_simple_error() {
|
| String pathname = sourcePath('test.dart');
|
| @@ -96,3 +94,24 @@ abstract class C extends B {
|
| expect(errors, isEmpty);
|
| }
|
| }
|
| +
|
| +@reflectiveTest
|
| +class AnalysisErrorIntegrationTest
|
| + extends AbstractAnalysisErrorIntegrationTest {}
|
| +
|
| +@reflectiveTest
|
| +class AnalysisErrorIntegrationTest_Driver
|
| + extends AbstractAnalysisErrorIntegrationTest {
|
| + @override
|
| + bool get enableNewAnalysisDriver => true;
|
| +
|
| + @failingTest
|
| + test_super_mixins_enabled() async {
|
| + // Expected: empty
|
| + // Actual: [
|
| + // AnalysisError:{"severity":"ERROR","type":"COMPILE_TIME_ERROR","location":{"file":"/var/folders/00/0w95r000h01000cxqpysvccm003j4q/T/analysisServerfbuOQb/test.dart","offset":31,"length":1,"startLine":1,"startColumn":32},"message":"The class 'C' can't be used as a mixin because it extends a class other than Object.","correction":"","code":"mixin_inherits_from_not_object","hasFix":false},
|
| + // AnalysisError:{"severity":"ERROR","type":"COMPILE_TIME_ERROR","location":{"file":"/var/folders/00/0w95r000h01000cxqpysvccm003j4q/T/analysisServerfbuOQb/test.dart","offset":31,"length":1,"startLine":1,"startColumn":32},"message":"The class 'C' can't be used as a mixin because it references 'super'.","correction":"","code":"mixin_references_super","hasFix":false}
|
| + // ]
|
| + return super.test_super_mixins_enabled();
|
| + }
|
| +}
|
|
|