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

Unified Diff: corelib/src/expect.dart

Issue 10543035: Mark Expect as deprecated. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/expect.dart
===================================================================
--- corelib/src/expect.dart (revision 8345)
+++ corelib/src/expect.dart (working copy)
@@ -2,6 +2,13 @@
// 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.
+/**
+ * Expect is used for tests that do not want to make use of the
+ * Dart unit test library - for example, the core language tests.
+ * Third parties are discouraged from using this, and should use
+ * the expect() function in the unit test library instead for
+ * test assertions.
+ */
class Expect {
wittek 2012/06/14 10:30:35 Wondering: Why is Expect a class, when all methods
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698