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

Unified Diff: tests/lib_strong/mirrors/deferred_mirrors_metadata_lib.dart

Issue 3011633002: Added back helper file accidentally deleted during test block 219 migration. (Closed)
Patch Set: Created 3 years, 4 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/lib_strong/mirrors/deferred_mirrors_metadata_lib.dart
diff --git a/tests/lib_strong/mirrors/deferred_mirrors_metadata_lib.dart b/tests/lib_strong/mirrors/deferred_mirrors_metadata_lib.dart
deleted file mode 100644
index 2ac3d34f08d451d281a4088fbe684cfd1ba55f1a..0000000000000000000000000000000000000000
--- a/tests/lib_strong/mirrors/deferred_mirrors_metadata_lib.dart
+++ /dev/null
@@ -1,33 +0,0 @@
-library lib;
-
-import "deferred_mirrors_metadata_test.dart";
-@MirrorsUsed(
- targets: const ["main", "main.A", "main.B", "main.C", "main.D", "lib.E"])
-import "dart:mirrors";
-
-class H {
- const H();
-}
-
-class F {
- @H()
- final int f;
-}
-
-@C()
-class E {
- @D()
- var f;
-}
-
-String foo() {
- String c = reflectClass(E).metadata[0].invoke(#toString, []).reflectee;
- String d = reflectClass(E)
- .declarations[#f]
- .metadata[0]
- .invoke(#toString, []).reflectee;
- InstanceMirror i = currentMirrorSystem().findLibrary(#main).metadata[0];
- String a = i.invoke(#toString, []).reflectee;
- String b = i.getField(#b).invoke(#toString, []).reflectee;
- return a + b + c + d;
-}
« no previous file with comments | « tests/lib_strong/mirrors/declarations_type_test.dart ('k') | tests/lib_strong/mirrors/deferred_mirrors_metadata_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698