OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 #import("../../../pkg/dartdoc/mirrors/mirrors.dart"); | 5 #import("../../../pkg/dartdoc/mirrors/mirrors.dart"); |
6 #import("../../../pkg/dartdoc/mirrors/mirrors_util.dart"); | 6 #import("../../../pkg/dartdoc/mirrors/mirrors_util.dart"); |
7 | 7 |
8 #import('dart:io'); | 8 #import('dart:io'); |
9 | 9 |
10 int count(Iterable iterable) { | 10 int count(Iterable iterable) { |
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 Expect.stringEquals('negate', operator_negate.operatorName, | 632 Expect.stringEquals('negate', operator_negate.operatorName, |
633 "Unexpected operatorName"); | 633 "Unexpected operatorName"); |
634 | 634 |
635 | 635 |
636 var bazClassConstructors = bazClass.constructors; | 636 var bazClassConstructors = bazClass.constructors; |
637 Expect.isNotNull(bazClassConstructors, "Constructors map is null"); | 637 Expect.isNotNull(bazClassConstructors, "Constructors map is null"); |
638 Expect.equals(3, bazClassConstructors.length, | 638 Expect.equals(3, bazClassConstructors.length, |
639 "Unexpected number of constructors"); | 639 "Unexpected number of constructors"); |
640 // TODO(johnniwinther): Add tests of constructors. | 640 // TODO(johnniwinther): Add tests of constructors. |
641 } | 641 } |
OLD | NEW |