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

Issue 2658703002: Convert AudioParam Audit tests to testharness (Closed)

Created:
3 years, 11 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 Audit tests to testharness This were converted automatically using the script for f in `grep -l Audit *.html` do # Replace js-test with testharness and add testharnessreport.js sed -i 's;\(.*\)\(<script.*\)js-test.js\(.*\);\1\2testharness.js\3\ \1\2testharnessreport.js\3 ;' $f # Remove old js-test methods that no longer exist. sed -i '/^[ ]*\(description(.*)\|finishJSTest()\);[ ]*$/d' $f # Remove jsTestIsAsync stuff sed -i '/^[ ]*window.jsTestIsAsync *= *true;[ ]*$/d' $f # Remove expected results file. base=`basename $f .html` git rm $base-expected.txt done The following files needed to be updated manually to remove the uses of testPassed/testFailed: audioparam-automation-clamping.html audioparam-large-endtime.html audioparam-linearRamp-value-attribute.html audioparam-method-chaining.html audioparam-nominal-range.html audioparam-sampling.html audioparam-setTargetAtTime-continuous.html audioparam-setTargetAtTime-limit.html audioparam-setValueCurve-copy.html audioparam-setValueCurve-duration.html audioparam-setValueCurve-exceptions.html audioparam-setValueCurveAtTime-interpolation.html audioparam-update-value-attribute.html BUG=685355 TEST= Review-Url: https://codereview.chromium.org/2658703002 Cr-Commit-Position: refs/heads/master@{#446814} Committed: https://chromium.googlesource.com/chromium/src/+/ec0443b5eca883e0cdeb2f8940cf8faa34dc9868

Patch Set 1 #

Patch Set 2 : Restore expected results that have console messages and update #

Total comments: 2

Patch Set 3 : Address review comments. #

Patch Set 4 : Rebase test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+430 lines, -932 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-automation-clamping.html View 3 chunks +5 lines, -10 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-automation-clamping-expected.txt View 1 1 chunk +7 lines, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-initial-event.html View 3 chunks +2 lines, -4 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-initial-event-expected.txt View 1 chunk +0 lines, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-large-endtime.html View 4 chunks +8 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-large-endtime-expected.txt View 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-linearRamp-value-attribute.html View 2 chunks +5 lines, -8 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-linearRamp-value-attribute-expected.txt View 1 chunk +0 lines, -41 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-method-chaining.html View 4 chunks +5 lines, -8 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-method-chaining-expected.txt View 1 chunk +0 lines, -20 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-negative-exponentialRamp.html View 3 chunks +2 lines, -4 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-negative-exponentialRamp-expected.txt View 1 chunk +0 lines, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-nominal-range.html View 1 2 9 chunks +27 lines, -30 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-nominal-range-expected.txt View 1 2 3 1 chunk +260 lines, -288 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-sampling.html View 4 chunks +4 lines, -8 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-sampling-expected.txt View 1 chunk +0 lines, -33 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setTargetAtTime-continuous.html View 5 chunks +8 lines, -9 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setTargetAtTime-continuous-expected.txt View 1 chunk +0 lines, -33 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setTargetAtTime-limit.html View 3 chunks +5 lines, -8 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setTargetAtTime-limit-expected.txt View 1 chunk +0 lines, -17 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setTargetAtTime-sampling.html View 3 chunks +2 lines, -4 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setTargetAtTime-sampling-expected.txt View 1 chunk +0 lines, -15 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-copy.html View 3 chunks +4 lines, -8 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-copy-expected.txt View 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-duration.html View 1 4 chunks +5 lines, -9 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-duration-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-end.html View 3 chunks +2 lines, -4 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-end-expected.txt View 1 chunk +0 lines, -15 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-exceptions.html View 6 chunks +17 lines, -24 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-exceptions-expected.txt View 1 1 chunk +40 lines, -51 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurveAtTime-interpolation.html View 4 chunks +12 lines, -22 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurveAtTime-interpolation-expected.txt View 1 chunk +0 lines, -70 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-update-value-attribute.html View 5 chunks +10 lines, -12 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-update-value-attribute-expected.txt View 1 chunk +0 lines, -97 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
Raymond Toy
PTAL
3 years, 11 months ago (2017-01-25 23:48:03 UTC) #2
hongchan
We're not doing var => let? If all of this test passes, please consider run ...
3 years, 11 months ago (2017-01-26 22:44:33 UTC) #3
Raymond Toy
On 2017/01/26 22:44:33, hongchan wrote: > We're not doing var => let? > > If ...
3 years, 11 months ago (2017-01-26 23:25:02 UTC) #4
hongchan
On 2017/01/26 23:25:02, Raymond Toy wrote: > On 2017/01/26 22:44:33, hongchan wrote: > > We're ...
3 years, 10 months ago (2017-01-27 17:01:39 UTC) #5
Raymond Toy
On 2017/01/27 17:01:39, hongchan wrote: > On 2017/01/26 23:25:02, Raymond Toy wrote: > > On ...
3 years, 10 months ago (2017-01-27 17:42:09 UTC) #6
hongchan
On 2017/01/27 17:42:09, Raymond Toy wrote: > On 2017/01/27 17:01:39, hongchan wrote: > > On ...
3 years, 10 months ago (2017-01-27 17:57:27 UTC) #7
Raymond Toy
On 2017/01/27 17:57:27, hongchan wrote: > On 2017/01/27 17:42:09, Raymond Toy wrote: > > On ...
3 years, 10 months ago (2017-01-27 19:00:51 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/2658703002/40001
3 years, 10 months ago (2017-01-27 19:01:29 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/377753)
3 years, 10 months ago (2017-01-27 20:39:13 UTC) #12
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/2658703002/60001
3 years, 10 months ago (2017-01-27 21:51:15 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 23:08:52 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/ec0443b5eca883e0cdeb2f8940cf...

Powered by Google App Engine
This is Rietveld 408576698