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

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

Issue 2727323002: Add @MirrorsUsed annotations to speed up tests. (Closed)
Patch Set: Minor fixes. Created 3 years, 9 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // Regression test for Issue 17141. 5 // Regression test for Issue 17141.
6 6
7 library test.metadata_nested_constructor_call; 7 library test.metadata_nested_constructor_call;
8 8
9 @MirrorsUsed(targets: "test.metadata_nested_constructor_call")
9 import 'dart:mirrors'; 10 import 'dart:mirrors';
10 import 'package:expect/expect.dart'; 11 import 'package:expect/expect.dart';
11 12
12 class Box { 13 class Box {
13 final contents; 14 final contents;
14 const Box([this.contents]); 15 const Box([this.contents]);
15 } 16 }
16 17
17 class MutableBox { 18 class MutableBox {
18 var contents; 19 var contents;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 reflectClass(E).metadata; 75 reflectClass(E).metadata;
75 reflectClass(F).metadata; 76 reflectClass(F).metadata;
76 reflectClass(G).metadata; 77 reflectClass(G).metadata;
77 reflectClass(H).metadata; 78 reflectClass(H).metadata;
78 reflectClass(I).metadata; 79 reflectClass(I).metadata;
79 reflectClass(J).metadata; 80 reflectClass(J).metadata;
80 reflectClass(K).metadata; 81 reflectClass(K).metadata;
81 reflectClass(L).metadata; 82 reflectClass(L).metadata;
82 reflectClass(M).metadata; 83 reflectClass(M).metadata;
83 } 84 }
OLDNEW
« no previous file with comments | « tests/lib/mirrors/metadata_constructor_arguments_test.dart ('k') | tests/lib/mirrors/metadata_scope_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698