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

Unified Diff: pkg/analyzer/test/src/task/strong/inferred_type_test.dart

Issue 2715533008: Run src/task/strong tests with analysis driver. (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/src/task/strong/inferred_type_test.dart
diff --git a/pkg/analyzer/test/src/task/strong/inferred_type_test.dart b/pkg/analyzer/test/src/task/strong/inferred_type_test.dart
index 0c905830e1f128102b8155786bfef28ad89137b8..65686c5511a6f7227aec225fda3d709d1a2e82d8 100644
--- a/pkg/analyzer/test/src/task/strong/inferred_type_test.dart
+++ b/pkg/analyzer/test/src/task/strong/inferred_type_test.dart
@@ -2,9 +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.
-// TODO(jmesserly): this file needs to be refactored, it's a port from
-// package:dev_compiler's tests
-/// Tests for type inference.
library analyzer.test.src.task.strong.inferred_type_test;
import 'dart:async';
@@ -19,6 +16,7 @@ import 'strong_test_helper.dart';
void main() {
defineReflectiveSuite(() {
defineReflectiveTests(InferredTypeTest);
+ defineReflectiveTests(InferredTypeTest_Driver);
});
}
@@ -5476,3 +5474,135 @@ class InferredTypeTest extends AbstractStrongTest with InferredTypeMixin {
return (unit).element;
}
}
+
+@reflectiveTest
+class InferredTypeTest_Driver extends InferredTypeTest {
+ @override
+ bool get enableNewAnalysisDriver => true;
+
+ @failingTest
+ @override
+ test_blockBodiedLambdas_basic_topLevel() async {
+ await super.test_blockBodiedLambdas_basic_topLevel();
+ }
+
+ @failingTest
+ @override
+ test_blockBodiedLambdas_LUB_topLevel() async {
+ await super.test_blockBodiedLambdas_LUB_topLevel();
+ }
+
+ @failingTest
+ @override
+ test_inferCorrectlyOnMultipleVariablesDeclaredTogether() async {
Leaf 2017/02/23 22:26:41 I think this should be handled.
+ await super.test_inferCorrectlyOnMultipleVariablesDeclaredTogether();
+ }
+
+ @failingTest
+ @override
+ test_inferredType_opAssignToProperty_prefixedIdentifier() async {
+ await super.test_inferredType_opAssignToProperty_prefixedIdentifier();
+ }
+
+ @failingTest
+ @override
+ test_inferredType_opAssignToProperty_prefixedIdentifier_viaInterface() async {
+ await super
+ .test_inferredType_opAssignToProperty_prefixedIdentifier_viaInterface();
+ }
+
+ @failingTest
+ @override
+ test_nullCoalescingOperator() async {
+ await super.test_nullCoalescingOperator();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_closureCall() async {
+ await super.test_unsafeBlockClosureInference_closureCall();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_constructorCall_implicitTypeParam() async {
+ await super
+ .test_unsafeBlockClosureInference_constructorCall_implicitTypeParam();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaExpr2() async {
+ await super
+ .test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaExpr2();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaExpr2_comment() async {
+ await super
+ .test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaExpr2_comment();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr2() async {
+ await super
+ .test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr2();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr2_comment() async {
+ await super
+ .test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr2_comment();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_functionCall_implicitTypeParam() async {
+ await super
+ .test_unsafeBlockClosureInference_functionCall_implicitTypeParam();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_functionCall_implicitTypeParam_comment() async {
+ await super
+ .test_unsafeBlockClosureInference_functionCall_implicitTypeParam_comment();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_functionCall_implicitTypeParam_viaExpr() async {
+ await super
+ .test_unsafeBlockClosureInference_functionCall_implicitTypeParam_viaExpr();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_functionCall_implicitTypeParam_viaExpr_comment() async {
+ await super
+ .test_unsafeBlockClosureInference_functionCall_implicitTypeParam_viaExpr_comment();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_functionCall_noTypeParam_viaExpr() async {
+ await super
+ .test_unsafeBlockClosureInference_functionCall_noTypeParam_viaExpr();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_methodCall_implicitTypeParam() async {
+ await super.test_unsafeBlockClosureInference_methodCall_implicitTypeParam();
+ }
+
+ @failingTest
+ @override
+ test_unsafeBlockClosureInference_methodCall_implicitTypeParam_comment() async {
+ await super
+ .test_unsafeBlockClosureInference_methodCall_implicitTypeParam_comment();
+ }
+}
« no previous file with comments | « pkg/analyzer/test/src/task/strong/checker_test.dart ('k') | pkg/analyzer/test/src/task/strong/non_null_checker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698