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

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

Issue 118783003: Command class hieracy refactoring, environmentOverride extraction (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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: dart/tests/standalone/io/test_runner_test.dart
diff --git a/dart/tests/standalone/io/test_runner_test.dart b/dart/tests/standalone/io/test_runner_test.dart
index 4b2fe2ab90bcc4efb23ad75c31a352e22ca20842..61e762b091a445bc1abe7c9626a6db3a3e72ef65 100644
--- a/dart/tests/standalone/io/test_runner_test.dart
+++ b/dart/tests/standalone/io/test_runner_test.dart
@@ -82,16 +82,16 @@ class CustomTestSuite extends TestSuite {
}
TestCase _makeNormalTestCase(name, expectations) {
- var command = CommandBuilder.instance.getCommand(
+ var command = CommandBuilder.instance.getProcessCommand(
'custom', Platform.executable, [Platform.script.toFilePath(), name],
- 'ReleaseIA32');
+ {});
return _makeTestCase(name, DEFAULT_TIMEOUT, command, expectations);
}
_makeCrashTestCase(name, expectations) {
- var crashCommand = CommandBuilder.instance.getCommand(
+ var crashCommand = CommandBuilder.instance.getProcessCommand(
'custom_crash', getProcessTestFileName(), ["0", "0", "1", "1"],
- 'ReleaseIA32');
+ {});
// The crash test sometimes times out. Run it with a large timeout
// to help diagnose the delay.
// The test loads a new executable, which may sometimes take a long time.
« no previous file with comments | « dart/tests/standalone/io/skipping_dart2js_compilations_test.dart ('k') | dart/tools/testing/dart/co19_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698