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 * |
| 8 * ## Installing ## |
| 9 * |
| 10 * Use [pub][] to install this package. Add the following to your `pubspec.yaml` |
| 11 * file. |
| 12 * |
| 13 * dependencies: |
| 14 * matcher: any |
| 15 * |
| 16 * Then run `pub install`. |
| 17 * |
| 18 * For more information, see the |
| 19 * [matcher package on pub.dartlang.org][pkg]. |
| 20 * |
| 21 * [pub]: http://pub.dartlang.org |
| 22 * [pkg]: http://pub.dartlang.org/packages/matcher |
7 */ | 23 */ |
8 library matcher; | 24 library matcher; |
9 | 25 |
10 import 'dart:async'; | 26 import 'dart:async'; |
11 | 27 |
12 part 'src/basematcher.dart'; | 28 part 'src/basematcher.dart'; |
13 part 'src/iterable_matchers.dart'; | 29 part 'src/iterable_matchers.dart'; |
14 part 'src/core_matchers.dart'; | 30 part 'src/core_matchers.dart'; |
15 part 'src/description.dart'; | 31 part 'src/description.dart'; |
16 part 'src/expect.dart'; | 32 part 'src/expect.dart'; |
17 part 'src/future_matchers.dart'; | 33 part 'src/future_matchers.dart'; |
18 part 'src/interfaces.dart'; | 34 part 'src/interfaces.dart'; |
19 part 'src/map_matchers.dart'; | 35 part 'src/map_matchers.dart'; |
20 part 'src/numeric_matchers.dart'; | 36 part 'src/numeric_matchers.dart'; |
21 part 'src/operator_matchers.dart'; | 37 part 'src/operator_matchers.dart'; |
22 part 'src/string_matchers.dart'; | 38 part 'src/string_matchers.dart'; |
OLD | NEW |