From afb824e09c138f7b26e20e55fe8bd220cf1a9da8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez=20Moreno?= Date: Thu, 11 Oct 2018 19:33:17 +0200 Subject: [PATCH] Regenerate WebAudio WPTs expectations --- .../audiobuffersource-start.html.ini | 15 ++++++--------- .../note-grain-on-play.html.ini | 17 +++-------------- .../note-grain-on-timing.html.ini | 17 +++-------------- .../sample-accurate-scheduling.html.ini | 10 ---------- .../audionode-channel-rules.html.ini | 2 +- .../biquad-allpass.html.ini | 10 ---------- .../biquad-highpass.html.ini | 10 ---------- .../biquad-highshelf.html.ini | 10 ---------- .../biquad-lowpass.html.ini | 10 ---------- .../biquad-lowshelf.html.ini | 10 ---------- .../biquad-notch.html.ini | 10 ---------- .../biquad-peaking.html.ini | 10 ---------- 12 files changed, 13 insertions(+), 118 deletions(-) delete mode 100644 tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sample-accurate-scheduling.html.ini delete mode 100644 tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-allpass.html.ini delete mode 100644 tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-highpass.html.ini delete mode 100644 tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-highshelf.html.ini delete mode 100644 tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-lowpass.html.ini delete mode 100644 tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-lowshelf.html.ini delete mode 100644 tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-notch.html.ini delete mode 100644 tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-peaking.html.ini diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-start.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-start.html.ini index 9f8550d16cd..78875e26a31 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-start.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-start.html.ini @@ -1,23 +1,20 @@ [audiobuffersource-start.html] - [X Case 4: start(when, 4_frames, 4_frames): play with explicit non-zero offset and duration expected to be equal to the array [4,5,6,7,0,0,0,0,0,0,0,0,0,0,0,0...\] but differs in 4 places:\n\tIndex\tActual\t\t\tExpected\n\t[0\]\t0.0000000000000000e+0\t4.0000000000000000e+0\n\t[1\]\t0.0000000000000000e+0\t5.0000000000000000e+0\n\t[2\]\t0.0000000000000000e+0\t6.0000000000000000e+0\n\t[3\]\t0.0000000000000000e+0\t7.0000000000000000e+0\n\t...and 0 more errors.] + [< [Tests AudioBufferSourceNode start()\] 5 out of 18 assertions were failed.] expected: FAIL - [X Case 5: start(when, 7_frames): play with explicit non-zero offset near end of buffer expected to be equal to the array [7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...\] but differs in 1 places:\n\tIndex\tActual\t\t\tExpected\n\t[0\]\t0.0000000000000000e+0\t7.0000000000000000e+0] + [X Case 7: start(when, 9_frames): play with explicit offset past end of buffer expected to be equal to the array [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...\] but differs in 7 places:\n\tIndex\tActual\t\t\tExpected\n\t[1\]\t1.0000000000000000e+0\t0.0000000000000000e+0\n\t[2\]\t2.0000000000000000e+0\t0.0000000000000000e+0\n\t[3\]\t3.0000000000000000e+0\t0.0000000000000000e+0\n\t[4\]\t4.0000000000000000e+0\t0.0000000000000000e+0\n\t...and 3 more errors.] expected: FAIL - [X Case 8: start(when, 0, 15_frames): play with whole buffer, with long duration (clipped) expected to be equal to the array [0,1,2,3,4,5,6,7,0,0,0,0,0,0,0,0...\] but differs in 7 places:\n\tIndex\tActual\t\t\tExpected\n\t[1\]\t0.0000000000000000e+0\t1.0000000000000000e+0\n\t[2\]\t0.0000000000000000e+0\t2.0000000000000000e+0\n\t[3\]\t0.0000000000000000e+0\t3.0000000000000000e+0\n\t[4\]\t0.0000000000000000e+0\t4.0000000000000000e+0\n\t...and 3 more errors.] + [X Case 4: start(when, 4_frames, 4_frames): play with explicit non-zero offset and duration expected to be equal to the array [4,5,6,7,0,0,0,0,0,0,0,0,0,0,0,0...\] but differs in 8 places:\n\tIndex\tActual\t\t\tExpected\n\t[0\]\t0.0000000000000000e+0\t4.0000000000000000e+0\n\t[1\]\t1.0000000000000000e+0\t5.0000000000000000e+0\n\t[2\]\t2.0000000000000000e+0\t6.0000000000000000e+0\n\t[3\]\t3.0000000000000000e+0\t7.0000000000000000e+0\n\t...and 4 more errors.] expected: FAIL - [X Case 1: start(when, 0): play whole buffer from beginning to end explicitly giving offset of 0 expected to be equal to the array [0,1,2,3,4,5,6,7,0,0,0,0,0,0,0,0...\] but differs in 7 places:\n\tIndex\tActual\t\t\tExpected\n\t[1\]\t0.0000000000000000e+0\t1.0000000000000000e+0\n\t[2\]\t0.0000000000000000e+0\t2.0000000000000000e+0\n\t[3\]\t0.0000000000000000e+0\t3.0000000000000000e+0\n\t[4\]\t0.0000000000000000e+0\t4.0000000000000000e+0\n\t...and 3 more errors.] + [X Case 6: start(when, 8_frames): play with explicit offset at end of buffer expected to be equal to the array [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...\] but differs in 7 places:\n\tIndex\tActual\t\t\tExpected\n\t[1\]\t1.0000000000000000e+0\t0.0000000000000000e+0\n\t[2\]\t2.0000000000000000e+0\t0.0000000000000000e+0\n\t[3\]\t3.0000000000000000e+0\t0.0000000000000000e+0\n\t[4\]\t4.0000000000000000e+0\t0.0000000000000000e+0\n\t...and 3 more errors.] expected: FAIL - [X Case 2: start(when, 0, 8_frames): play whole buffer from beginning to end explicitly giving offset of 0 and duration of 8 frames expected to be equal to the array [0,1,2,3,4,5,6,7,0,0,0,0,0,0,0,0...\] but differs in 7 places:\n\tIndex\tActual\t\t\tExpected\n\t[1\]\t0.0000000000000000e+0\t1.0000000000000000e+0\n\t[2\]\t0.0000000000000000e+0\t2.0000000000000000e+0\n\t[3\]\t0.0000000000000000e+0\t3.0000000000000000e+0\n\t[4\]\t0.0000000000000000e+0\t4.0000000000000000e+0\n\t...and 3 more errors.] + [X Case 3: start(when, 4_frames): play with explicit non-zero offset expected to be equal to the array [4,5,6,7,0,0,0,0,0,0,0,0,0,0,0,0...\] but differs in 8 places:\n\tIndex\tActual\t\t\tExpected\n\t[0\]\t0.0000000000000000e+0\t4.0000000000000000e+0\n\t[1\]\t1.0000000000000000e+0\t5.0000000000000000e+0\n\t[2\]\t2.0000000000000000e+0\t6.0000000000000000e+0\n\t[3\]\t3.0000000000000000e+0\t7.0000000000000000e+0\n\t...and 4 more errors.] expected: FAIL - [< [Tests AudioBufferSourceNode start()\] 6 out of 18 assertions were failed.] - expected: FAIL - - [X Case 3: start(when, 4_frames): play with explicit non-zero offset expected to be equal to the array [4,5,6,7,0,0,0,0,0,0,0,0,0,0,0,0...\] but differs in 4 places:\n\tIndex\tActual\t\t\tExpected\n\t[0\]\t0.0000000000000000e+0\t4.0000000000000000e+0\n\t[1\]\t0.0000000000000000e+0\t5.0000000000000000e+0\n\t[2\]\t0.0000000000000000e+0\t6.0000000000000000e+0\n\t[3\]\t0.0000000000000000e+0\t7.0000000000000000e+0\n\t...and 0 more errors.] + [X Case 5: start(when, 7_frames): play with explicit non-zero offset near end of buffer expected to be equal to the array [7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...\] but differs in 8 places:\n\tIndex\tActual\t\t\tExpected\n\t[0\]\t0.0000000000000000e+0\t7.0000000000000000e+0\n\t[1\]\t1.0000000000000000e+0\t0.0000000000000000e+0\n\t[2\]\t2.0000000000000000e+0\t0.0000000000000000e+0\n\t[3\]\t3.0000000000000000e+0\t0.0000000000000000e+0\n\t...and 4 more errors.] expected: FAIL [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-play.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-play.html.ini index 3907c369ec7..ea403019ba7 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-play.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-play.html.ini @@ -1,22 +1,11 @@ [note-grain-on-play.html] - [X Number of grains that started at the correct time is not equal to 100. Got 1.] - expected: FAIL - - [X Pulse 0 boundary expected to be equal to the array [0,441\] but differs in 1 places:\n\tIndex\tActual\t\t\tExpected\n\t[1\]\t4.8520000000000000e+3\t4.4100000000000000e+2] - expected: FAIL - + expected: TIMEOUT [X Number of start frames is not equal to 100. Got 1.] expected: FAIL - [X Number of grains out of 100 that ended at the wrong time is not equal to 0. Got 1.] + [X Found all grain starts and ends is not true. Got false.] expected: FAIL - [< [note-grain-on-play\] 5 out of 8 assertions were failed.] - expected: FAIL - - [X Number of end frames is not equal to 100. Got 1.] - expected: FAIL - - [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] + [X Number of end frames is not equal to 100. Got 0.] expected: FAIL diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-timing.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-timing.html.ini index c0b05abed2a..b3d4e3b20c3 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-timing.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-timing.html.ini @@ -1,22 +1,11 @@ [note-grain-on-timing.html] - [X Number of grains that started at the correct time is not equal to 100. Got 1.] - expected: FAIL - - [X Pulse 0 boundary expected to be equal to the array [0,441\] but differs in 1 places:\n\tIndex\tActual\t\t\tExpected\n\t[1\]\t4.8520000000000000e+3\t4.4100000000000000e+2] - expected: FAIL - + expected: TIMEOUT [X Number of start frames is not equal to 100. Got 1.] expected: FAIL - [X Number of grains out of 100 that ended at the wrong time is not equal to 0. Got 1.] + [X Number of end frames is not equal to 100. Got 0.] expected: FAIL - [X Number of end frames is not equal to 100. Got 1.] - expected: FAIL - - [< [Test timing of noteGrainOn\] 5 out of 6 assertions were failed.] - expected: FAIL - - [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] + [X Found all grain starts and ends is not true. Got false.] expected: FAIL diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sample-accurate-scheduling.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sample-accurate-scheduling.html.ini deleted file mode 100644 index d3aed5f739e..00000000000 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sample-accurate-scheduling.html.ini +++ /dev/null @@ -1,10 +0,0 @@ -[sample-accurate-scheduling.html] - [< [test\] 1 out of 3 assertions were failed.] - expected: FAIL - - [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] - expected: FAIL - - [X Number of impulses found is not equal to 9. Got 1.] - expected: FAIL - diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode-channel-rules.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode-channel-rules.html.ini index 7cb30f75b56..e1fbe17d479 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode-channel-rules.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode-channel-rules.html.ini @@ -1,2 +1,2 @@ [audionode-channel-rules.html] - expected: CRASH + expected: TIMEOUT diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-allpass.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-allpass.html.ini deleted file mode 100644 index 2d8af0b1bde..00000000000 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-allpass.html.ini +++ /dev/null @@ -1,10 +0,0 @@ -[biquad-allpass.html] - [< [test\] 1 out of 3 assertions were failed.] - expected: FAIL - - [X Max error in Allpass filter response is not less than or equal to 3.9337e-8. Got 1.] - expected: FAIL - - [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] - expected: FAIL - diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-highpass.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-highpass.html.ini deleted file mode 100644 index ea656b8dea3..00000000000 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-highpass.html.ini +++ /dev/null @@ -1,10 +0,0 @@ -[biquad-highpass.html] - [< [test\] 1 out of 3 assertions were failed.] - expected: FAIL - - [X Max error in Highpass filter response is not less than or equal to 1.5487e-8. Got 0.6490383096498159.] - expected: FAIL - - [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] - expected: FAIL - diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-highshelf.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-highshelf.html.ini deleted file mode 100644 index 9f5e0b56c3b..00000000000 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-highshelf.html.ini +++ /dev/null @@ -1,10 +0,0 @@ -[biquad-highshelf.html] - [< [test\] 1 out of 3 assertions were failed.] - expected: FAIL - - [X Max error in Highshelf filter response is not less than or equal to 6.2577e-8. Got 2.3278465244357536.] - expected: FAIL - - [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] - expected: FAIL - diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-lowpass.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-lowpass.html.ini deleted file mode 100644 index c92fde14eba..00000000000 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-lowpass.html.ini +++ /dev/null @@ -1,10 +0,0 @@ -[biquad-lowpass.html] - [< [test\] 1 out of 3 assertions were failed.] - expected: FAIL - - [X Max error in Lowpass filter response is not less than or equal to 9.7869e-8. Got 1.] - expected: FAIL - - [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] - expected: FAIL - diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-lowshelf.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-lowshelf.html.ini deleted file mode 100644 index 0b0025a76fc..00000000000 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-lowshelf.html.ini +++ /dev/null @@ -1,10 +0,0 @@ -[biquad-lowshelf.html] - [< [test\] 1 out of 3 assertions were failed.] - expected: FAIL - - [X Max error in Lowshelf filter response is not less than or equal to 3.8349e-8. Got 3.162277660168379.] - expected: FAIL - - [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] - expected: FAIL - diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-notch.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-notch.html.ini deleted file mode 100644 index 740ce1ae59a..00000000000 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-notch.html.ini +++ /dev/null @@ -1,10 +0,0 @@ -[biquad-notch.html] - [< [test\] 1 out of 3 assertions were failed.] - expected: FAIL - - [X Max error in Notch filter response is not less than or equal to 1.9669e-8. Got 1.] - expected: FAIL - - [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] - expected: FAIL - diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-peaking.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-peaking.html.ini deleted file mode 100644 index 7b26daf7b82..00000000000 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-peaking.html.ini +++ /dev/null @@ -1,10 +0,0 @@ -[biquad-peaking.html] - [< [test\] 1 out of 3 assertions were failed.] - expected: FAIL - - [X Max error in Peaking filter response is not less than or equal to 5.8234e-8. Got 3.162277660168379.] - expected: FAIL - - [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] - expected: FAIL -