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