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

Unified Diff: reflectable/test/mock_tests/check_literal_transform_test.dart

Issue 1289933004: Implements support for reflection on parameters. (Closed) Base URL: https://github.com/dart-lang/reflectable.git@master
Patch Set: Merging with code from Sigurd, caused several adjustments Created 5 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
« no previous file with comments | « reflectable/lib/src/transformer_implementation.dart ('k') | test_reflectable/.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: reflectable/test/mock_tests/check_literal_transform_test.dart
diff --git a/reflectable/test/mock_tests/check_literal_transform_test.dart b/reflectable/test/mock_tests/check_literal_transform_test.dart
index 9e46e73b065c134711ee08cf197175f1c598b34a..a1250ea2039286caca8a08e2c3244614c1b36494 100644
--- a/reflectable/test/mock_tests/check_literal_transform_test.dart
+++ b/reflectable/test/mock_tests/check_literal_transform_test.dart
@@ -70,13 +70,12 @@ _initializeReflectable() {
"reflectable package. Remember to set your package-root to "
"'build/.../packages'.");
}
- r.data = {const prefix0.MyReflectable(): new r.ReflectorData([new r.ClassMirrorImpl(r"A", r".A", 0, const prefix0.MyReflectable(), [0], [], -1, {}, {}, {r"": () => new prefix0.A()}, null)], [new r.MethodMirrorImpl(r"", 64, 0, const prefix0.MyReflectable(), null)], [prefix0.A], {}, {})};
+ r.data = {const prefix0.MyReflectable(): new r.ReflectorData([new r.ClassMirrorImpl(r"A", r".A", 0, const prefix0.MyReflectable(), [0], [], -1, {}, {}, {r"": () => new prefix0.A()}, null)], [new r.MethodMirrorImpl(r"", 64, 0, [], const prefix0.MyReflectable(), null)], [], [prefix0.A], {}, {})};
}
"""
}
];
-
checkTransform(List maps) async {
Map<String, String> inputs = maps[0];
Map<String, String> expectedOutputs = maps[1];
« no previous file with comments | « reflectable/lib/src/transformer_implementation.dart ('k') | test_reflectable/.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698