bd49ff15bf
This fixes 70 Analyzer tests. R=ahe@google.com, paulberry@google.com, sigmund@google.com Bug: Change-Id: If7e3fa948aa67712eab5533b083757a75a981e14 Reviewed-on: https://dart-review.googlesource.com/13926 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Peter von der Ahé <ahe@google.com>
67 lines
1.9 KiB
Dart
67 lines
1.9 KiB
Dart
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
|
// 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.
|
|
|
|
import 'package:test_reflective_loader/test_reflective_loader.dart';
|
|
|
|
import 'static_warning_code_driver_test.dart';
|
|
|
|
main() {
|
|
defineReflectiveSuite(() {
|
|
defineReflectiveTests(StaticWarningCodeTest_Kernel);
|
|
});
|
|
}
|
|
|
|
/// Tests marked with this annotation fail because of a Fasta problem.
|
|
class FastaProblem {
|
|
const FastaProblem(String issueUri);
|
|
}
|
|
|
|
@reflectiveTest
|
|
class StaticWarningCodeTest_Kernel extends StaticWarningCodeTest_Driver {
|
|
@override
|
|
bool get enableKernelDriver => true;
|
|
|
|
@override
|
|
@failingTest
|
|
@FastaProblem('https://github.com/dart-lang/sdk/issues/31073')
|
|
test_finalNotInitialized_inConstructor_1() async {
|
|
return super.test_finalNotInitialized_inConstructor_1();
|
|
}
|
|
|
|
@override
|
|
@failingTest
|
|
@FastaProblem('https://github.com/dart-lang/sdk/issues/31073')
|
|
test_finalNotInitialized_inConstructor_2() async {
|
|
return super.test_finalNotInitialized_inConstructor_2();
|
|
}
|
|
|
|
@override
|
|
@failingTest
|
|
@FastaProblem('https://github.com/dart-lang/sdk/issues/31073')
|
|
test_finalNotInitialized_inConstructor_3() async {
|
|
return super.test_finalNotInitialized_inConstructor_3();
|
|
}
|
|
|
|
@override
|
|
@failingTest
|
|
@FastaProblem('https://github.com/dart-lang/sdk/issues/30959')
|
|
test_importOfNonLibrary() async {
|
|
return super.test_importOfNonLibrary();
|
|
}
|
|
|
|
@override
|
|
@failingTest
|
|
@FastaProblem('https://github.com/dart-lang/sdk/issues/31073')
|
|
test_invalidOverride_nonDefaultOverridesDefault() async {
|
|
return super.test_invalidOverride_nonDefaultOverridesDefault();
|
|
}
|
|
|
|
@override
|
|
@failingTest
|
|
@FastaProblem('https://github.com/dart-lang/sdk/issues/31073')
|
|
test_invalidOverride_nonDefaultOverridesDefault_named() async {
|
|
return super.test_invalidOverride_nonDefaultOverridesDefault_named();
|
|
}
|
|
}
|