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

Side by Side Diff: dart/tests/language/many_overridden_no_such_method_test.dart

Issue 14251021: Move invokeOn to InstanceMirror. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 library ManyOverriddenNoSuchMethodTest.dart; 5 library ManyOverriddenNoSuchMethodTest.dart;
6
7 import "dart:mirrors" show reflect;
6 import "package:expect/expect.dart"; 8 import "package:expect/expect.dart";
9
7 part "overridden_no_such_method.dart"; 10 part "overridden_no_such_method.dart";
8 11
9 class ManyOverriddenNoSuchMethodTest { 12 class ManyOverriddenNoSuchMethodTest {
10 static testMain() { 13 static testMain() {
11 for (int i = 0; i < 5000; i++) { 14 for (int i = 0; i < 5000; i++) {
12 OverriddenNoSuchMethod.testMain(); 15 OverriddenNoSuchMethod.testMain();
13 } 16 }
14 } 17 }
15 } 18 }
16 19
17 main() { 20 main() {
18 ManyOverriddenNoSuchMethodTest.testMain(); 21 ManyOverriddenNoSuchMethodTest.testMain();
19 } 22 }
OLDNEW
« no previous file with comments | « dart/tests/language/invocation_mirror_invoke_on_test.dart ('k') | dart/tests/language/no_such_method_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698