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

Unified Diff: runtime/tests/vm/dart/isolate_mirror_local_test.dart

Issue 18343005: Implement dynamicType and voidType as TypeMirrors not ClassMirrors. Issue 11743. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « runtime/lib/mirrors_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tests/vm/dart/isolate_mirror_local_test.dart
===================================================================
--- runtime/tests/vm/dart/isolate_mirror_local_test.dart (revision 25009)
+++ runtime/tests/vm/dart/isolate_mirror_local_test.dart (working copy)
@@ -344,6 +344,10 @@
testLibrariesMap(mirrors.libraries);
Expect.equals(const Symbol('void'), mirrors.voidType.simpleName);
Expect.equals(const Symbol('dynamic'), mirrors.dynamicType.simpleName);
+ Expect.isTrue(mirrors.voidType is TypeMirror);
+ Expect.isTrue(mirrors.dynamicType is TypeMirror);
+ Expect.isFalse(mirrors.voidType is ClassMirror);
+ Expect.isFalse(mirrors.dynamicType is ClassMirror);
testDone('testMirrorSystem');
}
« no previous file with comments | « runtime/lib/mirrors_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698