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

Side by Side Diff: tests/compiler/dart2js/mirrors_test.dart

Issue 11359059: Fix mirrors move errors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 8 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
« no previous file with comments | « sdk/lib/_internal/dartdoc/lib/dartdoc.dart ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 import '../../../sdk/lib/_internal/dartdoc/lib/mirrors.dart'; 5 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart' ;
6 import '../../../sdk/lib/_internal/dartdoc/lib/mirrors_util.dart'; 6 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors_util. dart';
7 7
8 import 'dart:io'; 8 import 'dart:io';
9 9
10 int count(Iterable iterable) { 10 int count(Iterable iterable) {
11 var count = 0; 11 var count = 0;
12 for (var element in iterable) { 12 for (var element in iterable) {
13 count++; 13 count++;
14 } 14 }
15 return count; 15 return count;
16 } 16 }
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 privateClass.members['_PrivateClass._privateFactoryConstructor']; 779 privateClass.members['_PrivateClass._privateFactoryConstructor'];
780 Expect.isNotNull(privateFactoryConstructor); 780 Expect.isNotNull(privateFactoryConstructor);
781 Expect.isTrue(privateFactoryConstructor is MethodMirror); 781 Expect.isTrue(privateFactoryConstructor is MethodMirror);
782 Expect.isTrue(privateFactoryConstructor.isConstructor); 782 Expect.isTrue(privateFactoryConstructor.isConstructor);
783 Expect.isTrue(privateFactoryConstructor.isPrivate); 783 Expect.isTrue(privateFactoryConstructor.isPrivate);
784 Expect.isFalse(privateFactoryConstructor.isConstConstructor); 784 Expect.isFalse(privateFactoryConstructor.isConstConstructor);
785 Expect.isFalse(privateFactoryConstructor.isRedirectingConstructor); 785 Expect.isFalse(privateFactoryConstructor.isRedirectingConstructor);
786 Expect.isFalse(privateFactoryConstructor.isGenerativeConstructor); 786 Expect.isFalse(privateFactoryConstructor.isGenerativeConstructor);
787 Expect.isTrue(privateFactoryConstructor.isFactoryConstructor); 787 Expect.isTrue(privateFactoryConstructor.isFactoryConstructor);
788 } 788 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/dartdoc/lib/dartdoc.dart ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698