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

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

Issue 23020025: Implement ParameterMirror.{isFinal,hasDefaultValue,defaultValue}. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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') | tests/lib/mirrors/parameter_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// Test of [ParameterMirror]. 5 /// Test of [ParameterMirror].
6 library test.parameter_test; 6 library test.parameter_test;
7 7
8 @MirrorsUsed(targets: 'test.parameter_test', override: '*') 8 @MirrorsUsed(targets: 'test.parameter_test', override: '*')
9 import 'dart:mirrors'; 9 import 'dart:mirrors';
10 10
(...skipping 30 matching lines...) Expand all
41 expect('[Parameter(s(z) in s(B.bar),' 41 expect('[Parameter(s(z) in s(B.bar),'
42 ' type = Class(s(int) in s(dart.core), top-level)), ' 42 ' type = Class(s(int) in s(dart.core), top-level)), '
43 'Parameter(s(x) in s(B.bar),' 43 'Parameter(s(x) in s(B.bar),'
44 ' type = Type(s(dynamic), top-level))]', 44 ' type = Type(s(dynamic), top-level))]',
45 barConstructor.parameters); 45 barConstructor.parameters);
46 expect('Class(s(B) in s(test.parameter_test), top-level)', 46 expect('Class(s(B) in s(test.parameter_test), top-level)',
47 barConstructor.returnType); 47 barConstructor.returnType);
48 48
49 print(constructors); 49 print(constructors);
50 } 50 }
OLDNEW
« no previous file with comments | « tests/lib/lib.status ('k') | tests/lib/mirrors/parameter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698