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

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

Issue 2942073002: Fix test.dart tests. (Closed)
Patch Set: Merge branch 'master' into fix-tests Created 3 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/skipping_dart2js_compilations_test.dart ('k') | no next file » | 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 1fc5aee10bfa45a4d90f8bfe0e356b783b4e9aca..d0df21661ec817c002e3528a009b03112630b43f 100644
--- a/tests/standalone/io/test_runner_test.dart
+++ b/tests/standalone/io/test_runner_test.dart
@@ -4,6 +4,7 @@
import "dart:io";
import "dart:async";
+import "../../../tools/testing/dart/command.dart";
import "../../../tools/testing/dart/configuration.dart";
import "../../../tools/testing/dart/expectation.dart";
import "../../../tools/testing/dart/options.dart";
@@ -97,13 +98,12 @@ class CustomTestSuite extends TestSuite {
TestCase _makeNormalTestCase(name, expectations) {
var args = packageOptions();
args.addAll([Platform.script.toFilePath(), name]);
- var command = CommandBuilder.instance
- .getProcessCommand('custom', Platform.executable, args, {});
+ var command = Command.process('custom', Platform.executable, args, {});
return _makeTestCase(name, DEFAULT_TIMEOUT, command, expectations);
}
_makeCrashTestCase(name, expectations) {
- var crashCommand = CommandBuilder.instance.getProcessCommand(
+ var crashCommand = Command.process(
'custom_crash', getProcessTestFileName(), ["0", "0", "1", "1"], {});
// The crash test sometimes times out. Run it with a large timeout
// to help diagnose the delay.
« no previous file with comments | « tests/standalone/io/skipping_dart2js_compilations_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698