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

Unified Diff: pkg/front_end/test/fasta/shaker_test.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/lib/src/fasta/translate_uri.dart ('k') | pkg/front_end/test/fasta/testing/suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/fasta/shaker_test.dart
diff --git a/pkg/front_end/test/fasta/shaker_test.dart b/pkg/front_end/test/fasta/shaker_test.dart
index 7ad305e91660f7d3047263d129797b4bb5c5c6c1..658d3b75dda9069f41ff0f2121cb26de6a1b12f9 100644
--- a/pkg/front_end/test/fasta/shaker_test.dart
+++ b/pkg/front_end/test/fasta/shaker_test.dart
@@ -75,8 +75,8 @@ class TreeShakerContext extends ChainContext {
Uri sdk = await computePatchedSdk();
Uri outlineUri = sdk.resolve('outline.dill');
Uri packages = Uri.base.resolve(".packages");
- TranslateUri uriTranslator =
- await TranslateUri.parse(PhysicalFileSystem.instance, packages);
+ TranslateUri uriTranslator = await TranslateUri
+ .parse(PhysicalFileSystem.instance, sdk, packages: packages);
List<int> outlineBytes = new File.fromUri(outlineUri).readAsBytesSync();
return new TreeShakerContext(
outlineUri, uriTranslator, outlineBytes, updateExpectations);
« no previous file with comments | « pkg/front_end/lib/src/fasta/translate_uri.dart ('k') | pkg/front_end/test/fasta/testing/suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698