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

Unified Diff: tests/standalone/io/test_runner_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, 6 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/test_runner_exit_code_script.dart ('k') | tests/standalone/io/web_socket_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/test_runner_test.dart
diff --git a/tests/standalone/io/test_runner_test.dart b/tests/standalone/io/test_runner_test.dart
index f4a975daf954f67bc2369f50befbb2b16df74932..fa276c2ff1aa5b0c505de80beff4d2e7e5e25ddb 100644
--- a/tests/standalone/io/test_runner_test.dart
+++ b/tests/standalone/io/test_runner_test.dart
@@ -71,8 +71,8 @@ class CustomTestSuite extends TestSuite {
}
TestCase _makeNormalTestCase(name, expectations) {
- var command = new Command(new Options().executable,
- [new Options().script, name]);
+ var command = new Command(Platform.executable,
+ [Platform.script, name]);
return _makeTestCase(name, DEFAULT_TIMEOUT, command, expectations);
}
@@ -109,7 +109,7 @@ void main() {
// Run the test_runner_test if there are no command-line options.
// Otherwise, run one of the component tests that always pass,
// fail, or timeout.
- var arguments = new Options().arguments;
+ var arguments = Platform.arguments;
if (arguments.isEmpty) {
testProcessQueue();
} else {
« no previous file with comments | « tests/standalone/io/test_runner_exit_code_script.dart ('k') | tests/standalone/io/web_socket_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698