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

Unified Diff: pkg/analyzer/test/resource_utils.dart

Issue 2277003003: Attempt to load sdk.ds from the only embedder. (Closed)
Patch Set: Created 4 years, 4 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/analyzer/test/embedder_tests.dart ('k') | pkg/analyzer/test/source/embedder_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/resource_utils.dart
diff --git a/pkg/analyzer/test/resource_utils.dart b/pkg/analyzer/test/resource_utils.dart
index 65f7069d4914ae37207645620429255872daba08..688eae0c7f8348cc8ee18752fde0d6a5f3b9aaa4 100644
--- a/pkg/analyzer/test/resource_utils.dart
+++ b/pkg/analyzer/test/resource_utils.dart
@@ -78,6 +78,9 @@ class TestPathTranslator {
File newFile(String posixPath, String content) =>
_provider.newFile(posixToOSPath(posixPath), content);
+ File newFileWithBytes(String posixPath, List<int> bytes) =>
+ _provider.newFileWithBytes(posixToOSPath(posixPath), bytes);
+
Folder newFolder(String posixPath) =>
_provider.newFolder(posixToOSPath(posixPath));
}
« no previous file with comments | « pkg/analyzer/test/embedder_tests.dart ('k') | pkg/analyzer/test/source/embedder_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698