DescriptionConvert AudioBuffer Audit tests to testharness
Only the tests using Audit are converted here, 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
done
Additional manual changes were needed to replace methods defined by
js-test.
Expected results files also removed.
BUG=676355
TEST=audiobuffer-copy-channel.html, audiobuffer-getChannelData.html
Committed: https://crrev.com/01758e7540a3f0412d08edaa5253f94a3c7d9a9a
Cr-Commit-Position: refs/heads/master@{#441383}
Patch Set 1 #Patch Set 2 : Rebase #
Messages
Total messages: 15 (10 generated)
|