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

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

Issue 14600029: Add pretty-printing to unittest and more thoroughly print values. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 7 years, 7 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
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 * 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 * 7 *
8 * ## Installing ## 8 * ## Installing ##
9 * 9 *
10 * Use [pub][] to install this package. Add the following to your `pubspec.yaml` 10 * Use [pub][] to install this package. Add the following to your `pubspec.yaml`
(...skipping 11 matching lines...) Expand all
22 * For more information, see the [unittest package on pub.dartlang.org]. 22 * For more information, see the [unittest package on pub.dartlang.org].
23 * (http://pub.dartlang.org/packages/unittest). 23 * (http://pub.dartlang.org/packages/unittest).
24 * 24 *
25 * [pub]: http://pub.dartlang.org 25 * [pub]: http://pub.dartlang.org
26 * [pkg]: http://pub.dartlang.org/packages/matcher 26 * [pkg]: http://pub.dartlang.org/packages/matcher
27 */ 27 */
28 library matcher; 28 library matcher;
29 29
30 import 'dart:async'; 30 import 'dart:async';
31 31
32 import 'src/pretty_print.dart';
33 import 'src/utils.dart';
34
32 part 'src/basematcher.dart'; 35 part 'src/basematcher.dart';
33 part 'src/iterable_matchers.dart'; 36 part 'src/iterable_matchers.dart';
34 part 'src/core_matchers.dart'; 37 part 'src/core_matchers.dart';
35 part 'src/description.dart'; 38 part 'src/description.dart';
36 part 'src/expect.dart'; 39 part 'src/expect.dart';
37 part 'src/future_matchers.dart'; 40 part 'src/future_matchers.dart';
38 part 'src/interfaces.dart'; 41 part 'src/interfaces.dart';
39 part 'src/map_matchers.dart'; 42 part 'src/map_matchers.dart';
40 part 'src/numeric_matchers.dart'; 43 part 'src/numeric_matchers.dart';
41 part 'src/operator_matchers.dart'; 44 part 'src/operator_matchers.dart';
42 part 'src/string_matchers.dart'; 45 part 'src/string_matchers.dart';
OLDNEW
« no previous file with comments | « no previous file | pkg/unittest/lib/src/core_matchers.dart » ('j') | pkg/unittest/lib/src/pretty_print.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698