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

Side by Side Diff: dart/tests/try/poi/poi_test.dart

Issue 551383002: Add --enable-dart-mind option to poi.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update test to use new variable name. Created 6 years, 3 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 | « dart/site/try/poi/poi.dart ('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 of the main method in poi.dart. This test only ensures that poi.dart 5 /// Test of the main method in poi.dart. This test only ensures that poi.dart
6 /// doesn't crash. 6 /// doesn't crash.
7 7
8 library trydart.poi_test; 8 library trydart.poi_test;
9 9
10 import 'dart:io' show 10 import 'dart:io' show
(...skipping 17 matching lines...) Expand all
28 28
29 void main() { 29 void main() {
30 int position = 695; 30 int position = 695;
31 List tests = [ 31 List tests = [
32 // The file empty_main.dart is a regression test for crash in 32 // The file empty_main.dart is a regression test for crash in
33 // resolveMetadataAnnotation in dart2js. 33 // resolveMetadataAnnotation in dart2js.
34 new PoiTest(Platform.script.resolve('data/empty_main.dart'), 225), 34 new PoiTest(Platform.script.resolve('data/empty_main.dart'), 225),
35 new PoiTest(Platform.script, position), 35 new PoiTest(Platform.script, position),
36 ]; 36 ];
37 37
38 poi.enableDartMind = false; 38 poi.isDartMindEnabled = false;
ahe 2014/09/09 15:01:01 Trivial update of this test.
39 39
40 asyncTest(() => Future.forEach(tests, (PoiTest test) => test.run())); 40 asyncTest(() => Future.forEach(tests, (PoiTest test) => test.run()));
41 } 41 }
OLDNEW
« no previous file with comments | « dart/site/try/poi/poi.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698