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

Unified Diff: tests/compiler/dart2js/mock_compiler.dart

Issue 11967010: Internal libraries supported. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 years, 11 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
Index: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index f8ce35fcfea11392a2453f092f4dc5a570fc6194..e9048d811be88dea38d73f9b0990bbffda707d20 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -266,6 +266,9 @@ class MockCompiler extends Compiler {
scanner.importLibrary(library, coreLibrary, null);
}
+ Uri translateResolvedUri(LibraryElement importingLibrary,
+ Uri resolvedUri, Node node) => resolvedUri;
+
// The mock library doesn't need any patches.
Uri resolvePatchUri(String dartLibraryName) => null;

Powered by Google App Engine
This is Rietveld 408576698