OLD | NEW |
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 /// Tests for [minArgs] and [maxArgs]. | 5 /// Tests for [minArgs] and [maxArgs]. |
6 library smoke.test.args_test; | 6 library smoke.test.args_test; |
7 | 7 |
8 import 'package:smoke/smoke.dart' | 8 import 'package:smoke/smoke.dart' |
9 show minArgs, maxArgs, canAcceptNArgs, SUPPORTED_ARGS; | 9 show minArgs, maxArgs, canAcceptNArgs, SUPPORTED_ARGS; |
10 import 'package:unittest/unittest.dart'; | 10 import 'package:test/test.dart'; |
11 | 11 |
12 main() { | 12 main() { |
13 var a = new A(); | 13 var a = new A(); |
14 var instanceMethods = [ | 14 var instanceMethods = [ |
15 a.m1, | 15 a.m1, |
16 a.m2, | 16 a.m2, |
17 a.m3, | 17 a.m3, |
18 a.m4, | 18 a.m4, |
19 a.m5, | 19 a.m5, |
20 a.m6, | 20 a.m6, |
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 9, | 626 9, |
627 10, | 627 10, |
628 11, | 628 11, |
629 12, | 629 12, |
630 13, | 630 13, |
631 14, | 631 14, |
632 15, | 632 15, |
633 15, | 633 15, |
634 15 | 634 15 |
635 ]; | 635 ]; |
OLD | NEW |