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

Issue 2695113003: Convert StereoPanner Audit tests to testharness (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 StereoPanner tests to testharness The following script was used to convert the tests: 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` if [ -f $base-expected.txt ]; then git rm $base-expected.txt fi done Some manual adjustments needed in stereopanner-testing.js to replace the calls to testPassed/testFailed. stereopannernode-basic.html was converted by hand to use testharness and new Audit. BUG=688495 TEST=stereopannernode-no-glitch.html, stereopannernode-panning.html, stereopannernode-basic.html Review-Url: https://codereview.chromium.org/2695113003 Cr-Commit-Position: refs/heads/master@{#452146} Committed: https://chromium.googlesource.com/chromium/src/+/b9ef335915c92ee0bc4d6cb6c69bf3d2be021621

Patch Set 1 #

Patch Set 2 : Convert stereopannernode-basic.html #

Total comments: 8

Patch Set 3 : Address review comments #

Total comments: 2

Patch Set 4 : Address review comment #

Patch Set 5 : Fix typo #

Messages

Total messages: 22 (11 generated)
Raymond Toy
PTAL
3 years, 10 months ago (2017-02-15 16:33:52 UTC) #3
hongchan
https://codereview.chromium.org/2695113003/diff/20001/third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html File third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html (right): https://codereview.chromium.org/2695113003/diff/20001/third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html#newcode13 third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html:13: I prefer to remove this empty line. https://codereview.chromium.org/2695113003/diff/20001/third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html#newcode44 third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html:44: ...
3 years, 10 months ago (2017-02-17 18:36:19 UTC) #4
Raymond Toy
https://codereview.chromium.org/2695113003/diff/20001/third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html File third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html (right): https://codereview.chromium.org/2695113003/diff/20001/third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html#newcode44 third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html:44: // TODO(rtoy): Replace this On 2017/02/17 18:36:19, hongchan wrote: ...
3 years, 10 months ago (2017-02-17 19:18:41 UTC) #5
hongchan
lgtm with a nit https://codereview.chromium.org/2695113003/diff/40001/third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html File third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html (right): https://codereview.chromium.org/2695113003/diff/40001/third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html#newcode43 third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html:43: // TODO(rtoy): Replace this If ...
3 years, 10 months ago (2017-02-21 17:11:36 UTC) #6
Raymond Toy
https://codereview.chromium.org/2695113003/diff/40001/third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html File third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html (right): https://codereview.chromium.org/2695113003/diff/40001/third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html#newcode43 third_party/WebKit/LayoutTests/webaudio/StereoPanner/stereopannernode-no-glitch.html:43: // TODO(rtoy): Replace this On 2017/02/21 17:11:36, hongchan wrote: ...
3 years, 10 months ago (2017-02-21 17:41:54 UTC) #7
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/2695113003/60001
3 years, 10 months ago (2017-02-21 17:42:27 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/386605)
3 years, 10 months ago (2017-02-21 18:49:54 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/2695113003/80001
3 years, 10 months ago (2017-02-21 21:28:49 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
3 years, 10 months ago (2017-02-21 23:31:30 UTC) #17
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/2695113003/80001
3 years, 10 months ago (2017-02-22 18:22:29 UTC) #19
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 18:50:00 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/b9ef335915c92ee0bc4d6cb6c69b...

Powered by Google App Engine
This is Rietveld 408576698