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

Issue 2591233004: Provide detailed information on the test failure (Closed)

Created:
3 years, 12 months ago by hongchan
Modified:
3 years, 12 months ago
Reviewers:
Raymond Toy
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Provide detailed information on the test failure Currently Audit's assertion chooses either the actual value or the description about it. Modify the code so the failure test case can have both information in the error message. Now the failed assertion will have 'Got ${actual value}' at the end of error message. BUG=676348 TEST=LayoutTests/webaudio/unit-tests/audit-failures.html Committed: https://crrev.com/15a4b6f89805292c7a2c140cc7ee4a42bc78d26d Cr-Commit-Position: refs/heads/master@{#440268}

Patch Set 1 : Initial patch #

Patch Set 2 : Fixing nits #

Patch Set 3 : Update expected result #

Total comments: 13

Patch Set 4 : Addressing feedback #

Total comments: 8

Patch Set 5 : Fixing nits after l-g-t-m #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -24 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/resources/audit.js View 1 2 3 4 12 chunks +29 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures-expected.txt View 1 2 3 4 2 chunks +15 lines, -14 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
hongchan
PTAL.
3 years, 12 months ago (2016-12-21 18:35:46 UTC) #2
Raymond Toy
Excited to see this! Just a few small quibbles. https://codereview.chromium.org/2591233004/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/audit.js File third_party/WebKit/LayoutTests/webaudio/resources/audit.js (right): https://codereview.chromium.org/2591233004/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/audit.js#newcode138 third_party/WebKit/LayoutTests/webaudio/resources/audit.js:138: ...
3 years, 12 months ago (2016-12-21 18:58:13 UTC) #3
hongchan
https://codereview.chromium.org/2591233004/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/audit.js File third_party/WebKit/LayoutTests/webaudio/resources/audit.js (right): https://codereview.chromium.org/2591233004/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/audit.js#newcode138 third_party/WebKit/LayoutTests/webaudio/resources/audit.js:138: _throwException('Illegal invocation: the assertion is not finished.'); On 2016/12/21 ...
3 years, 12 months ago (2016-12-21 21:30:03 UTC) #4
Raymond Toy
lgtm with nits https://codereview.chromium.org/2591233004/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/audit.js File third_party/WebKit/LayoutTests/webaudio/resources/audit.js (right): https://codereview.chromium.org/2591233004/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/audit.js#newcode138 third_party/WebKit/LayoutTests/webaudio/resources/audit.js:138: _throwException('Illegal invocation: the assertion is not ...
3 years, 12 months ago (2016-12-21 21:57:38 UTC) #5
hongchan
https://codereview.chromium.org/2591233004/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/audit.js File third_party/WebKit/LayoutTests/webaudio/resources/audit.js (right): https://codereview.chromium.org/2591233004/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/audit.js#newcode140 third_party/WebKit/LayoutTests/webaudio/resources/audit.js:140: let actualString = _generateDescription(this._actual, this._options); On 2016/12/21 21:57:37, Raymond ...
3 years, 12 months ago (2016-12-21 22:43:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2591233004/80001
3 years, 12 months ago (2016-12-21 22:44:37 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
3 years, 12 months ago (2016-12-21 23:59:16 UTC) #12
commit-bot: I haz the power
3 years, 12 months ago (2016-12-22 00:01:34 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/15a4b6f89805292c7a2c140cc7ee4a42bc78d26d
Cr-Commit-Position: refs/heads/master@{#440268}

Powered by Google App Engine
This is Rietveld 408576698