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

Issue 12328143: pkg/unittest: Moved `fail` to matcher library (Closed)

Created:
7 years, 9 months ago by kevmoo-old
Modified:
7 years, 9 months ago
Reviewers:
Bob Nystrom, gram
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Aligns with usage of FailureHandler and behavior of expect Eliminates call: expect(false, isTrue, reason: ...) BUG= https://code.google.com/p/dart/issues/detail?id=8450 Committed: https://code.google.com/p/dart/source/detail?r=19168

Patch Set 1 #

Patch Set 2 : fixes to align with r19166 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -13 lines) Patch
M pkg/unittest/lib/src/core_matchers.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/unittest/lib/src/expect.dart View 1 1 chunk +7 lines, -0 lines 0 comments Download
M pkg/unittest/lib/src/future_matchers.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/unittest/lib/unittest.dart View 1 1 chunk +0 lines, -4 lines 0 comments Download
M pkg/unittest/test/unittest_test.dart View 4 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kevmoo-old
7 years, 9 months ago (2013-02-27 14:54:15 UTC) #1
gram
Adding Bob; I think some of this code was originally his.
7 years, 9 months ago (2013-02-27 17:55:29 UTC) #2
gram
lgtm
7 years, 9 months ago (2013-02-27 17:58:34 UTC) #3
kevmoo-old
Updated to align with r19166 If it lgty, please commit.
7 years, 9 months ago (2013-02-27 20:02:54 UTC) #4
gram
7 years, 9 months ago (2013-02-27 20:51:27 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r19168 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698