OLD | NEW |
1 // Copyright (c) 2013, 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 /** |
5 * Support for specifying test expectations, | 6 * Support for specifying test expectations, such as for unit tests. |
6 * such as for unit tests. | |
7 * | |
8 * This library is included in the | |
9 * [unittest package on pub.dartlang.org] | |
10 * (http://pub.dartlang.org/packages/unittest). | |
11 * Import this library into your Dart code with: | |
12 * | |
13 * import 'package:unittest/matcher.dart'; | |
14 * | 7 * |
15 * The matcher library provides a third-generation assertion mechanism, drawing | 8 * The matcher library provides a third-generation assertion mechanism, drawing |
16 * inspiration from [Hamcrest](http://code.google.com/p/hamcrest/). | 9 * inspiration from [Hamcrest](http://code.google.com/p/hamcrest/). |
| 10 * |
17 * For more information, see | 11 * For more information, see |
18 * [Unit Testing with Dart] | 12 * [Unit Testing with Dart] |
19 * (http://www.dartlang.org/articles/dart-unit-tests/). | 13 * (http://www.dartlang.org/articles/dart-unit-tests/). |
20 */ | 14 */ |
21 library unittest.matcher; | 15 library matcher; |
22 | 16 |
23 import 'dart:async'; | 17 import 'dart:async'; |
24 | 18 |
25 import 'src/pretty_print.dart'; | 19 import 'src/description.dart'; |
26 import 'src/utils.dart'; | 20 import 'src/interfaces.dart'; |
27 | 21 |
28 part 'src/iterable_matchers.dart'; | 22 export 'src/description.dart'; |
| 23 export 'src/interfaces.dart'; |
| 24 |
29 part 'src/core_matchers.dart'; | 25 part 'src/core_matchers.dart'; |
30 part 'src/description.dart'; | |
31 part 'src/expect.dart'; | 26 part 'src/expect.dart'; |
32 part 'src/future_matchers.dart'; | 27 part 'src/future_matchers.dart'; |
33 part 'src/interfaces.dart'; | 28 part 'src/iterable_matchers.dart'; |
34 part 'src/map_matchers.dart'; | 29 part 'src/map_matchers.dart'; |
35 part 'src/numeric_matchers.dart'; | 30 part 'src/numeric_matchers.dart'; |
36 part 'src/operator_matchers.dart'; | 31 part 'src/operator_matchers.dart'; |
37 part 'src/string_matchers.dart'; | 32 part 'src/string_matchers.dart'; |
OLD | NEW |