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

Side by Side Diff: tests/lib/mirrors/mixin_application_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) 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 // This test uses the multi-test "ok" feature to create two positive tests from
6 // one file. One of these tests fail on dart2js, but pass on the VM, or vice
7 // versa.
8 // TODO(ahe): When both implementations agree, remove the multi-test parts.
9
10 library test.mixin_application_test; 5 library test.mixin_application_test;
11 6
7 @MirrorsUsed(targets: "test.mixin_application_test")
12 import 'dart:mirrors'; 8 import 'dart:mirrors';
13 9
14 import 'package:expect/expect.dart'; 10 import 'package:expect/expect.dart';
15 11
16 import 'model.dart'; 12 import 'model.dart';
17 import 'stringify.dart'; 13 import 'stringify.dart';
18 14
19 class Mixin { 15 class Mixin {
20 int i; 16 int i;
21 m() {} 17 m() {}
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 testMixin(); 332 testMixin();
337 testMixin2(); 333 testMixin2();
338 testMixinApplication(); 334 testMixinApplication();
339 testMixinApplicationA(); 335 testMixinApplicationA();
340 testUnusedMixinApplication(); 336 testUnusedMixinApplication();
341 testSubclass(); 337 testSubclass();
342 testSubclass2(); 338 testSubclass2();
343 testSubclassA(); 339 testSubclassA();
344 testSubclass2A(); 340 testSubclass2A();
345 } 341 }
OLDNEW
« no previous file with comments | « tests/lib/mirrors/mirrors_resolve_fields_test.dart ('k') | tests/lib/mirrors/mixin_members_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698