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

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

Issue 23460050: Mirror removals: async invoke, mirrorSystemOf(port), Mirror.mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: resync Created 7 years, 2 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/mirrors/invoke_closurization_test.dart
diff --git a/tests/lib/mirrors/invoke_closurization_test.dart b/tests/lib/mirrors/invoke_closurization_test.dart
index 28cdd567ff0d6a1d1dd715b9715ef91696313f06..10391611b4ce761d57c6b33af29ca6ff8bb5338e 100644
--- a/tests/lib/mirrors/invoke_closurization_test.dart
+++ b/tests/lib/mirrors/invoke_closurization_test.dart
@@ -35,33 +35,6 @@ testSync() {
Expect.equals("A:B:C", result.reflectee('A', 'B', 'C'));
}
-testAsync() {
- var future;
-
- C c = new C();
- InstanceMirror im = reflect(c);
- future = im.getFieldAsync(#instanceMethod);
- expectValueThen(future, (result) {
- Expect.isTrue(result.reflectee is Function, "Should be closure");
- Expect.equals("A+B+C", result.reflectee('A', 'B', 'C'));
- });
-
- ClassMirror cm = reflectClass(C);
- future = cm.getFieldAsync(#staticFunction);
- expectValueThen(future, (result) {
- Expect.isTrue(result.reflectee is Function, "Should be closure");
- Expect.equals("A-B-C", result.reflectee('A', 'B', 'C'));
- });
-
- LibraryMirror lm = cm.owner;
- future = lm.getFieldAsync(#libraryFunction);
- expectValueThen(future, (result) {
- Expect.isTrue(result.reflectee is Function, "Should be closure");
- Expect.equals("A:B:C", result.reflectee('A', 'B', 'C'));
- });
-}
-
main() {
testSync();
- testAsync();
}

Powered by Google App Engine
This is Rietveld 408576698