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

Unified Diff: tests/utils/dummy_compiler_test.dart

Issue 11308227: Fix problems due to unit testing of the compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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/utils/dummy_compiler_test.dart
===================================================================
--- tests/utils/dummy_compiler_test.dart (revision 15398)
+++ tests/utils/dummy_compiler_test.dart (working copy)
@@ -34,6 +34,9 @@
eqNullB(a) {}""";
} else if (uri.path.endsWith('_patch.dart')) {
source = '';
+ } else if (uri.path.endsWith('interceptors.dart')) {
ahe 2012/11/28 11:17:36 Should be '/interceptors.dart', I think.
ngeoffray 2012/11/28 11:42:03 The other uri.path checks don't use '/'. Why would
ahe 2012/11/28 12:26:21 The one on line 35 doesn't because it is matching
+ source = """class ObjectInterceptor {}
+ var getInterceptor;""";
} else if (uri.path.endsWith('js_helper.dart')) {
source = 'library jshelper; class JSInvocationMirror {}';
} else {

Powered by Google App Engine
This is Rietveld 408576698