| Index: pkg/unittest/lib/unittest.dart
|
| diff --git a/pkg/unittest/lib/unittest.dart b/pkg/unittest/lib/unittest.dart
|
| index e5923f3979f5e0c115d10996c42ea433254d29c4..40408708603458500d7125b5ccabfed1ac083045 100644
|
| --- a/pkg/unittest/lib/unittest.dart
|
| +++ b/pkg/unittest/lib/unittest.dart
|
| @@ -3,38 +3,33 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| /**
|
| - * A library for writing dart unit tests.
|
| + * Support for writing Dart unit tests.
|
| *
|
| - * ## Installing ##
|
| + * For information on installing and importing this library, see the
|
| + * [unittest package on pub.dartlang.org]
|
| + * (http://pub.dartlang.org/packages/unittest).
|
| *
|
| - * Use [pub][] to install this package. Add the following to your `pubspec.yaml`
|
| - * file.
|
| + * **See also:**
|
| + * [Unit Testing with Dart]
|
| + * (http://www.dartlang.org/articles/dart-unit-tests/)
|
| *
|
| - * dependencies:
|
| - * unittest: any
|
| - *
|
| - * Then run `pub install`.
|
| - *
|
| - * For more information, see the
|
| - * [unittest package on pub.dartlang.org][pkg].
|
| - *
|
| - * See the [Getting Started](http://pub.dartlang.org/doc)
|
| - * guide for more details.
|
| - *
|
| - * ##Concepts##
|
| + * ##Concepts
|
| *
|
| * * __Tests__: Tests are specified via the top-level function [test], they can be
|
| * organized together using [group].
|
| + *
|
| * * __Checks__: Test expectations can be specified via [expect]
|
| + *
|
| * * __Matchers__: [expect] assertions are written declaratively using the
|
| * [Matcher] class.
|
| + *
|
| * * __Configuration__: The framework can be adapted by setting
|
| * [unittestConfiguration] with a [Configuration]. See the other libraries
|
| * in the `unittest` package for alternative implementations of
|
| * [Configuration] including `compact_vm_config.dart`, `html_config.dart` and
|
| * `html_enhanced_config.dart`.
|
| *
|
| - * ##Examples##
|
| + * ##Examples
|
| *
|
| * A trivial test:
|
| *
|
| @@ -131,15 +126,12 @@
|
| * Timer.run()], as the Future exception handler may not capture exceptions
|
| * in such code.
|
| *
|
| - * Note: due to some language limitations we have to use different functions
|
| + * Note: Due to some language limitations we have to use different functions
|
| * depending on the number of positional arguments of the callback. In the
|
| * future, we plan to expose a single `expectAsync` function that can be used
|
| * regardless of the number of positional arguments. This requires new langauge
|
| * features or fixes to the current spec (e.g. see
|
| * [Issue 2706](http://dartbug.com/2706)).
|
| - *
|
| - * [pub]: http://pub.dartlang.org
|
| - * [pkg]: http://pub.dartlang.org/packages/unittest
|
| */
|
| library unittest;
|
|
|
|
|