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

Side by Side Diff: tests/lib/mirrors/dart2js_mirrors_test.dart

Issue 11118020: dart2js_mirrors_test added (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: TODO added Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/lib/lib.status ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #library('dart2js_mirrors_test');
2
3 #import('dart:mirrors');
4 #import("../../../pkg/unittest/unittest.dart");
5
6 void main() {
7 try {
8 print(currentMirrorSystem());
9 fail("UnsupportedOperationException expected");
10 } on UnsupportedOperationException catch (e) {
11 print(e);
12 }
13 try {
14 print(mirrorSystemOf(null));
15 fail("UnsupportedOperationException expected");
16 } on UnsupportedOperationException catch (e) {
17 print(e);
18 }
19 try {
20 print(reflect(null));
21 fail("UnsupportedOperationException expected");
22 } on UnsupportedOperationException catch (e) {
23 print(e);
24 }
25 }
OLDNEW
« no previous file with comments | « tests/lib/lib.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698