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

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

Issue 11301046: Restructure pkg/unittest and pkg/webdriver to follow the pub conventions. (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
« no previous file with comments | « tests/language/local_export_test.dart ('k') | tests/standalone/io/http_server_handler_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
===================================================================
--- tests/lib/mirrors/mirrors_test.dart (revision 14440)
+++ tests/lib/mirrors/mirrors_test.dart (working copy)
@@ -5,9 +5,9 @@
// TODO(rmacnak): Move the existing mirror tests here (a place for
// cross-implementation tests).
-#library("MirrorsTest.dart");
-#import("dart:mirrors");
-#import("../../../pkg/unittest/unittest.dart");
+library MirrorsTest;
+import "dart:mirrors";
+import "../../../pkg/unittest/lib/unittest.dart";
var topLevelField;
@@ -21,7 +21,7 @@
testFieldAccess(mirrors) {
var instance = new Class();
- var libMirror = mirrors.libraries["MirrorsTest.dart"];
+ var libMirror = mirrors.libraries["MirrorsTest"];
var classMirror = libMirror.classes["Class"];
var instMirror = reflect(instance);
@@ -64,7 +64,7 @@
}
testInvokeConstructor(mirrors) {
- var libMirror = mirrors.libraries["MirrorsTest.dart"];
+ var libMirror = mirrors.libraries["MirrorsTest"];
var classMirror = libMirror.classes["Class"];
var future = classMirror.newInstance('', []);
« no previous file with comments | « tests/language/local_export_test.dart ('k') | tests/standalone/io/http_server_handler_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698