From e3f5cee08730a12d988044e27414a58ae9643ae9 Mon Sep 17 00:00:00 2001 From: "commit-queue@webkit.org" Date: Sat, 14 Apr 2012 01:30:36 +0000 Subject: [PATCH] Add layout test case for JavaScriptAudioNode. https://bugs.webkit.org/show_bug.cgi?id=83747 Patch by Raymond Liu on 2012-04-13 Reviewed by Chris Rogers. * webaudio/javascriptaudionode-expected.txt: Added. * webaudio/javascriptaudionode.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114196 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- LayoutTests/ChangeLog | 10 ++ .../webaudio/javascriptaudionode-expected.txt | 18 +++ LayoutTests/webaudio/javascriptaudionode.html | 134 +++++++++++++++++++++ 3 files changed, 162 insertions(+) create mode 100644 LayoutTests/webaudio/javascriptaudionode-expected.txt create mode 100644 LayoutTests/webaudio/javascriptaudionode.html diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index d1ec69e..b23ca4e 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,3 +1,13 @@ +2012-04-13 Raymond Liu + + Add layout test case for JavaScriptAudioNode. + https://bugs.webkit.org/show_bug.cgi?id=83747 + + Reviewed by Chris Rogers. + + * webaudio/javascriptaudionode-expected.txt: Added. + * webaudio/javascriptaudionode.html: Added. + 2012-04-13 Raymond Toy convolution-mono-mono test passes now diff --git a/LayoutTests/webaudio/javascriptaudionode-expected.txt b/LayoutTests/webaudio/javascriptaudionode-expected.txt new file mode 100644 index 0000000..81e1a05 --- /dev/null +++ b/LayoutTests/webaudio/javascriptaudionode-expected.txt @@ -0,0 +1,18 @@ +Tests JavaScriptAudioNode. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + +PASS Exception was thrown for illegal numberOfOutputChannels. +PASS Exception was thrown for illegal bufferSize. +PASS Successfully created JavaScriptAudioNode with bufferSize = 256. +PASS Successfully created JavaScriptAudioNode with bufferSize = 512. +PASS Successfully created JavaScriptAudioNode with bufferSize = 1024. +PASS Successfully created JavaScriptAudioNode with bufferSize = 2048. +PASS Successfully created JavaScriptAudioNode with bufferSize = 4096. +PASS Successfully created JavaScriptAudioNode with bufferSize = 8192. +PASS Successfully created JavaScriptAudioNode with bufferSize = 16384. +PASS onaudioprocess was called with correct data. +PASS successfullyParsed is true + +TEST COMPLETE + diff --git a/LayoutTests/webaudio/javascriptaudionode.html b/LayoutTests/webaudio/javascriptaudionode.html new file mode 100644 index 0000000..31a6172 --- /dev/null +++ b/LayoutTests/webaudio/javascriptaudionode.html @@ -0,0 +1,134 @@ + + + + + + + + + + +
+
+ + + + + + -- 2.7.4