[common][sound][TWDAPI-288 getActivatedDeviceList deprecated since tizen 7.5] 60/288460/1
authortangkaiyuan <kaiyuan.tang@samsung.com>
Fri, 17 Feb 2023 01:18:57 +0000 (09:18 +0800)
committertangkaiyuan <kaiyuan.tang@samsung.com>
Fri, 17 Feb 2023 01:19:08 +0000 (09:19 +0800)
changes:
1.getActivatedDeviceList api deprecated
2.attribute SoundDeviceInfo:isActivated rename to SoundDeviceInfo:isRunning

Change-Id: I2c21714e69b7d0f165d2ad2d9ce9668d3c34e52d
Signed-off-by: tangkaiyuan <kaiyuan.tang@samsung.com>
23 files changed:
common/tct-sound-tizen-tests/sound/SoundDeviceInfo_isActivated_attribute.html [deleted file]
common/tct-sound-tizen-tests/sound/SoundDeviceInfo_isRunning_attribute.html [new file with mode: 0755]
common/tct-sound-tizen-tests/sound/SoundDeviceStateChangeCallback_onChanged.html
common/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList.html [deleted file]
common/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_exist.html [deleted file]
common/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_extra_argument.html [deleted file]
common/tct-sound-tizen-tests/tests.full.xml
common/tct-sound-tizen-tests/tests.xml
iot/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html [new file with mode: 0755]
iot/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html [new file with mode: 0755]
iot/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html [new file with mode: 0755]
iot/tct-deprecatedapi-tizen-tests/tests.full.xml
iot/tct-deprecatedapi-tizen-tests/tests.xml
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html [new file with mode: 0755]
mobile/tct-deprecatedapi-tizen-tests/tests.full.xml
mobile/tct-deprecatedapi-tizen-tests/tests.xml
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html [new file with mode: 0755]
wearable/tct-deprecatedapi-tizen-tests/tests.full.xml
wearable/tct-deprecatedapi-tizen-tests/tests.xml

diff --git a/common/tct-sound-tizen-tests/sound/SoundDeviceInfo_isActivated_attribute.html b/common/tct-sound-tizen-tests/sound/SoundDeviceInfo_isActivated_attribute.html
deleted file mode 100755 (executable)
index 26c8899..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!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
diff --git a/common/tct-sound-tizen-tests/sound/SoundDeviceInfo_isRunning_attribute.html b/common/tct-sound-tizen-tests/sound/SoundDeviceInfo_isRunning_attribute.html
new file mode 100755 (executable)
index 0000000..62d7bf9
--- /dev/null
@@ -0,0 +1,44 @@
+<!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
index 5e4cca53906d53e78f4d38f25c58a211d7a7003c..6f501867eaa8af54af571ea7c68ed032395f9e95 100755 (executable)
@@ -48,7 +48,7 @@ t.step(function () {
         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();
     });
 
diff --git a/common/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList.html b/common/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList.html
deleted file mode 100755 (executable)
index 9492e4e..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!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>
diff --git a/common/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_exist.html b/common/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_exist.html
deleted file mode 100755 (executable)
index b084f5c..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!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
diff --git a/common/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_extra_argument.html b/common/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_extra_argument.html
deleted file mode 100755 (executable)
index 360bbb8..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!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
index ac447f8934760817f62da56e27d9b92962bb5050..9b776e4c36e33f9318c35e7706b59a1431847d60 100755 (executable)
       </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>
index 5f7eae81d61fe76098d2507d1ca00d166812406a..0fae5094f1dafab12e67ec5acc1836ab058ef47a 100755 (executable)
       </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>
diff --git a/iot/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html b/iot/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html
new file mode 100755 (executable)
index 0000000..9492e4e
--- /dev/null
@@ -0,0 +1,45 @@
+<!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>
diff --git a/iot/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html b/iot/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html
new file mode 100755 (executable)
index 0000000..b084f5c
--- /dev/null
@@ -0,0 +1,44 @@
+<!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
diff --git a/iot/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html b/iot/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html
new file mode 100755 (executable)
index 0000000..360bbb8
--- /dev/null
@@ -0,0 +1,42 @@
+<!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
index 695590253a57236382a808d4776f98e6e6e7b86f..aa4c2227b21e9204e65a0b88195d7330e6e4bbc7 100755 (executable)
         </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>
index cc38610ec19ba2e69e60f983457cd3804d4314de..deed162ea712a5f3c55812db140262126842206c 100755 (executable)
         </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>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html
new file mode 100755 (executable)
index 0000000..9492e4e
--- /dev/null
@@ -0,0 +1,45 @@
+<!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>
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html
new file mode 100755 (executable)
index 0000000..b084f5c
--- /dev/null
@@ -0,0 +1,44 @@
+<!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
diff --git a/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html b/mobile/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html
new file mode 100755 (executable)
index 0000000..360bbb8
--- /dev/null
@@ -0,0 +1,42 @@
+<!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
index 695590253a57236382a808d4776f98e6e6e7b86f..aa4c2227b21e9204e65a0b88195d7330e6e4bbc7 100755 (executable)
         </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>
index cc38610ec19ba2e69e60f983457cd3804d4314de..deed162ea712a5f3c55812db140262126842206c 100755 (executable)
         </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>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList.html
new file mode 100755 (executable)
index 0000000..9492e4e
--- /dev/null
@@ -0,0 +1,45 @@
+<!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>
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_exist.html
new file mode 100755 (executable)
index 0000000..b084f5c
--- /dev/null
@@ -0,0 +1,44 @@
+<!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
diff --git a/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html b/wearable/tct-deprecatedapi-tizen-tests/deprecatedapi/SoundManager_getActivatedDeviceList_extra_argument.html
new file mode 100755 (executable)
index 0000000..360bbb8
--- /dev/null
@@ -0,0 +1,42 @@
+<!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
index dc8442344f531b9f1f5bd17e4c24362b0f1c7afd..26c8256b273e00f4f99e6c5ed915938ac7fcf33d 100755 (executable)
         </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>
index c8201df1fd9ff224aeb3ca94c02fdce6e1a75a80..f3ee245f408bf6f35a9391e49eac6e557f6fc4c3 100755 (executable)
         </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>