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