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

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

Issue 2661263002: Fix errors and warnings (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 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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 super.test_unsafeBlockClosureInference_methodCall_implicitTypeParam(); 688 super.test_unsafeBlockClosureInference_methodCall_implicitTypeParam();
689 } 689 }
690 690
691 @override 691 @override
692 @failingTest 692 @failingTest
693 void test_unsafeBlockClosureInference_methodCall_implicitTypeParam_comment() { 693 void test_unsafeBlockClosureInference_methodCall_implicitTypeParam_comment() {
694 super 694 super
695 .test_unsafeBlockClosureInference_methodCall_implicitTypeParam_comment() ; 695 .test_unsafeBlockClosureInference_methodCall_implicitTypeParam_comment() ;
696 } 696 }
697 697
698 @override
699 LibraryElementImpl _checkSource( 698 LibraryElementImpl _checkSource(
700 SummaryResynthesizer resynthesizer, Source source) { 699 SummaryResynthesizer resynthesizer, Source source) {
701 LibraryElementImpl resynthesized = 700 LibraryElementImpl resynthesized =
702 resynthesizer.getLibraryElement(source.uri.toString()); 701 resynthesizer.getLibraryElement(source.uri.toString());
703 LibraryElementImpl original = context.computeLibraryElement(source); 702 LibraryElementImpl original = context.computeLibraryElement(source);
704 checkLibraryElements(original, resynthesized); 703 checkLibraryElements(original, resynthesized);
705 return resynthesized; 704 return resynthesized;
706 } 705 }
707 } 706 }
708 707
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 } 935 }
937 936
938 @override 937 @override
939 DartSdk createDartSdk() => AbstractContextTest.SHARED_MOCK_SDK; 938 DartSdk createDartSdk() => AbstractContextTest.SHARED_MOCK_SDK;
940 939
941 @override 940 @override
942 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) { 941 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) {
943 return _encodeLibrary(source); 942 return _encodeLibrary(source);
944 } 943 }
945 } 944 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698