Files
sdk/pkg/analyzer/test/generated/strong_mode_kernel_test.dart
T
Konstantin Shcheglov 26d0486de2 Fix serializing metadata when using LimitedBinaryPrinter.
TBR

This also fixes a race condition on Windows, where we sometimes
consume not serialized/deserialized Kernel.

R=ahe@google.com, kmillikin@google.com, paulberry@google.com, sigmund@google.com

Bug:
Change-Id: Ie40534d2562e75c05618e9ccb4fb86fc499184ff
Reviewed-on: https://dart-review.googlesource.com/14260
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2017-10-16 21:57:39 +00:00

117 lines
3.4 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 'strong_mode_test.dart';
main() {
defineReflectiveSuite(() {
defineReflectiveTests(StrongModeLocalInferenceTest_Kernel);
defineReflectiveTests(StrongModeStaticTypeAnalyzer2Test_Kernel);
defineReflectiveTests(StrongModeTypePropagationTest_Kernel);
});
}
/// Tests marked with this annotations fail because we either have not triaged
/// them, or know that this is an analyzer problem.
const potentialAnalyzerProblem = const Object();
/// Tests marked with this annotation fail because of a Fasta problem.
class FastaProblem {
const FastaProblem(String issueUri);
}
@reflectiveTest
class StrongModeLocalInferenceTest_Kernel extends StrongModeLocalInferenceTest {
@override
bool get enableKernelDriver => true;
@override
bool get enableNewAnalysisDriver => true;
}
@reflectiveTest
class StrongModeStaticTypeAnalyzer2Test_Kernel
extends StrongModeStaticTypeAnalyzer2Test {
@override
bool get enableKernelDriver => true;
@override
bool get enableNewAnalysisDriver => true;
@override
@failingTest
@potentialAnalyzerProblem
test_instantiateToBounds_class_error_recursion() async {
return super.test_instantiateToBounds_class_error_recursion();
}
@override
@failingTest
@potentialAnalyzerProblem
test_instantiateToBounds_class_error_recursion_self() async {
return super.test_instantiateToBounds_class_error_recursion_self();
}
@override
@failingTest
@potentialAnalyzerProblem
test_instantiateToBounds_class_error_recursion_self2() async {
return super.test_instantiateToBounds_class_error_recursion_self2();
}
@override
@failingTest
@potentialAnalyzerProblem
test_instantiateToBounds_class_error_typedef() async {
return super.test_instantiateToBounds_class_error_typedef();
}
@override
@failingTest
@potentialAnalyzerProblem
test_instantiateToBounds_class_ok_implicitDynamic_multi() async {
return super.test_instantiateToBounds_class_ok_implicitDynamic_multi();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30724')
test_instantiateToBounds_class_ok_referenceOther_after() async {
return super.test_instantiateToBounds_class_ok_referenceOther_after();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30724')
test_instantiateToBounds_class_ok_referenceOther_after2() async {
return super.test_instantiateToBounds_class_ok_referenceOther_after2();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30724')
test_instantiateToBounds_class_ok_referenceOther_before() async {
return super.test_instantiateToBounds_class_ok_referenceOther_before();
}
@override
@failingTest
@FastaProblem('https://github.com/dart-lang/sdk/issues/30724')
test_instantiateToBounds_class_ok_referenceOther_multi() async {
return super.test_instantiateToBounds_class_ok_referenceOther_multi();
}
}
@reflectiveTest
class StrongModeTypePropagationTest_Kernel
extends StrongModeTypePropagationTest {
@override
bool get enableKernelDriver => true;
@override
bool get enableNewAnalysisDriver => true;
}