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

Unified Diff: tests/lib/mirrors/mirrors_test.dart

Issue 236313012: Don't hide interceptors in mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 6 years, 8 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 | « tests/lib/mirrors/intercepted_object_test.dart ('k') | tests/lib/mirrors/null_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/mirrors_test.dart
diff --git a/tests/lib/mirrors/mirrors_test.dart b/tests/lib/mirrors/mirrors_test.dart
index 1dafef97445bc781151b81db45cac59f986e10ff..a08362274c501616863e57a57c2f90834f2cdc45 100644
--- a/tests/lib/mirrors/mirrors_test.dart
+++ b/tests/lib/mirrors/mirrors_test.dart
@@ -223,7 +223,13 @@ main() {
(Uri uri) => uri.path.endsWith('mirrors_test.dart'));
});
test("Test dart library uri", () {
- testLibraryUri("test", (Uri uri) => uri == Uri.parse('dart:core'));
+ testLibraryUri("test",
+ (Uri uri) {
+ if (uri == Uri.parse('dart:core')) return true;
+ // TODO(floitsch): do we want to fake the interceptors to
+ // be in dart:core?
+ return (uri == Uri.parse('dart:_interceptors'));
+ });
});
test("Test simple and qualifiedName", () { testNames(mirrors); });
test("Test reflect type", () { testReflectClass(mirrors); });
« no previous file with comments | « tests/lib/mirrors/intercepted_object_test.dart ('k') | tests/lib/mirrors/null_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698