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

Unified Diff: tests/standalone/io/skipping_dart2js_compilations_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 | « no previous file | tests/standalone/io/test_runner_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/skipping_dart2js_compilations_test.dart
diff --git a/tests/standalone/io/skipping_dart2js_compilations_test.dart b/tests/standalone/io/skipping_dart2js_compilations_test.dart
index 3f22a8461d3fffe0c6be61cf0cd4c1b9b52922e5..d027b7d8653a54004d66ae358c0b5202b0ec8e20 100644
--- a/tests/standalone/io/skipping_dart2js_compilations_test.dart
+++ b/tests/standalone/io/skipping_dart2js_compilations_test.dart
@@ -20,6 +20,7 @@ import 'package:expect/expect.dart';
import 'package:path/path.dart';
import 'dart:async';
import 'dart:io';
+import '../../../tools/testing/dart/command.dart';
import '../../../tools/testing/dart/options.dart' as options;
import '../../../tools/testing/dart/path.dart';
import '../../../tools/testing/dart/test_runner.dart' as runner;
@@ -154,13 +155,8 @@ runner.Command makeCompilationCommand(String testName, FileUtils fileUtils) {
var executable = Platform.executable;
var arguments = [createFileScript, fileUtils.scriptOutputPath.toNativePath()];
var bootstrapDeps = [Uri.parse("file://${fileUtils.testSnapshotFilePath}")];
- return runner.CommandBuilder.instance.getCompilationCommand(
- 'dart2js',
- fileUtils.testJsFilePath.toNativePath(),
- false,
- bootstrapDeps,
- executable,
- arguments, {});
+ return Command.compilation('dart2js', fileUtils.testJsFilePath.toNativePath(),
+ false, bootstrapDeps, executable, arguments, {});
}
void main() {
« no previous file with comments | « no previous file | tests/standalone/io/test_runner_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698