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

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

Issue 10689036: First step towards having patch files for generic libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
Index: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index 5719f01839f8d2243808af307787dabd3ab14bf1..0301ea1dc23edc7b22b4b76d22b01ac5aa5c6c7d 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -156,6 +156,9 @@ class MockCompiler extends Compiler {
// Do nothing. The mock core library is already handled in the constructor.
}
+ // The mock library don't need any patches.
floitsch 2012/06/29 12:11:51 doesn't
Lasse Reichstein Nielsen 2012/06/29 12:19:35 Done.
+ Uri resolvePatchUri(String dartLibraryName) => null;
+
Script readScript(Uri uri, [ScriptTag node]) {
String code = sources[uri.toString()];
if (code === null) throw new IllegalArgumentException(uri);

Powered by Google App Engine
This is Rietveld 408576698