From d2702794adb6eee9ed2113d2650eb72ec0a43b0c Mon Sep 17 00:00:00 2001 From: lin qunfang Date: Tue, 18 Apr 2017 14:43:55 +0000 Subject: [PATCH] [common][webaudio][Fix TCs due to spec change] Change-Id: Ib06c45d9aa84cf8b057a592b6e06e54906509bad Signed-off-by: lin qunfang --- common/tct-webaudio-w3c-tests/tests.full.xml | 84 ------------------- common/tct-webaudio-w3c-tests/tests.xml | 35 -------- .../audiolistener_dopplerFactor_exists.html | 60 ------------- .../audiolistener_dopplerFactor_type.html | 63 -------------- .../audiolistener_setVelocity_exists.html | 60 ------------- .../audiolistener_setVelocity_type.html | 63 -------------- .../audiolistener_speedOfSound_exists.html | 60 ------------- .../audiolistener_speedOfSound_type.html | 63 -------------- ...dynamicscompressornode_reduction_type.html | 6 +- .../webaudio/pannernode_setVelocity_type.html | 59 ------------- 10 files changed, 3 insertions(+), 550 deletions(-) delete mode 100755 common/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_exists.html delete mode 100755 common/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_type.html delete mode 100755 common/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_exists.html delete mode 100755 common/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_type.html delete mode 100755 common/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_exists.html delete mode 100755 common/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_type.html delete mode 100755 common/tct-webaudio-w3c-tests/webaudio/pannernode_setVelocity_type.html diff --git a/common/tct-webaudio-w3c-tests/tests.full.xml b/common/tct-webaudio-w3c-tests/tests.full.xml index 14ec4363c..3e895ee9c 100755 --- a/common/tct-webaudio-w3c-tests/tests.full.xml +++ b/common/tct-webaudio-w3c-tests/tests.full.xml @@ -1145,30 +1145,6 @@ - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_exists.html - - - - - http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener - - - - - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_type.html - - - - - http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener - - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setOrientation_exists.html @@ -1217,54 +1193,6 @@ - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_exists.html - - - - - http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener - - - - - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_type.html - - - - - http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener - - - - - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_exists.html - - - - - http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener - - - - - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_type.html - - - - - http://www.w3.org/TR/2012/WD-webaudio-20121213/#AudioListener - - - - /opt/tct-webaudio-w3c-tests/webaudio/audionode_connect_exists.html @@ -2635,18 +2563,6 @@ - - - /opt/tct-webaudio-w3c-tests/webaudio/pannernode_setVelocity_type.html - - - - - http://www.w3.org/TR/2012/WD-webaudio-20121213/#PannerNode - - - - /opt/tct-webaudio-w3c-tests/webaudio/pannernode_distanceModel_inverse.html diff --git a/common/tct-webaudio-w3c-tests/tests.xml b/common/tct-webaudio-w3c-tests/tests.xml index 8f5757517..05045fb8e 100755 --- a/common/tct-webaudio-w3c-tests/tests.xml +++ b/common/tct-webaudio-w3c-tests/tests.xml @@ -590,16 +590,6 @@ /opt/tct-webaudio-w3c-tests/webaudio/audiodestinationnode_maxChannelCount_check.html?total_num=3&locator_key=id&value=3 - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_exists.html - - - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_type.html - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setOrientation_exists.html @@ -620,26 +610,6 @@ /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setPosition_type.html - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_exists.html - - - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_type.html - - - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_exists.html - - - - - /opt/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_type.html - - /opt/tct-webaudio-w3c-tests/webaudio/audionode_connect_exists.html @@ -1327,11 +1297,6 @@ /opt/tct-webaudio-w3c-tests/webaudio/pannernode_setPosition_type.html - - - /opt/tct-webaudio-w3c-tests/webaudio/pannernode_setVelocity_type.html - - /opt/tct-webaudio-w3c-tests/webaudio/pannernode_distanceModel_inverse.html diff --git a/common/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_exists.html b/common/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_exists.html deleted file mode 100755 index f6e6a1911..000000000 --- a/common/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_exists.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - WebAudio Test: audiolistener_dopplerFactor_exists - - - - - - - - - -
- - - diff --git a/common/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_type.html b/common/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_type.html deleted file mode 100755 index ee514d163..000000000 --- a/common/tct-webaudio-w3c-tests/webaudio/audiolistener_dopplerFactor_type.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - WebAudio Test: audiolistener_dopplerFactor_type - - - - - - - - - -
- - - diff --git a/common/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_exists.html b/common/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_exists.html deleted file mode 100755 index 219008deb..000000000 --- a/common/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_exists.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - WebAudio Test: audiolistener_setVelocity_exists - - - - - - - - - -
- - - diff --git a/common/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_type.html b/common/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_type.html deleted file mode 100755 index 431234104..000000000 --- a/common/tct-webaudio-w3c-tests/webaudio/audiolistener_setVelocity_type.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - WebAudio Test: audiolistener_setVelocity_type - - - - - - - - - -
- - - diff --git a/common/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_exists.html b/common/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_exists.html deleted file mode 100755 index 065a31bfa..000000000 --- a/common/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_exists.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - WebAudio Test: audiolistener_speedOfSound_exists - - - - - - - - - -
- - - diff --git a/common/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_type.html b/common/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_type.html deleted file mode 100755 index f259b13da..000000000 --- a/common/tct-webaudio-w3c-tests/webaudio/audiolistener_speedOfSound_type.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - WebAudio Test: audiolistener_speedOfSound_type - - - - - - - - - -
- - - diff --git a/common/tct-webaudio-w3c-tests/webaudio/dynamicscompressornode_reduction_type.html b/common/tct-webaudio-w3c-tests/webaudio/dynamicscompressornode_reduction_type.html index 71330a0f0..b04e5f320 100755 --- a/common/tct-webaudio-w3c-tests/webaudio/dynamicscompressornode_reduction_type.html +++ b/common/tct-webaudio-w3c-tests/webaudio/dynamicscompressornode_reduction_type.html @@ -36,7 +36,7 @@ Authors: - + @@ -49,9 +49,9 @@ Authors: var context = window.AudioContext; var dynamicscompressornode = context.createDynamicsCompressor(); assert_true("reduction" in dynamicscompressornode, "reduction attribute exists in DynamicsCompressorNode interface"); - assert_equals(typeof dynamicscompressornode.reduction, "object", "Check if DynamicsCompressorNode.reduction attribute is of type"); + assert_equals(typeof dynamicscompressornode.reduction, "number", "Check if DynamicsCompressorNode.reduction attribute is of type number"); } catch (e){ - assert_true(false, "Exception: {" + e.message + "}" + " Check if DynamicsCompressorNode.reduction attribute is AudioParam type"); + assert_true(false, "Exception: {" + e.message + "}" + " Check if DynamicsCompressorNode.reduction attribute is number type"); } }, document.title); diff --git a/common/tct-webaudio-w3c-tests/webaudio/pannernode_setVelocity_type.html b/common/tct-webaudio-w3c-tests/webaudio/pannernode_setVelocity_type.html deleted file mode 100755 index bd8076918..000000000 --- a/common/tct-webaudio-w3c-tests/webaudio/pannernode_setVelocity_type.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - WebAudio Test: pannernode_setVelocity_type - - - - - - - - - -
- - - -- 2.34.1