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

Unified Diff: tests/standalone/io/platform_test.dart

Issue 10823209: Add support for building the Dart VM for Android OS. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix Directory::CreateTemp("") to work on Android. Also fix platform_test.dart to know about Android… Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: tests/standalone/io/platform_test.dart
diff --git a/tests/standalone/io/platform_test.dart b/tests/standalone/io/platform_test.dart
index c562076e19ac6335a069e0c18258f05da99c7804..ada7ff4ddef31e13c3f8639063b42250f35ce2dc 100644
--- a/tests/standalone/io/platform_test.dart
+++ b/tests/standalone/io/platform_test.dart
@@ -7,7 +7,8 @@
main() {
Expect.isTrue(Platform.numberOfProcessors > 0);
var os = Platform.operatingSystem;
- Expect.isTrue(os == "linux" || os == "macos" || os == "windows");
+ Expect.isTrue(os == "android" || os == "linux" || os == "macos" ||
+ os == "windows");
var sep = Platform.pathSeparator;
Expect.isTrue(sep == '/' || (os == 'windows' && sep == '\\'));
var hostname = Platform.localHostname;

Powered by Google App Engine
This is Rietveld 408576698