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

Issue 2618053002: Implement should().notBeConstantValueOf(x) (Closed)

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

Description

Implement should().notBeConstantValueOf(x) This CL adds the new assertion to audit; it checks if an array has values other than the expected value. This is useful when checking the non-zero array. BUG=678695 TEST= LayoutTests/webaudio/unit-tests/audit.html LayoutTests/webaudio/unit-tests/audit-failures.html Review-Url: https://codereview.chromium.org/2618053002 Cr-Commit-Position: refs/heads/master@{#442095} Committed: https://chromium.googlesource.com/chromium/src/+/48de3222c0b6a9cf23aa2e18184ef72cf736023a

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressing Feedback #

Total comments: 2

Patch Set 3 : Addressing nit after l-g-t-m #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/resources/audit.js View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-expected.txt View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures-expected.txt View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (5 generated)
hongchan
PTAL.
3 years, 11 months ago (2017-01-06 18:34:01 UTC) #2
Raymond Toy
https://codereview.chromium.org/2618053002/diff/1/third_party/WebKit/LayoutTests/webaudio/resources/audit.js File third_party/WebKit/LayoutTests/webaudio/resources/audit.js (right): https://codereview.chromium.org/2618053002/diff/1/third_party/WebKit/LayoutTests/webaudio/resources/audit.js#newcode551 third_party/WebKit/LayoutTests/webaudio/resources/audit.js:551: * "PASS [1,0,1] contains values that differ from the ...
3 years, 11 months ago (2017-01-06 18:50:12 UTC) #3
hongchan
https://codereview.chromium.org/2618053002/diff/1/third_party/WebKit/LayoutTests/webaudio/resources/audit.js File third_party/WebKit/LayoutTests/webaudio/resources/audit.js (right): https://codereview.chromium.org/2618053002/diff/1/third_party/WebKit/LayoutTests/webaudio/resources/audit.js#newcode551 third_party/WebKit/LayoutTests/webaudio/resources/audit.js:551: * "PASS [1,0,1] contains values that differ from the ...
3 years, 11 months ago (2017-01-06 19:14:42 UTC) #4
Raymond Toy
lgtm with nit https://codereview.chromium.org/2618053002/diff/20001/third_party/WebKit/LayoutTests/webaudio/resources/audit.js File third_party/WebKit/LayoutTests/webaudio/resources/audit.js (right): https://codereview.chromium.org/2618053002/diff/20001/third_party/WebKit/LayoutTests/webaudio/resources/audit.js#newcode574 third_party/WebKit/LayoutTests/webaudio/resources/audit.js:574: noun: numberOfDifferences > 1 ? 'values' ...
3 years, 11 months ago (2017-01-06 22:03:43 UTC) #5
hongchan
https://codereview.chromium.org/2618053002/diff/20001/third_party/WebKit/LayoutTests/webaudio/resources/audit.js File third_party/WebKit/LayoutTests/webaudio/resources/audit.js (right): https://codereview.chromium.org/2618053002/diff/20001/third_party/WebKit/LayoutTests/webaudio/resources/audit.js#newcode574 third_party/WebKit/LayoutTests/webaudio/resources/audit.js:574: noun: numberOfDifferences > 1 ? 'values' : 'value', On ...
3 years, 11 months ago (2017-01-06 22:08:55 UTC) #8
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/2618053002/40001
3 years, 11 months ago (2017-01-06 22:09:08 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 23:30:45 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/48de3222c0b6a9cf23aa2e18184e...

Powered by Google App Engine
This is Rietveld 408576698