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

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

Issue 2640143007: Issue 28100. Implement new strong mode instantiate to bound rules in analyzer. (Closed)
Patch Set: Fixes for review comments. Created 3 years, 11 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/error/error.dart'; 9 import 'package:analyzer/error/error.dart';
10 import 'package:analyzer/src/dart/element/element.dart'; 10 import 'package:analyzer/src/dart/element/element.dart';
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 } 719 }
720 720
721 @reflectiveTest 721 @reflectiveTest
722 class ResynthesizeAstStrongTest extends _ResynthesizeAstTest { 722 class ResynthesizeAstStrongTest extends _ResynthesizeAstTest {
723 @override 723 @override
724 AnalysisOptionsImpl createOptions() => 724 AnalysisOptionsImpl createOptions() =>
725 super.createOptions()..strongMode = true; 725 super.createOptions()..strongMode = true;
726 726
727 @override 727 @override
728 @failingTest 728 @failingTest
729 test_instantiateToBounds_boundRefersToLaterTypeArgument() { 729 test_instantiateToBounds_boundRefersToItself() {
730 // TODO(paulberry): this is failing due to dartbug.com/27072. 730 super.test_instantiateToBounds_boundRefersToItself();
731 super.test_instantiateToBounds_boundRefersToLaterTypeArgument();
732 } 731 }
733 732
734 @override 733 @override
735 @failingTest 734 @failingTest
736 test_syntheticFunctionType_genericClosure() { 735 test_syntheticFunctionType_genericClosure() {
737 super.test_syntheticFunctionType_genericClosure(); 736 super.test_syntheticFunctionType_genericClosure();
738 } 737 }
739 738
740 @override 739 @override
741 @failingTest 740 @failingTest
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 } 942 }
944 943
945 @override 944 @override
946 DartSdk createDartSdk() => AbstractContextTest.SHARED_MOCK_SDK; 945 DartSdk createDartSdk() => AbstractContextTest.SHARED_MOCK_SDK;
947 946
948 @override 947 @override
949 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) { 948 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) {
950 return _encodeLibrary(source); 949 return _encodeLibrary(source);
951 } 950 }
952 } 951 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698