Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: pkg/unittest/lib/matcher.dart

Issue 210413002: pkg/unittest: using matcher and mock from packages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: releasing v0.10.1 Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/unittest/CHANGELOG.md ('k') | pkg/unittest/lib/mirror_matchers.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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';
OLDNEW
« no previous file with comments | « pkg/unittest/CHANGELOG.md ('k') | pkg/unittest/lib/mirror_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698