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

Side by Side Diff: pkg/analyzer/test/generated/all_the_rest.dart

Issue 680913002: Remove JavaIterator and MapEntry (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.all_the_rest_test; 8 library engine.all_the_rest_test;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 10426 matching lines...) Expand 10 before | Expand all | Expand 10 after
10437 _visitNode(superConstructorInvocation); 10437 _visitNode(superConstructorInvocation);
10438 _assertNoArcs(); 10438 _assertNoArcs();
10439 } 10439 }
10440 void _assertNoArcs() { 10440 void _assertNoArcs() {
10441 Set<AstNode> tails = _referenceGraph.getTails(_head); 10441 Set<AstNode> tails = _referenceGraph.getTails(_head);
10442 EngineTestCase.assertSizeOfSet(0, tails); 10442 EngineTestCase.assertSizeOfSet(0, tails);
10443 } 10443 }
10444 void _assertOneArc(AstNode tail) { 10444 void _assertOneArc(AstNode tail) {
10445 Set<AstNode> tails = _referenceGraph.getTails(_head); 10445 Set<AstNode> tails = _referenceGraph.getTails(_head);
10446 EngineTestCase.assertSizeOfSet(1, tails); 10446 EngineTestCase.assertSizeOfSet(1, tails);
10447 JUnitTestCase.assertSame(tail, new JavaIterator(tails).next()); 10447 JUnitTestCase.assertSame(tail, tails.first);
10448 } 10448 }
10449 ReferenceFinder _createReferenceFinder(AstNode source) => 10449 ReferenceFinder _createReferenceFinder(AstNode source) =>
10450 new ReferenceFinder( 10450 new ReferenceFinder(
10451 source, 10451 source,
10452 _referenceGraph, 10452 _referenceGraph,
10453 _variableDeclarationMap, 10453 _variableDeclarationMap,
10454 _constructorDeclarationMap); 10454 _constructorDeclarationMap);
10455 InstanceCreationExpression _makeTailConstructor(String name, 10455 InstanceCreationExpression _makeTailConstructor(String name,
10456 bool isConstDeclaration, bool isConstUsage, bool inMap) { 10456 bool isConstDeclaration, bool isConstUsage, bool inMap) {
10457 List<ConstructorInitializer> initializers = 10457 List<ConstructorInitializer> initializers =
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
11175 } else { 11175 } else {
11176 JUnitTestCase.assertNotNullMsg("script ${scriptIndex}", scriptSource); 11176 JUnitTestCase.assertNotNullMsg("script ${scriptIndex}", scriptSource);
11177 String actualExternalScriptName = scriptSource.shortName; 11177 String actualExternalScriptName = scriptSource.shortName;
11178 JUnitTestCase.assertEqualsMsg( 11178 JUnitTestCase.assertEqualsMsg(
11179 "script ${scriptIndex}", 11179 "script ${scriptIndex}",
11180 _expectedExternalScriptName, 11180 _expectedExternalScriptName,
11181 actualExternalScriptName); 11181 actualExternalScriptName);
11182 } 11182 }
11183 } 11183 }
11184 } 11184 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | pkg/analyzer/test/generated/engine_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698