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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-exceptions-expected.txt

Issue 2780433005: Convert AudioParam tests to new Audit (Closed)
Patch Set: Address review comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE WARNING: line 119: Delay.delayTime.setValueCurveAtTime value 5 outside n ominal range [0, 1]; value will be clamped. 1 CONSOLE WARNING: line 129: Delay.delayTime.setValueCurveAtTime value 5 outside n ominal range [0, 1]; value will be clamped.
2 This is a testharness.js-based test. 2 This is a testharness.js-based test.
3 PASS setValueCurveAtTime(curve, 0.0125, 0.0125) did not throw an exception. 3 PASS # AUDIT TASK RUNNER STARTED.
4 PASS setValueAtTime(1, 0.018750000000000003) threw NotSupportedError: Failed to execute 'setValueAtTime' on 'AudioParam': setValueAtTime(1, 0.01875) overlaps se tValueCurveAtTime(..., 0.0125, 0.0125). 4 PASS > [setValueCurve]
5 PASS linearRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedError: F ailed to execute 'linearRampToValueAtTime' on 'AudioParam': linearRampToValueAtT ime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125). 5 PASS setValueCurveAtTime(curve, 0.0125, 0.0125) did not throw an exception.
6 PASS exponentialRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedErr or: Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': exponentia lRampToValue(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125). 6 PASS setValueAtTime(1, 0.018750000000000003) threw NotSupportedError: "Failed to execute 'setValueAtTime' on 'AudioParam': setValueAtTime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)".
7 PASS setTargetAtTime(1, 0.018750000000000003, 1) threw NotSupportedError: Failed to execute 'setTargetAtTime' on 'AudioParam': setTargetAtTime(1, 0.01875, 1) ov erlaps setValueCurveAtTime(..., 0.0125, 0.0125). 7 PASS linearRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedError: "Failed to execute 'linearRampToValueAtTime' on 'AudioParam': linearRampToValue AtTime(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)".
8 PASS setValueAtTime(1, 0.026250000000000002) did not throw an exception. 8 PASS exponentialRampToValueAtTime(1, 0.018750000000000003) threw NotSupportedE rror: "Failed to execute 'exponentialRampToValueAtTime' on 'AudioParam': exponen tialRampToValue(1, 0.01875) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)".
9 PASS Automation functions overlapping an existing setValueCurveAtTime correctly signaled errors. 9 PASS setTargetAtTime(1, 0.018750000000000003, 1) threw NotSupportedError: "Fai led to execute 'setTargetAtTime' on 'AudioParam': setTargetAtTime(1, 0.01875, 1) overlaps setValueCurveAtTime(..., 0.0125, 0.0125)".
10 PASS linearRampToValueAtTime(1, 0.0125) did not throw an exception. 10 PASS setValueAtTime(1, 0.026250000000000002) did not throw an exception.
11 PASS exponentialRampToValueAtTime(1, 0.025) did not throw an exception. 11 PASS < [setValueCurve] All assertions passed. (total 6 assertions)
12 PASS setTargetAtTime(1, 0.037500000000000006, 0.1) did not throw an exception. 12 PASS > [automations]
13 PASS setValueCurveAtTime(curve, 0.05, 0.1) did not throw an exception. 13 PASS linearRampToValueAtTime(1, 0.0125) did not throw an exception.
14 PASS setValueCurveAtTime(curve, 0.00625, 0.01) threw NotSupportedError: Failed t o execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.0062 5, 0.01) overlaps linearRampToValueAtTime(1, 0.0125). 14 PASS exponentialRampToValueAtTime(1, 0.025) did not throw an exception.
15 PASS setValueCurveAtTime(curve, 0.018750000000000003, 0.01) threw NotSupportedEr ror: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTim e(..., 0.01875, 0.01) overlaps exponentialRampToValue(1, 0.025). 15 PASS setTargetAtTime(1, 0.037500000000000006, 0.1) did not throw an exception.
16 PASS setValueCurveAtTime(curve, 0.03125, 0.01) threw NotSupportedError: Failed t o execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.0312 5, 0.01) overlaps setTargetAtTime(1, 0.03750000000000001, 0.1). 16 PASS setValueCurveAtTime(curve, 0.05, 0.1) did not throw an exception.
17 PASS setValueCurveAtTime(curve, 0.043750000000000004, 0.01) threw NotSupportedEr ror: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueAtTime(0, 0.05375000000000001) overlaps setValueCurveAtTime(..., 0.05, 0.1). 17 PASS setValueCurveAtTime(curve, 0.00625, 0.01) threw NotSupportedError: "Faile d to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.0 0625, 0.01) overlaps linearRampToValueAtTime(1, 0.0125)".
18 PASS setValueCurveAtTime([NaN, NaN], 0.043750000000000004, 0.01) threw TypeError : Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float va lue for the curve at element 0 is non-finite: NaN. 18 PASS setValueCurveAtTime(curve, 0.018750000000000003, 0.01) threw NotSupported Error: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAt Time(..., 0.01875, 0.01) overlaps exponentialRampToValue(1, 0.025)".
19 PASS setValueCurveAtTime([1, Infinity], 0.043750000000000004, 0.01) threw TypeEr ror: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float value for the curve at element 1 is non-finite: Infinity. 19 PASS setValueCurveAtTime(curve, 0.03125, 0.01) threw NotSupportedError: "Faile d to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTime(..., 0.0 3125, 0.01) overlaps setTargetAtTime(1, 0.03750000000000001, 0.1)".
20 PASS delayTime.setValueCurveAtTime([1, 5], 0.043750000000000004, 0.01) did not t hrow an exception. 20 PASS setValueCurveAtTime(curve, 0.043750000000000004, 0.01) threw NotSupported Error: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueAtTime( 0, 0.05375000000000001) overlaps setValueCurveAtTime(..., 0.05, 0.1)".
21 PASS delayTime.setValueCurveAtTime([1, 5, Infinity], 0.043750000000000004, 0.01) threw TypeError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The p rovided float value for the curve at element 2 is non-finite: Infinity. 21 PASS setValueCurveAtTime([NaN, NaN], 0.043750000000000004, 0.01) threw TypeErr or: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided float value for the curve at element 0 is non-finite: NaN".
22 PASS setValueCurveAtTime(curve, 0.031415926535897934, 0.01) threw NotSupportedEr ror: Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAtTim e(..., 0.03141592653589793, 0.01) overlaps setTargetAtTime(1, 0.0375000000000000 1, 0.1). 22 PASS setValueCurveAtTime([1, Infinity], 0.043750000000000004, 0.01) threw Type Error: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': The provided fl oat value for the curve at element 1 is non-finite: Infinity".
23 PASS setValueCurve overlapping existing automation functions correctly signaled errors. 23 PASS delayTime.setValueCurveAtTime([1, 5], 0.043750000000000004, 0.01) did not throw an exception.
24 PASS Handled setValueCurve exception so output contains only the constant 1. 24 PASS delayTime.setValueCurveAtTime([1, 5, Infinity], 0.043750000000000004, 0.0 1) threw TypeError: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': Th e provided float value for the curve at element 2 is non-finite: Infinity".
25 PASS setValueCurveAtTime correctly not inserted into timeline. 25 PASS setValueCurveAtTime(curve, 0.031415926535897934, 0.01) threw NotSupported Error: "Failed to execute 'setValueCurveAtTime' on 'AudioParam': setValueCurveAt Time(..., 0.03141592653589793, 0.01) overlaps setTargetAtTime(1, 0.0375000000000 0001, 0.1)".
26 PASS setValueAtTime(1, 0) did not throw an exception. 26 PASS < [automations] All assertions passed. (total 13 assertions)
27 PASS linearRampToValueAtTime(0, 0.0025) did not throw an exception. 27 PASS > [catch-exception]
28 PASS setValueCurveAtTime(..., 0.0025, 0.0025) did not throw an exception. 28 PASS Handled setValueCurve exception so output contains only the constant 1.
29 PASS exponentialRampToValueAtTime(1, 0.0075) did not throw an exception. 29 PASS < [catch-exception] All assertions passed. (total 1 assertions)
30 PASS setValueCurveAtTime(..., 0.0075, 0.0025) did not throw an exception. 30 PASS > [start-end]
31 PASS setValueCurveAtTime(..., 0.01, 0.0025) did not throw an exception. 31 PASS setValueAtTime(1, 0) did not throw an exception.
32 PASS setValueAtTime(0, 0.0125) did not throw an exception. 32 PASS linearRampToValueAtTime(0, 0.0025) did not throw an exception.
33 PASS setValueCurveAtTime(..., 0.0125, 0.0025) did not throw an exception. 33 PASS setValueCurveAtTime(..., 0.0025, 0.0025) did not throw an exception.
34 PASS setTargetAtTime(1, 0.015000000000000001, 1) did not throw an exception. 34 PASS exponentialRampToValueAtTime(1, 0.0075) did not throw an exception.
35 PASS setValueCurve with adjoining automation functions allowed as expected. 35 PASS setValueCurveAtTime(..., 0.0075, 0.0025) did not throw an exception.
36 PASS setValueCurveAtTime([], 0, 0.01) threw InvalidStateError: Failed to execute 'setValueCurveAtTime' on 'AudioParam': The curve length provided (0) is less th an the minimum bound (2).. 36 PASS setValueCurveAtTime(..., 0.01, 0.0025) did not throw an exception.
37 PASS setValueCurveAtTime([1], 0, 0.01) threw InvalidStateError: Failed to execut e 'setValueCurveAtTime' on 'AudioParam': The curve length provided (1) is less t han the minimum bound (2).. 37 PASS setValueAtTime(0, 0.0125) did not throw an exception.
38 PASS setValueCurveAtTime([1,2], 0, 0.01) did not throw an exception. 38 PASS setValueCurveAtTime(..., 0.0125, 0.0025) did not throw an exception.
39 PASS Exceptions for curve length correctly handled. 39 PASS setTargetAtTime(1, 0.015000000000000001, 1) did not throw an exception.
40 PASS < [start-end] All assertions passed. (total 9 assertions)
41 PASS > [curve lengths]
42 PASS setValueCurveAtTime([], 0, 0.01) threw InvalidStateError: "Failed to exec ute 'setValueCurveAtTime' on 'AudioParam': The curve length provided (0) is less than the minimum bound (2).".
43 PASS setValueCurveAtTime([1], 0, 0.01) threw InvalidStateError: "Failed to exe cute 'setValueCurveAtTime' on 'AudioParam': The curve length provided (1) is les s than the minimum bound (2).".
44 PASS setValueCurveAtTime([1,2], 0, 0.01) did not throw an exception.
45 PASS < [curve lengths] All assertions passed. (total 3 assertions)
46 PASS # AUDIT TASK RUNNER FINISHED: 5 tasks ran successfully.
40 Harness: the test ran to completion. 47 Harness: the test ran to completion.
41 48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698