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

Side by Side Diff: tests/lib/mirrors/mirrors_reader_test.dart

Issue 157453002: Fix dartium build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « tests/lib/lib.status ('k') | no next file » | 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) 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 // Test that everything reachable from a [MirrorSystem] can be accessed. 5 // Test that everything reachable from a [MirrorSystem] can be accessed.
6 6
7 library test.mirrors.reader; 7 library test.mirrors.reader;
8 8
9 import 'dart:mirrors'; 9 import 'dart:mirrors';
10 import 'mirrors_reader.dart'; 10 import 'mirrors_reader.dart';
(...skipping 26 matching lines...) Expand all
37 } 37 }
38 if (mirrorSystemType == '_LocalMirrorSystem') { 38 if (mirrorSystemType == '_LocalMirrorSystem') {
39 // VM mirror system. 39 // VM mirror system.
40 } else if (mirrorSystemType == 'JsMirrorSystem') { 40 } else if (mirrorSystemType == 'JsMirrorSystem') {
41 // Dart2js runtime mirror system. 41 // Dart2js runtime mirror system.
42 } 42 }
43 return false; 43 return false;
44 } 44 }
45 } 45 }
46 46
47 void main(List<String> arguments) { 47 void main([List<String> arguments = const <String>[]]) {
Johnni Winther 2014/02/07 11:11:02 Dartium tests don't support required arguments.
48 MirrorSystem mirrors = currentMirrorSystem(); 48 MirrorSystem mirrors = currentMirrorSystem();
49 MirrorsReader reader = new RuntimeMirrorsReader(mirrors, 49 MirrorsReader reader = new RuntimeMirrorsReader(mirrors,
50 verbose: arguments.contains('-v'), 50 verbose: arguments.contains('-v'),
51 includeStackTrace: arguments.contains('-s')); 51 includeStackTrace: arguments.contains('-s'));
52 reader.checkMirrorSystem(mirrors); 52 reader.checkMirrorSystem(mirrors);
53 } 53 }
OLDNEW
« no previous file with comments | « tests/lib/lib.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698