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

Side by Side Diff: pkg/analyzer/test/src/summary/resynthesize_ast_test.dart

Issue 1936403002: Serialize / resynthesize 'isAsynchronous' and 'isGenerator' flags. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.test.src.summary.resynthesize_ast_test; 5 library analyzer.test.src.summary.resynthesize_ast_test;
6 6
7 import 'package:analyzer/dart/ast/ast.dart'; 7 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/element/element.dart'; 8 import 'package:analyzer/dart/element/element.dart';
9 import 'package:analyzer/src/dart/element/element.dart'; 9 import 'package:analyzer/src/dart/element/element.dart';
10 import 'package:analyzer/src/generated/engine.dart' 10 import 'package:analyzer/src/generated/engine.dart'
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 } 147 }
148 148
149 @override 149 @override
150 @failingTest 150 @failingTest
151 void test_blockBodiedLambdas_syncStar_topLevel() { 151 void test_blockBodiedLambdas_syncStar_topLevel() {
152 super.test_blockBodiedLambdas_syncStar_topLevel(); 152 super.test_blockBodiedLambdas_syncStar_topLevel();
153 } 153 }
154 154
155 @override 155 @override
156 @failingTest 156 @failingTest
157 void test_downwardsInferenceAsyncAwait() {
158 super.test_downwardsInferenceAsyncAwait();
159 }
160
161 @override
162 @failingTest
163 void test_downwardsInferenceForEach() {
164 super.test_downwardsInferenceForEach();
165 }
166
167 @override
168 @failingTest
169 void test_downwardsInferenceOnFunctionOfTUsingTheT() { 157 void test_downwardsInferenceOnFunctionOfTUsingTheT() {
170 super.test_downwardsInferenceOnFunctionOfTUsingTheT(); 158 super.test_downwardsInferenceOnFunctionOfTUsingTheT();
171 } 159 }
172 160
173 @override 161 @override
174 @failingTest 162 @failingTest
175 void test_downwardsInferenceOnGenericFunctionExpressions() { 163 void test_downwardsInferenceOnGenericFunctionExpressions() {
176 super.test_downwardsInferenceOnGenericFunctionExpressions(); 164 super.test_downwardsInferenceOnGenericFunctionExpressions();
177 } 165 }
178 166
179 @override 167 @override
180 @failingTest 168 @failingTest
181 void test_downwardsInferenceYieldYieldStar() {
182 super.test_downwardsInferenceYieldYieldStar();
183 }
184
185 @override
186 @failingTest
187 void test_genericMethods_inferJSBuiltin() { 169 void test_genericMethods_inferJSBuiltin() {
188 super.test_genericMethods_inferJSBuiltin(); 170 super.test_genericMethods_inferJSBuiltin();
189 } 171 }
190 172
191 void test_infer_extractIndex_custom() { 173 void test_infer_extractIndex_custom() {
192 var unit = checkFile(''' 174 var unit = checkFile('''
193 class A { 175 class A {
194 String operator [](_) => null; 176 String operator [](_) => null;
195 } 177 }
196 var a = new A(); 178 var a = new A();
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 } 745 }
764 746
765 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource); 747 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource);
766 LinkedLibraryBuilder linkedLibrary = 748 LinkedLibraryBuilder linkedLibrary =
767 prelink(definingUnit, getPart, getImport); 749 prelink(definingUnit, getPart, getImport);
768 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) { 750 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) {
769 _serializeLibrary(resolveRelativeUri(d.uri)); 751 _serializeLibrary(resolveRelativeUri(d.uri));
770 }); 752 });
771 } 753 }
772 } 754 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698