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

Side by Side Diff: sdk/lib/core/expect.dart

Issue 11419032: Switch libraries to using new tags. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to tip of tree. Changed library names to dart.x Created 8 years 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 | « sdk/lib/core/expando.dart ('k') | sdk/lib/core/function.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of dart.core;
6
5 /** 7 /**
6 * Expect is used for tests that do not want to make use of the 8 * Expect is used for tests that do not want to make use of the
7 * Dart unit test library - for example, the core language tests. 9 * Dart unit test library - for example, the core language tests.
8 * Third parties are discouraged from using this, and should use 10 * Third parties are discouraged from using this, and should use
9 * the expect() function in the unit test library instead for 11 * the expect() function in the unit test library instead for
10 * test assertions. 12 * test assertions.
11 */ 13 */
12 class Expect { 14 class Expect {
13 /** 15 /**
14 * Checks whether the expected and actual values are equal (using `==`). 16 * Checks whether the expected and actual values are equal (using `==`).
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 289
288 bool _identical(a, b) => identical(a, b); 290 bool _identical(a, b) => identical(a, b);
289 291
290 typedef bool _CheckExceptionFn(exception); 292 typedef bool _CheckExceptionFn(exception);
291 293
292 class ExpectException implements Exception { 294 class ExpectException implements Exception {
293 ExpectException(this.message); 295 ExpectException(this.message);
294 String toString() => message; 296 String toString() => message;
295 String message; 297 String message;
296 } 298 }
OLDNEW
« no previous file with comments | « sdk/lib/core/expando.dart ('k') | sdk/lib/core/function.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698