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

Issue 10543035: Mark Expect as deprecated. (Closed)

Created:
8 years, 6 months ago by gram
Modified:
8 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Mark Expect as deprecated. Committed: https://code.google.com/p/dart/source/detail?r=8365

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M corelib/src/expect.dart View 1 1 chunk +7 lines, -0 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
gram
8 years, 6 months ago (2012-06-06 22:01:49 UTC) #1
sethladd
lgtm
8 years, 6 months ago (2012-06-06 22:05:46 UTC) #2
Bob Nystrom
http://codereview.chromium.org/10543035/diff/1/corelib/src/expect.dart File corelib/src/expect.dart (right): http://codereview.chromium.org/10543035/diff/1/corelib/src/expect.dart#newcode5 corelib/src/expect.dart:5: /** Expect is deprecated. Use expect() in the unit ...
8 years, 6 months ago (2012-06-06 22:08:09 UTC) #3
wittek
FYI https://chromiumcodereview.appspot.com/10543035/diff/4001/corelib/src/expect.dart File corelib/src/expect.dart (left): https://chromiumcodereview.appspot.com/10543035/diff/4001/corelib/src/expect.dart#oldcode5 corelib/src/expect.dart:5: class Expect { Wondering: Why is Expect a ...
8 years, 6 months ago (2012-06-14 10:30:35 UTC) #4
Bob Nystrom
On 2012/06/14 10:30:35, wittek wrote: > FYI > > https://chromiumcodereview.appspot.com/10543035/diff/4001/corelib/src/expect.dart > File corelib/src/expect.dart (left): > ...
8 years, 6 months ago (2012-06-14 20:02:39 UTC) #5
wittek
On 2012/06/14 20:02:39, Bob Nystrom wrote: > On 2012/06/14 10:30:35, wittek wrote: > > FYI ...
8 years, 6 months ago (2012-06-15 07:47:39 UTC) #6
wittek
(Ignore the prev message, accidentally hit send...) Thanks for the explanation, Bob! I'm purely thinking ...
8 years, 6 months ago (2012-06-15 07:50:04 UTC) #7
Bob Nystrom
8 years, 6 months ago (2012-06-15 16:17:24 UTC) #8
On 2012/06/15 07:50:04, wittek wrote:
> (Ignore the prev message, accidentally hit send...)
> 
> Thanks for the explanation, Bob!
> I'm purely thinking from a user's perspective here.
> And it feels kind of weird (not Darty) to write Expect.equals in unit tests.

You should never need to do that. Use the new API. It's more awesome. The only
people who should be using Expect are people writing Dart language tests.

- bob

Powered by Google App Engine
This is Rietveld 408576698