OLD | NEW |
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 * The matcher library provides a 3rd generation assertion mechanism, drawing | 5 * The matcher library provides a 3rd generation assertion mechanism, drawing |
6 * inspiration from [Hamcrest](http://code.google.com/p/hamcrest/). | 6 * inspiration from [Hamcrest](http://code.google.com/p/hamcrest/). |
7 * | 7 * |
8 * ## Installing ## | 8 * ## Installing ## |
9 * | 9 * |
10 * Use [pub][] to install this package. Add the following to your `pubspec.yaml` | 10 * Use [pub][] to install this package. Add the following to your `pubspec.yaml` |
(...skipping 11 matching lines...) Expand all Loading... |
22 * For more information, see the [unittest package on pub.dartlang.org]. | 22 * For more information, see the [unittest package on pub.dartlang.org]. |
23 * (http://pub.dartlang.org/packages/unittest). | 23 * (http://pub.dartlang.org/packages/unittest). |
24 * | 24 * |
25 * [pub]: http://pub.dartlang.org | 25 * [pub]: http://pub.dartlang.org |
26 * [pkg]: http://pub.dartlang.org/packages/matcher | 26 * [pkg]: http://pub.dartlang.org/packages/matcher |
27 */ | 27 */ |
28 library matcher; | 28 library matcher; |
29 | 29 |
30 import 'dart:async'; | 30 import 'dart:async'; |
31 | 31 |
| 32 import 'src/pretty_print.dart'; |
| 33 import 'src/utils.dart'; |
| 34 |
32 part 'src/basematcher.dart'; | 35 part 'src/basematcher.dart'; |
33 part 'src/iterable_matchers.dart'; | 36 part 'src/iterable_matchers.dart'; |
34 part 'src/core_matchers.dart'; | 37 part 'src/core_matchers.dart'; |
35 part 'src/description.dart'; | 38 part 'src/description.dart'; |
36 part 'src/expect.dart'; | 39 part 'src/expect.dart'; |
37 part 'src/future_matchers.dart'; | 40 part 'src/future_matchers.dart'; |
38 part 'src/interfaces.dart'; | 41 part 'src/interfaces.dart'; |
39 part 'src/map_matchers.dart'; | 42 part 'src/map_matchers.dart'; |
40 part 'src/numeric_matchers.dart'; | 43 part 'src/numeric_matchers.dart'; |
41 part 'src/operator_matchers.dart'; | 44 part 'src/operator_matchers.dart'; |
42 part 'src/string_matchers.dart'; | 45 part 'src/string_matchers.dart'; |
OLD | NEW |