Add layout tests for audio codecs
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Jun 2012 21:45:37 +0000 (21:45 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Jun 2012 21:45:37 +0000 (21:45 +0000)
commitd32b19b10feeaf422db0725f63f61baf9ab138b3
tree522c393acb790d9d797d436d0603d12e355fcfdc
parent42c795395d2cbb3891d04d24407b99b29223518e
Add layout tests for audio codecs
https://bugs.webkit.org/show_bug.cgi?id=88794

Patch by Raymond Toy <rtoy@google.com> on 2012-06-25
Reviewed by Chris Rogers.

New tests and expected results
* webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav: Added.
* webaudio/codec-tests/aac/vbr-128kbps-44khz.html: Added.
* webaudio/codec-tests/mp3/128kbps-44khz-expected.wav: Added.
* webaudio/codec-tests/mp3/128kbps-44khz.html: Added.
* webaudio/codec-tests/vorbis/vbr-128kbps-44khz-expected.wav: Added.
* webaudio/codec-tests/vorbis/vbr-128kbps-44khz.html: Added.
* webaudio/codec-tests/vorbis/vbr-70kbps-44khz-expected.wav: Added.
* webaudio/codec-tests/vorbis/vbr-70kbps-44khz.html: Added.
* webaudio/codec-tests/vorbis/vbr-96kbps-44khz-expected.wav: Added.
* webaudio/codec-tests/vorbis/vbr-96kbps-44khz.html: Added.
* webaudio/codec-tests/wav/24bit-22khz-resample-expected.wav: Added.
* webaudio/codec-tests/wav/24bit-22khz-resample.html: Added.
* webaudio/codec-tests/wav/24bit-44khz-expected.wav: Added.
* webaudio/codec-tests/wav/24bit-44khz.html: Added.
* webaudio/resources/audio-codec-test.js: Added.
(runDecodingTest):
(finishedLoading):

Media files for the tests
* webaudio/resources/media/128kbps-44khz.mp3: Added.
* webaudio/resources/media/24bit-22khz.wav: Added.
* webaudio/resources/media/24bit-44khz.wav: Added.
* webaudio/resources/media/vbr-128kbps-44khz.m4a: Added.
* webaudio/resources/media/vbr-128kbps-44khz.ogg: Added.
* webaudio/resources/media/vbr-70kbps-44khz.ogg: Added.
* webaudio/resources/media/vbr-96kbps-44khz.ogg: Added.

Platform-specific expected results
* platform/chromium-linux/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav: Added.
* platform/chromium-linux/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav: Added.
* platform/chromium-linux/webaudio/codec-tests/wav/24bit-22khz-resample-expected.wav: Added.
* platform/chromium-mac/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav: Added.
* platform/chromium-mac/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav: Added.
* platform/chromium-win/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav: Added.
* platform/chromium-win/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav: Added.
* platform/chromium-win/webaudio/codec-tests/wav/24bit-22khz-resample-expected.wav: Added.

New test expectations
* platform/chromium/TestExpectations: Disable aac/mp3 tests until bots have support.
* platform/efl/TestExpectations: Disable all webaudio codec tests
* platform/gtk/TestExpectations: Disable all webaudio codec tests
* platform/mac/TestExpectations: Disable all webaudio codec tests
* platform/qt/TestExpectations: Disable all webaudio codec tests

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121182 268f45cc-cd09-0410-ab3c-d52691b4dbfc
36 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/chromium-linux/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/platform/chromium-linux/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/platform/chromium-linux/webaudio/codec-tests/wav/24bit-22khz-resample-expected.wav [new file with mode: 0644]
LayoutTests/platform/chromium-mac/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/platform/chromium-mac/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/platform/chromium-win/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/platform/chromium-win/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/platform/chromium-win/webaudio/codec-tests/wav/24bit-22khz-resample-expected.wav [new file with mode: 0644]
LayoutTests/platform/chromium/TestExpectations
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/mac/TestExpectations
LayoutTests/platform/qt/TestExpectations
LayoutTests/webaudio/codec-tests/aac/vbr-128kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/aac/vbr-128kbps-44khz.html [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/mp3/128kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/mp3/128kbps-44khz.html [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/vorbis/vbr-128kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/vorbis/vbr-128kbps-44khz.html [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/vorbis/vbr-70kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/vorbis/vbr-70kbps-44khz.html [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/vorbis/vbr-96kbps-44khz-expected.wav [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/vorbis/vbr-96kbps-44khz.html [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/wav/24bit-22khz-resample-expected.wav [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/wav/24bit-22khz-resample.html [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/wav/24bit-44khz-expected.wav [new file with mode: 0644]
LayoutTests/webaudio/codec-tests/wav/24bit-44khz.html [new file with mode: 0644]
LayoutTests/webaudio/resources/audio-codec-test.js [new file with mode: 0644]
LayoutTests/webaudio/resources/media/128kbps-44khz.mp3 [new file with mode: 0644]
LayoutTests/webaudio/resources/media/24bit-22khz.wav [new file with mode: 0644]
LayoutTests/webaudio/resources/media/24bit-44khz.wav [new file with mode: 0644]
LayoutTests/webaudio/resources/media/vbr-128kbps-44khz.m4a [new file with mode: 0644]
LayoutTests/webaudio/resources/media/vbr-128kbps-44khz.ogg [new file with mode: 0644]
LayoutTests/webaudio/resources/media/vbr-70kbps-44khz.ogg [new file with mode: 0644]
LayoutTests/webaudio/resources/media/vbr-96kbps-44khz.ogg [new file with mode: 0644]