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

Side by Side Diff: pkg/intl/test/message_extraction/message_extraction_test.dart

Issue 17406010: Move getters from Options to Platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed Dart_GetType Created 7 years, 5 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 message_extraction_test; 5 library message_extraction_test;
6 6
7 import 'package:unittest/unittest.dart'; 7 import 'package:unittest/unittest.dart';
8 import 'dart:io'; 8 import 'dart:io';
9 import 'dart:async'; 9 import 'dart:async';
10 import 'package:pathos/path.dart' as path; 10 import 'package:pathos/path.dart' as path;
11 import '../data_directory.dart'; 11 import '../data_directory.dart';
12 12
13 final dart = new Options().executable; 13 final dart = Platform.executable;
14 14
15 // TODO(alanknight): We have no way of knowing what the package-root is, 15 // TODO(alanknight): We have no way of knowing what the package-root is,
16 // so when we're running under the test framework, which sets the 16 // so when we're running under the test framework, which sets the
17 // package-root, we use a horrible hack and infer it from the executable. 17 // package-root, we use a horrible hack and infer it from the executable.
18 final packageDir = _findPackageDir(dart); 18 final packageDir = _findPackageDir(dart);
19 19
20 /** 20 /**
21 * Find our package directory from the executable. If we seem to be running 21 * Find our package directory from the executable. If we seem to be running
22 * from out/Release<arch>/dart or the equivalent Debug, then use the packages 22 * from out/Release<arch>/dart or the equivalent Debug, then use the packages
23 * directory under Release<arch>. Otherwise return null, indicating to use 23 * directory under Release<arch>. Otherwise return null, indicating to use
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 verify("Diese Methode ist nicht eine Lambda"); 216 verify("Diese Methode ist nicht eine Lambda");
217 verify("Dies ergibt sich aus einer statischen Methode"); 217 verify("Dies ergibt sich aus einer statischen Methode");
218 verify("This is missing some translations"); 218 verify("This is missing some translations");
219 verify("Antike griechische Galgenmännchen Zeichen: 𐅆𐅇"); 219 verify("Antike griechische Galgenmännchen Zeichen: 𐅆𐅇");
220 // verify("Die Sache ist, well"); 220 // verify("Die Sache ist, well");
221 // expect("Einer der knifflige Dinge ist der Plural"); 221 // expect("Einer der knifflige Dinge ist der Plural");
222 // expect("Zu den kniffligen Dinge Pluralformen"); 222 // expect("Zu den kniffligen Dinge Pluralformen");
223 verify("Escapes: "); 223 verify("Escapes: ");
224 verify("\r\f\b\t\v."); 224 verify("\r\f\b\t\v.");
225 } 225 }
OLDNEW
« no previous file with comments | « pkg/analyzer_experimental/lib/src/services/runtime/coverage/coverage_impl.dart ('k') | pkg/scheduled_test/test/metatest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698