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

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

Issue 10805085: The mirror tests made the invalid assumption that the library with the tests (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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/lib.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/mirrors_test.dart
===================================================================
--- tests/lib/mirrors/mirrors_test.dart (revision 9835)
+++ tests/lib/mirrors/mirrors_test.dart (working copy)
@@ -10,7 +10,7 @@
#import("../../../lib/unittest/unittest.dart");
var topLevelField;
-
+
Ivan Posva 2012/07/24 17:21:31 empty space...
class Class {
var field;
static var staticField;
@@ -19,7 +19,7 @@
testFieldAccess(mirrors) {
var instance = new Class();
- var libMirror = mirrors.rootLibrary;
+ var libMirror = mirrors.libraries()["MirrorsTest.dart"];
var classMirror = libMirror.classes()["Class"];
var instMirror = mirrors.mirrorOf(instance);
« no previous file with comments | « tests/lib/lib.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698