+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Weiyi Gu <w.gu@samsung.com>
-
--->
-<html>
-<head>
-<title>SoundDeviceInfo_isActivated_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: SoundDeviceInfo_isActivated_attribute
-//==== LABEL Check if attribute isActivated of SoundDeviceInfo exists, has type boolean and is readonly
-//==== SPEC Tizen Web API:Multimedia:Sound:SoundDeviceInfo:isActivated A
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-test(function () {
- var info = tizen.sound.getConnectedDeviceList();
- check_readonly(info[0], "isActivated", info[0].isActivated, "boolean", !info[0].isActivated);
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Weiyi Gu <w.gu@samsung.com>
+
+-->
+<html>
+<head>
+<title>SoundDeviceInfo_isRunning_attribute</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SoundDeviceInfo_isRunning_attribute
+//==== LABEL Check if attribute isRunning of SoundDeviceInfo exists, has type boolean and is readonly
+//==== SPEC Tizen Web API:Multimedia:Sound:SoundDeviceInfo:isRunning A
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA AE AT ARO
+
+test(function () {
+ var info = tizen.sound.getConnectedDeviceList();
+ check_readonly(info[0], "isRunning", info[0].isRunning, "boolean", !info[0].isRunning);
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
assert_type(info.device, "string", "addDeviceConnectionChangeListener returns wrong type");
assert_type(info.direction, "string", "addDeviceConnectionChangeListener returns wrong type");
assert_type(info.isConnected, "boolean", "addDeviceConnectionChangeListener returns wrong type");
- assert_type(info.isActivated, "boolean", "addDeviceConnectionChangeListener returns wrong type");
+ assert_type(info.isRunning, "boolean", "addDeviceConnectionChangeListener returns wrong type");
t.done();
});
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Weiyi Gu <w.gu@samsung.com>
-
--->
-<html>
-<head>
-<title>SoundManager_getActivatedDeviceList</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: SoundManager_getActivatedDeviceList
-//==== LABEL Check if soundManager::getActivatedDeviceList() method can be called
-//==== SPEC Tizen Web API:Multimedia:Sound:SoundManager:getActivatedDeviceList M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
-//==== PRIORITY: P1
-//==== TEST_CRITERIA MR MNA
-
-test(function () {
- retValue = tizen.sound.getActivatedDeviceList();
- assert_type(retValue, "array", "method should return array type");
- assert_type(retValue[0], "object", "value should be object");
-}, document.title);
-
-</script>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Weiyi Gu <w.gu@samsung.com>
-
--->
-<html>
-<head>
-<title>SoundManager_getActivatedDeviceList_exist</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: SoundManager_getActivatedDeviceList_exist
-//==== LABEL Check if soundManager::getActivatedDeviceList() method exists
-//==== SPEC Tizen Web API:Multimedia:Sound:SoundManager:getActivatedDeviceList M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
-//==== PRIORITY: P0
-//==== TEST_CRITERIA ME
-
-test(function () {
- assert_true("getActivatedDeviceList" in tizen.sound, "No getActivatedDeviceList method in tizen.sound");
- check_method_exists(tizen.sound, "getActivatedDeviceList");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
- Weiyi Gu <w.gu@samsung.com>
-
--->
-<html>
-<head>
-<title>SoundManager_getActivatedDeviceList_extra_argument</title>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: SoundManager_getActivatedDeviceList_extra_argument
-//==== LABEL Check if getActivatedDeviceList method can be invoked with extra argument
-//==== SPEC Tizen Web API:Multimedia:Sound:SoundManager:getActivatedDeviceList M
-//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
-//==== PRIORITY P1
-//==== TEST_CRITERIA MNAEX
-
-test(function () {
- checkExtraArgument(tizen.sound, "getActivatedDeviceList");
-}, document.title);
-
-</script>
-</body>
-</html>
\ No newline at end of file
</testcase>
<testcase purpose="Check if attribute isActivated of SoundDeviceInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundDeviceInfo_isActivated_attribute">
<description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isActivated_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isRunning_attribute.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if SoundManager::getActivatedDeviceList() method can be called" type="compliance" onload_delay="5" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList">
- <description>
- <pre_condition>Before Click run, make sure earphone is plugged in and music is played</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Plug in earphone and play music</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if SoundManager::getActivatedDeviceList() method exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P0" id="SoundManager_getActivatedDeviceList_exist">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getActivatedDeviceList method can be invoked with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList_extra_argument">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if SoundManager::getConnectedDeviceList() method can be called" type="compliance" onload_delay="5" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" priority="P1" id="SoundManager_getConnectedDeviceList">
<description>
<pre_condition>Before Click run, remove the earphone from target. After Click run, make sure earphone is plugged in</pre_condition>
</testcase>
<testcase purpose="Check if attribute isActivated of SoundDeviceInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundDeviceInfo_isActivated_attribute">
<description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isActivated_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isRunning_attribute.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if SoundManager::getActivatedDeviceList() method can be called" type="compliance" onload_delay="5" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList">
- <description>
- <pre_condition>Before Click run, bluetooth headset should be not connected with target. After Click run, make sure bluetooth headset connection with target</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Before turn off the alert, play music</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if SoundManager::getActivatedDeviceList() method exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P0" id="SoundManager_getActivatedDeviceList_exist">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getActivatedDeviceList method can be invoked with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList_extra_argument">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if SoundManager::getConnectedDeviceList() method can be called" type="compliance" onload_delay="5" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" priority="P1" id="SoundManager_getConnectedDeviceList">
<description>
<pre_condition>Before Click run, remove the earphone from target. After Click run, make sure earphone is plugged in</pre_condition>
</testcase>
<testcase purpose="Check if attribute isActivated of SoundDeviceInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundDeviceInfo_isActivated_attribute">
<description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isActivated_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isRunning_attribute.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if SoundManager::getActivatedDeviceList() method can be called" type="compliance" onload_delay="5" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList">
- <description>
- <pre_condition>Before Click run, bluetooth headset should be not connected with target. After Click run, make sure bluetooth headset connection with target</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Before turn off the alert, play music</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if SoundManager::getActivatedDeviceList() method exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P0" id="SoundManager_getActivatedDeviceList_exist">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getActivatedDeviceList method can be invoked with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList_extra_argument">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if SoundManager::getConnectedDeviceList() method exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P0" id="SoundManager_getConnectedDeviceList_exist">
<description>
<test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getConnectedDeviceList_exist.html</test_script_entry>
</testcase>
<testcase purpose="Check if attribute isActivated of SoundDeviceInfo exists, has type boolean and is readonly" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundDeviceInfo_isActivated_attribute">
<description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isActivated_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isRunning_attribute.html</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check if SoundManager::getActivatedDeviceList() method can be called" type="compliance" onload_delay="5" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList">
- <description>
- <pre_condition>Before Click run, make sure earphone is plugged in and music is played</pre_condition>
- <steps>
- <step order="1">
- <step_desc>Plug in earphone and play music</step_desc>
- <expected>Pass</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if SoundManager::getActivatedDeviceList() method exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P0" id="SoundManager_getActivatedDeviceList_exist">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if getActivatedDeviceList method can be invoked with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList_extra_argument">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
- <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if SoundManager::getConnectedDeviceList() method can be called" type="compliance" onload_delay="5" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" priority="P1" id="SoundManager_getConnectedDeviceList">
<description>
<pre_condition>Before Click run, remove the earphone from target. After Click run, make sure earphone is plugged in</pre_condition>
</testcase>
<testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundDeviceInfo_isActivated_attribute" priority="P1" purpose="Check if attribute isActivated of SoundDeviceInfo exists, has type boolean and is readonly">
<description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isActivated_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isRunning_attribute.html</test_script_entry>
</description>
</testcase>
<testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundDeviceInfo_isConnected_attribute" priority="P1" purpose="Check if attribute isConnected of SoundDeviceInfo exists, has type boolean and is readonly">
<test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_addDeviceStateChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList" priority="P1" purpose="Check if SoundManager::getActivatedDeviceList() method can be called">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_exist" priority="P0" purpose="Check if SoundManager::getActivatedDeviceList() method exists">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_extra_argument" priority="P1" purpose="Check if getActivatedDeviceList method can be invoked with extra argument">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
- </description>
- </testcase>
<testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" id="SoundManager_getConnectedDeviceList" onload_delay="20" priority="P1" purpose="Check if SoundManager::getConnectedDeviceList() method can be called">
<description>
<pre_condition>Before Click run, remove the earphone from target. After Click run, make sure earphone is plugged in</pre_condition>
</testcase>
<testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundDeviceInfo_isActivated_attribute" priority="P1" purpose="Check if attribute isActivated of SoundDeviceInfo exists, has type boolean and is readonly">
<description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isActivated_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isRunning_attribute.html</test_script_entry>
</description>
</testcase>
<testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundDeviceInfo_isConnected_attribute" priority="P1" purpose="Check if attribute isConnected of SoundDeviceInfo exists, has type boolean and is readonly">
<test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_addDeviceStateChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList" priority="P1" purpose="Check if SoundManager::getActivatedDeviceList() method can be called">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_exist" priority="P0" purpose="Check if SoundManager::getActivatedDeviceList() method exists">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_extra_argument" priority="P1" purpose="Check if getActivatedDeviceList method can be invoked with extra argument">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
- </description>
- </testcase>
<testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" id="SoundManager_getConnectedDeviceList" onload_delay="20" priority="P1" purpose="Check if SoundManager::getConnectedDeviceList() method can be called">
<description>
<pre_condition>Before Click run, remove the earphone from target. After Click run, make sure earphone is plugged in</pre_condition>
</testcase>
<testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundDeviceInfo_isActivated_attribute" priority="P1" purpose="Check if attribute isActivated of SoundDeviceInfo exists, has type boolean and is readonly">
<description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isActivated_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isRunning_attribute.html</test_script_entry>
</description>
</testcase>
<testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundDeviceInfo_isConnected_attribute" priority="P1" purpose="Check if attribute isConnected of SoundDeviceInfo exists, has type boolean and is readonly">
<test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_addDeviceStateChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList" priority="P1" purpose="Check if SoundManager::getActivatedDeviceList() method can be called">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_exist" priority="P0" purpose="Check if SoundManager::getActivatedDeviceList() method exists">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_extra_argument" priority="P1" purpose="Check if getActivatedDeviceList method can be invoked with extra argument">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
- </description>
- </testcase>
<testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getConnectedDeviceList_exist" priority="P0" purpose="Check if SoundManager::getConnectedDeviceList() method exists">
<description>
<test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getConnectedDeviceList_exist.html</test_script_entry>
</testcase>
<testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundDeviceInfo_isActivated_attribute" priority="P1" purpose="Check if attribute isActivated of SoundDeviceInfo exists, has type boolean and is readonly">
<description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isActivated_attribute.html</test_script_entry>
+ <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_isRunning_attribute.html</test_script_entry>
</description>
</testcase>
<testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundDeviceInfo_isConnected_attribute" priority="P1" purpose="Check if attribute isConnected of SoundDeviceInfo exists, has type boolean and is readonly">
<test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_addDeviceStateChangeListener_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList" priority="P1" purpose="Check if SoundManager::getActivatedDeviceList() method can be called">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_exist" priority="P0" purpose="Check if SoundManager::getActivatedDeviceList() method exists">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
- </description>
- </testcase>
- <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_extra_argument" priority="P1" purpose="Check if getActivatedDeviceList method can be invoked with extra argument">
- <description>
- <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
- </description>
- </testcase>
<testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" id="SoundManager_getConnectedDeviceList" onload_delay="20" priority="P1" purpose="Check if SoundManager::getConnectedDeviceList() method can be called">
<description>
<pre_condition>Before Click run, remove the earphone from target. After Click run, make sure earphone is plugged in</pre_condition>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Weiyi Gu <w.gu@samsung.com>
+
+-->
+<html>
+<head>
+<title>SoundManager_getActivatedDeviceList</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SoundManager_getActivatedDeviceList
+//==== LABEL Check if soundManager::getActivatedDeviceList() method can be called
+//==== SPEC Tizen Web API:Multimedia:Sound:SoundManager:getActivatedDeviceList M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
+//==== PRIORITY: P1
+//==== TEST_CRITERIA MR MNA
+
+test(function () {
+ retValue = tizen.sound.getActivatedDeviceList();
+ assert_type(retValue, "array", "method should return array type");
+ assert_type(retValue[0], "object", "value should be object");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Weiyi Gu <w.gu@samsung.com>
+
+-->
+<html>
+<head>
+<title>SoundManager_getActivatedDeviceList_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SoundManager_getActivatedDeviceList_exist
+//==== LABEL Check if soundManager::getActivatedDeviceList() method exists
+//==== SPEC Tizen Web API:Multimedia:Sound:SoundManager:getActivatedDeviceList M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
+//==== PRIORITY: P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ assert_true("getActivatedDeviceList" in tizen.sound, "No getActivatedDeviceList method in tizen.sound");
+ check_method_exists(tizen.sound, "getActivatedDeviceList");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Weiyi Gu <w.gu@samsung.com>
+
+-->
+<html>
+<head>
+<title>SoundManager_getActivatedDeviceList_extra_argument</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SoundManager_getActivatedDeviceList_extra_argument
+//==== LABEL Check if getActivatedDeviceList method can be invoked with extra argument
+//==== SPEC Tizen Web API:Multimedia:Sound:SoundManager:getActivatedDeviceList M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+ checkExtraArgument(tizen.sound, "getActivatedDeviceList");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
</specs>
</testcase>
</set>
+ <set name="Sound" type="js">
+ <testcase purpose="Check if SoundManager::getActivatedDeviceList() method can be called" type="compliance" onload_delay="5" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if SoundManager::getActivatedDeviceList() method exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P0" id="SoundManager_getActivatedDeviceList_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if getActivatedDeviceList method can be invoked with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
</suite>
</test_definition>
</description>
</testcase>
</set>
+ <set name="Sound" type="js">
+ <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList" priority="P1" purpose="Check if SoundManager::getActivatedDeviceList() method can be called">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_exist" priority="P0" purpose="Check if SoundManager::getActivatedDeviceList() method exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_extra_argument" priority="P1" purpose="Check if getActivatedDeviceList method can be invoked with extra argument">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
+ </description>
+ </testcase>
+ </set>
</suite>
</test_definition>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Weiyi Gu <w.gu@samsung.com>
+
+-->
+<html>
+<head>
+<title>SoundManager_getActivatedDeviceList</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SoundManager_getActivatedDeviceList
+//==== LABEL Check if soundManager::getActivatedDeviceList() method can be called
+//==== SPEC Tizen Web API:Multimedia:Sound:SoundManager:getActivatedDeviceList M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
+//==== PRIORITY: P1
+//==== TEST_CRITERIA MR MNA
+
+test(function () {
+ retValue = tizen.sound.getActivatedDeviceList();
+ assert_type(retValue, "array", "method should return array type");
+ assert_type(retValue[0], "object", "value should be object");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Weiyi Gu <w.gu@samsung.com>
+
+-->
+<html>
+<head>
+<title>SoundManager_getActivatedDeviceList_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SoundManager_getActivatedDeviceList_exist
+//==== LABEL Check if soundManager::getActivatedDeviceList() method exists
+//==== SPEC Tizen Web API:Multimedia:Sound:SoundManager:getActivatedDeviceList M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
+//==== PRIORITY: P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ assert_true("getActivatedDeviceList" in tizen.sound, "No getActivatedDeviceList method in tizen.sound");
+ check_method_exists(tizen.sound, "getActivatedDeviceList");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Weiyi Gu <w.gu@samsung.com>
+
+-->
+<html>
+<head>
+<title>SoundManager_getActivatedDeviceList_extra_argument</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SoundManager_getActivatedDeviceList_extra_argument
+//==== LABEL Check if getActivatedDeviceList method can be invoked with extra argument
+//==== SPEC Tizen Web API:Multimedia:Sound:SoundManager:getActivatedDeviceList M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+ checkExtraArgument(tizen.sound, "getActivatedDeviceList");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
</specs>
</testcase>
</set>
+ <set name="Sound" type="js">
+ <testcase purpose="Check if SoundManager::getActivatedDeviceList() method can be called" type="compliance" onload_delay="5" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if SoundManager::getActivatedDeviceList() method exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P0" id="SoundManager_getActivatedDeviceList_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if getActivatedDeviceList method can be invoked with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
</suite>
</test_definition>
</description>
</testcase>
</set>
+ <set name="Sound" type="js">
+ <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList" priority="P1" purpose="Check if SoundManager::getActivatedDeviceList() method can be called">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_exist" priority="P0" purpose="Check if SoundManager::getActivatedDeviceList() method exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_extra_argument" priority="P1" purpose="Check if getActivatedDeviceList method can be invoked with extra argument">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
+ </description>
+ </testcase>
+ </set>
</suite>
</test_definition>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Weiyi Gu <w.gu@samsung.com>
+
+-->
+<html>
+<head>
+<title>SoundManager_getActivatedDeviceList</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SoundManager_getActivatedDeviceList
+//==== LABEL Check if soundManager::getActivatedDeviceList() method can be called
+//==== SPEC Tizen Web API:Multimedia:Sound:SoundManager:getActivatedDeviceList M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
+//==== PRIORITY: P1
+//==== TEST_CRITERIA MR MNA
+
+test(function () {
+ retValue = tizen.sound.getActivatedDeviceList();
+ assert_type(retValue, "array", "method should return array type");
+ assert_type(retValue[0], "object", "value should be object");
+}, document.title);
+
+</script>
+</body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Weiyi Gu <w.gu@samsung.com>
+
+-->
+<html>
+<head>
+<title>SoundManager_getActivatedDeviceList_exist</title>
+<meta charset="utf-8"/>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SoundManager_getActivatedDeviceList_exist
+//==== LABEL Check if soundManager::getActivatedDeviceList() method exists
+//==== SPEC Tizen Web API:Multimedia:Sound:SoundManager:getActivatedDeviceList M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
+//==== PRIORITY: P0
+//==== TEST_CRITERIA ME
+
+test(function () {
+ assert_true("getActivatedDeviceList" in tizen.sound, "No getActivatedDeviceList method in tizen.sound");
+ check_method_exists(tizen.sound, "getActivatedDeviceList");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<!--
+Copyright (c) 2015 Samsung Electronics Co., Ltd.
+
+Licensed under the Apache License, Version 2.0 (the License);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+Authors:
+ Weiyi Gu <w.gu@samsung.com>
+
+-->
+<html>
+<head>
+<title>SoundManager_getActivatedDeviceList_extra_argument</title>
+<script src="support/unitcommon.js"></script>
+</head>
+<body>
+<div id="log"></div>
+<script>
+//==== TEST: SoundManager_getActivatedDeviceList_extra_argument
+//==== LABEL Check if getActivatedDeviceList method can be invoked with extra argument
+//==== SPEC Tizen Web API:Multimedia:Sound:SoundManager:getActivatedDeviceList M
+//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html
+//==== PRIORITY P1
+//==== TEST_CRITERIA MNAEX
+
+test(function () {
+ checkExtraArgument(tizen.sound, "getActivatedDeviceList");
+}, document.title);
+
+</script>
+</body>
+</html>
\ No newline at end of file
</specs>
</testcase>
</set>
+ <set name="Sound" type="js">
+ <testcase purpose="Check if SoundManager::getActivatedDeviceList() method can be called" type="compliance" onload_delay="5" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if SoundManager::getActivatedDeviceList() method exists" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P0" id="SoundManager_getActivatedDeviceList_exist">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if getActivatedDeviceList method can be invoked with extra argument" type="compliance" status="approved" component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" priority="P1" id="SoundManager_getActivatedDeviceList_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="SoundManager" element_type="method" element_name="getActivatedDeviceList" specification="Sound" section="Multimedia" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/sound.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
</suite>
</test_definition>
</description>
</testcase>
</set>
+ <set name="Sound" type="js">
+ <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList" priority="P1" purpose="Check if SoundManager::getActivatedDeviceList() method can be called">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_exist" priority="P0" purpose="Check if SoundManager::getActivatedDeviceList() method exists">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
+ </description>
+ </testcase>
+ <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_extra_argument" priority="P1" purpose="Check if getActivatedDeviceList method can be invoked with extra argument">
+ <description>
+ <test_script_entry>/opt/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
+ </description>
+ </testcase>
+ </set>
</suite>
</test_definition>