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

Unified Diff: pkg/unittest/lib/unittest.dart

Issue 12458002: pkg/unittest: fixed references to configuration implementations (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 20132013 copyright Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« pkg/unittest/lib/matcher.dart ('K') | « pkg/unittest/lib/matcher.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/unittest.dart
diff --git a/pkg/unittest/lib/unittest.dart b/pkg/unittest/lib/unittest.dart
index 1177de50e7c22756fab2310c4acdbb49674d3d49..30b1b715f66aee738150036f4399c274b179cce3 100644
--- a/pkg/unittest/lib/unittest.dart
+++ b/pkg/unittest/lib/unittest.dart
@@ -1,33 +1,22 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/**
* A library for writing dart unit tests.
*
- * To import this library, use the pub package manager.
- * Create a pubspec.yaml file in your project and add
- * a dependency on unittest with the following lines:
- * dependencies:
- * unittest: any
- *
- * Then run 'pub install' from your project directory or using
- * the DartEditor.
- *
- * Please see [Pub Getting Started](http://pub.dartlang.org/doc)
- * for more details about the pub package manager.
gram 2013/03/05 18:55:33 I think we may want to keep this. Siggy, what do y
kevmoo-old 2013/03/05 20:21:08 Then should all pkg libraries have the pub instruc
Siggi Cherem (dart-lang) 2013/03/07 19:34:54 So and so. Many of our users might not come to Dar
kevmoo-old 2013/03/07 20:35:30 Understood. On it.
- *
* ##Concepts##
*
- * * Tests: Tests are specified via the top-level function [test], they can be
+ * * __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 [Matcher]s
- * * Configuration: The framework can be adapted by calling [configure] with a
- * [Configuration]. Common configurations can be found in this package
- * under: 'dom\_config.dart' (deprecated), 'html\_config.dart' (for running
- * tests compiled to Javascript in a browser), and 'vm\_config.dart' (for
- * running native Dart tests on the VM).
+ * * __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 calling [configure] 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##
*
« pkg/unittest/lib/matcher.dart ('K') | « pkg/unittest/lib/matcher.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698