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

Unified Diff: pkg/front_end/test/fasta/testing/suite.dart

Issue 2895983002: Read SDK and patches from a JSON file. (Closed)
Patch Set: Merged with 1333f97b9a0e3805f991578ef83b0ec4553ecf33 Created 3 years, 7 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 | « pkg/front_end/test/fasta/shaker_test.dart ('k') | pkg/front_end/test/fasta/translate_uri_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/fasta/testing/suite.dart
diff --git a/pkg/front_end/test/fasta/testing/suite.dart b/pkg/front_end/test/fasta/testing/suite.dart
index 0230a6ece934469634258566b43ac93358be8cb7..70764cd81b9ffc83902ca996f7bb081c2c47300c 100644
--- a/pkg/front_end/test/fasta/testing/suite.dart
+++ b/pkg/front_end/test/fasta/testing/suite.dart
@@ -10,11 +10,13 @@ import 'dart:io' show File;
import 'dart:convert' show JSON;
-import 'package:front_end/physical_file_system.dart';
+import 'package:front_end/physical_file_system.dart' show PhysicalFileSystem;
+
import 'package:front_end/src/fasta/testing/validating_instrumentation.dart'
show ValidatingInstrumentation;
-import 'package:front_end/src/fasta/testing/patched_sdk_location.dart';
+import 'package:front_end/src/fasta/testing/patched_sdk_location.dart'
+ show computeDartVm, computePatchedSdk;
import 'package:kernel/ast.dart' show Program;
@@ -141,8 +143,8 @@ class FastaContext extends ChainContext {
Uri sdk = await computePatchedSdk();
Uri vm = computeDartVm(sdk);
Uri packages = Uri.base.resolve(".packages");
- TranslateUri uriTranslator =
- await TranslateUri.parse(PhysicalFileSystem.instance, packages);
+ TranslateUri uriTranslator = await TranslateUri
+ .parse(PhysicalFileSystem.instance, sdk, packages: packages);
bool strongMode = environment.containsKey(STRONG_MODE);
bool updateExpectations = environment["updateExpectations"] == "true";
bool updateComments = environment["updateComments"] == "true";
« no previous file with comments | « pkg/front_end/test/fasta/shaker_test.dart ('k') | pkg/front_end/test/fasta/translate_uri_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698