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

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

Issue 2488043002: Enable generic method support by default (Closed)
Patch Set: clean up Created 4 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 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void compareLocalElementsOfExecutable(ExecutableElement resynthesized, 64 void compareLocalElementsOfExecutable(ExecutableElement resynthesized,
65 ExecutableElement original, String desc) { 65 ExecutableElement original, String desc) {
66 // We don't resynthesize local elements during link. 66 // We don't resynthesize local elements during link.
67 // So, we should not compare them. 67 // So, we should not compare them.
68 } 68 }
69 69
70 @override 70 @override
71 DartSdk createDartSdk() => AbstractContextTest.SHARED_STRONG_MOCK_SDK; 71 DartSdk createDartSdk() => AbstractContextTest.SHARED_STRONG_MOCK_SDK;
72 72
73 @override 73 @override
74 AnalysisOptionsImpl createOptions() => new AnalysisOptionsImpl() 74 AnalysisOptionsImpl createOptions() =>
75 ..enableGenericMethods = true 75 new AnalysisOptionsImpl()..strongMode = true;
76 ..strongMode = true;
77 76
78 @override 77 @override
79 @failingTest 78 @failingTest
80 void test_blockBodiedLambdas_async_allReturnsAreFutures_topLevel() { 79 void test_blockBodiedLambdas_async_allReturnsAreFutures_topLevel() {
81 super.test_blockBodiedLambdas_async_allReturnsAreFutures_topLevel(); 80 super.test_blockBodiedLambdas_async_allReturnsAreFutures_topLevel();
82 } 81 }
83 82
84 @override 83 @override
85 @failingTest 84 @failingTest
86 void test_blockBodiedLambdas_async_allReturnsAreValues_topLevel() { 85 void test_blockBodiedLambdas_async_allReturnsAreValues_topLevel() {
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 } 893 }
895 894
896 @override 895 @override
897 DartSdk createDartSdk() => AbstractContextTest.SHARED_MOCK_SDK; 896 DartSdk createDartSdk() => AbstractContextTest.SHARED_MOCK_SDK;
898 897
899 @override 898 @override
900 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) { 899 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) {
901 return _encodeLibrary(source); 900 return _encodeLibrary(source);
902 } 901 }
903 } 902 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/context/context_test.dart ('k') | pkg/analyzer/test/src/summary/resynthesize_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698