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

Unified Diff: pkg/analyzer/test/generated/resolver_test.dart

Issue 1451243002: skip task-model only tests if not running with task model (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/resolver_test.dart
diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart
index 66380677ec31404b455a47d541cdf6d61177ad40..138b8d395cadd8e4795902b019b87e37f5bec179 100644
--- a/pkg/analyzer/test/generated/resolver_test.dart
+++ b/pkg/analyzer/test/generated/resolver_test.dart
@@ -12173,6 +12173,9 @@ main() {
}
void test_genericFunction() {
+ if (!AnalysisEngine.instance.useTaskModel) {
+ return;
+ }
// TODO(jmesserly): we're missing a case in the parser for the return type,
// so "dynamic" must be used to workaround this.
_resolveTestUnit(r'''
@@ -12192,6 +12195,9 @@ dynamic/*=T*/ f/*<T>*/(/*=T*/ x) => null;
}
void test_genericMethod() {
+ if (!AnalysisEngine.instance.useTaskModel) {
+ return;
+ }
_resolveTestUnit(r'''
class C<E> {
List/*<T>*/ f/*<T>*/(E e) => null;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698