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

Issue 2657033002: Convert AudioParam tests to testharness and new Audit (Closed)

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

Description

Convert AudioParam tests to testharness and new Audit Manually convert all tests using createAudioGraphAndTest to use testharness and new Audit. BUG=685355 TEST=audioparam-exponentialRampToValueAtTime.html audioparam-linearRampToValueAtTime.html audioparam-setTargetAtTime.html audioparam-setValueAtTime.html audioparam-setValueCurveAtTime.html Review-Url: https://codereview.chromium.org/2657033002 Cr-Commit-Position: refs/heads/master@{#447058} Committed: https://chromium.googlesource.com/chromium/src/+/fa102cf589f1db56e94cd4fc2493d5c26b4c9c91

Patch Set 1 #

Patch Set 2 : Remove unneeded expected results. #

Total comments: 7

Patch Set 3 : Address comments #

Patch Set 4 : clang-format the JS code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+547 lines, -634 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exponentialRampToValueAtTime.html View 1 2 3 1 chunk +33 lines, -40 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exponentialRampToValueAtTime-expected.txt View 1 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-linearRampToValueAtTime.html View 1 2 3 1 chunk +29 lines, -38 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-linearRampToValueAtTime-expected.txt View 1 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setTargetAtTime.html View 1 2 3 2 chunks +23 lines, -32 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setTargetAtTime-expected.txt View 1 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueAtTime.html View 1 2 3 1 chunk +24 lines, -34 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueAtTime-expected.txt View 1 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurveAtTime.html View 1 2 3 1 chunk +35 lines, -42 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurveAtTime-expected.txt View 1 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/resources/audioparam-testing.js View 1 2 3 5 chunks +403 lines, -393 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Raymond Toy
PTAL
3 years, 10 months ago (2017-01-27 19:23:11 UTC) #2
hongchan
https://codereview.chromium.org/2657033002/diff/20001/third_party/WebKit/LayoutTests/webaudio/resources/audioparam-testing.js File third_party/WebKit/LayoutTests/webaudio/resources/audioparam-testing.js (right): https://codereview.chromium.org/2657033002/diff/20001/third_party/WebKit/LayoutTests/webaudio/resources/audioparam-testing.js#newcode237 third_party/WebKit/LayoutTests/webaudio/resources/audioparam-testing.js:237: //testFailed("NaN or infinity for rendered data at " + ...
3 years, 10 months ago (2017-01-30 17:38:04 UTC) #3
Raymond Toy
https://codereview.chromium.org/2657033002/diff/20001/third_party/WebKit/LayoutTests/webaudio/resources/audioparam-testing.js File third_party/WebKit/LayoutTests/webaudio/resources/audioparam-testing.js (right): https://codereview.chromium.org/2657033002/diff/20001/third_party/WebKit/LayoutTests/webaudio/resources/audioparam-testing.js#newcode238 third_party/WebKit/LayoutTests/webaudio/resources/audioparam-testing.js:238: should(!isValidNumber(rendered[startSample + k]), On 2017/01/30 17:38:04, hongchan wrote: > ...
3 years, 10 months ago (2017-01-30 18:07:03 UTC) #4
hongchan
lgtm. Can you apply clang-format before committing it?
3 years, 10 months ago (2017-01-30 18:34:58 UTC) #5
Raymond Toy
On 2017/01/30 18:34:58, hongchan wrote: > lgtm. > > Can you apply clang-format before committing ...
3 years, 10 months ago (2017-01-30 18:35:42 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/2657033002/60001
3 years, 10 months ago (2017-01-30 19:10:29 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-01-30 21:05:14 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/fa102cf589f1db56e94cd4fc2493...

Powered by Google App Engine
This is Rietveld 408576698