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

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

Issue 10351011: Change Platform members to getters instead of methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding new test binaries Created 8 years, 8 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
« no previous file with comments | « tests/standalone/io/process_environment_test.dart ('k') | tools/testing/bin/linux/dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/process_test_util.dart
diff --git a/tests/standalone/io/process_test_util.dart b/tests/standalone/io/process_test_util.dart
index 258d89ce6e4c4e1749ede94716fbe824a6d66b82..1de73cb037cd2c69ab416ada04ee5f9a1535454d 100644
--- a/tests/standalone/io/process_test_util.dart
+++ b/tests/standalone/io/process_test_util.dart
@@ -3,14 +3,14 @@
// BSD-style license that can be found in the LICENSE file.
String getPlatformOutDir() {
- var os = Platform.operatingSystem();
+ var os = Platform.operatingSystem;
if (os == 'linux') return 'out/';
if (os == 'macos') return 'xcodebuild/';
return ''; // Windows.
}
String getPlatformExecutableExtension() {
- var os = Platform.operatingSystem();
+ var os = Platform.operatingSystem;
if (os == 'windows') return '.exe';
return ''; // Linux and Mac OS.
}
« no previous file with comments | « tests/standalone/io/process_environment_test.dart ('k') | tools/testing/bin/linux/dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698