[sound][resolve tw1 emulator issue] 27/124427/1
authoryuanzhongyuan <zy123.yuan@samsung.com>
Tue, 11 Apr 2017 08:38:44 +0000 (16:38 +0800)
committeryuanzhongyuan <zy123.yuan@samsung.com>
Tue, 11 Apr 2017 08:38:44 +0000 (16:38 +0800)
Change-Id: Ibff83cce441f17d53cb90eba39daaff458566f48

common/tct-sound-tizen-tests/tests.xml

index f583f5e39d5b5c10247b4281c16e19b4f02b4e8d..2555408e662b329d5c8d71fc3378c98422cb38f4 100755 (executable)
           <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceStateChangeCallback_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" id="SoundDeviceStateChangeCallback_onChanged" onload_delay="5" priority="P1" purpose="Test whether SoundDeviceStateChangeCallback::onChanged is called with argument of proper type">
-        <description>
-          <pre_condition>Before Click run, make sure no earphone is plugged in</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Plug in earphone</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceStateChangeCallback_onChanged.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundDeviceInfo_direction_attribute" priority="P1" purpose="Check if attribute direction of SoundDeviceInfo exists, has type SoundIOType and is readonly">
         <description>
           <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_direction_attribute.html</test_script_entry>
           <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceInfo_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" id="SoundManager_addDeviceStateChangeListener" onload_delay="5" priority="P1" purpose="Check if SoundManager::addDeviceStateChangeListener() method can be called">
-        <description>
-          <pre_condition>Before Click run, make sure no earphone is plugged in</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Plug in earphone</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_addDeviceStateChangeListener.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_addDeviceStateChangeListener_callback_TypeMismatch" priority="P2" purpose="Check if SoundManager::addDeviceStateChangeListener() throws exception when successCallback is TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_addDeviceStateChangeListener_callback_TypeMismatch.html</test_script_entry>
           <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="manual" id="SoundManager_getActivatedDeviceList" onload_delay="5" priority="P1" purpose="Check if SoundManager::getActivatedDeviceList() method can be called">
+      <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getActivatedDeviceList_exist" priority="P0" purpose="Check if SoundManager::getActivatedDeviceList() method exists">
         <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>
+          <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>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getConnectedDeviceList_extra_argument" priority="P1" purpose="Check if getConnectedDeviceList method can be invoked with extra argument">
+        <description>
+          <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getConnectedDeviceList_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_removeDeviceStateChangeListener_exist" priority="P0" purpose="Check if SoundManager::removeDeviceStateChangeListener() method exists">
+        <description>
+          <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_removeDeviceStateChangeListener_exist.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set name="Sound_Wearable_manual" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+        <capability name="http://tizen.org/feature/network.bluetooth"/>
+      </capabilities>
+      <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" id="SoundDeviceStateChangeCallback_onChanged" onload_delay="5" priority="P1" purpose="Test whether SoundDeviceStateChangeCallback::onChanged is called with argument of proper type">
+        <description>
+          <pre_condition>Before Click run, make sure no earphone is plugged in</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Before turn off the alert, play music</step_desc>
+              <step_desc>Plug in earphone</step_desc>
               <expected>Pass</expected>
             </step>
           </steps>
-          <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList.html</test_script_entry>
+          <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundDeviceStateChangeCallback_onChanged.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">
+      <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" id="SoundManager_addDeviceStateChangeListener" onload_delay="5" priority="P1" purpose="Check if SoundManager::addDeviceStateChangeListener() method can be called">
         <description>
-          <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_exist.html</test_script_entry>
+          <pre_condition>Before Click run, make sure no earphone is plugged in</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Plug in earphone</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_addDeviceStateChangeListener.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">
+      <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" id="SoundManager_getActivatedDeviceList" onload_delay="5" priority="P1" purpose="Check if SoundManager::getActivatedDeviceList() method can be called">
         <description>
-          <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getActivatedDeviceList_extra_argument.html</test_script_entry>
+          <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>
       </testcase>
       <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" id="SoundManager_getConnectedDeviceList" onload_delay="5" priority="P1" purpose="Check if SoundManager::getConnectedDeviceList() method can be called">
           <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getConnectedDeviceList.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>
-        </description>
-      </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_getConnectedDeviceList_extra_argument" priority="P1" purpose="Check if getConnectedDeviceList method can be invoked with extra argument">
-        <description>
-          <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_getConnectedDeviceList_extra_argument.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="manual" id="SoundManager_removeDeviceStateChangeListener" onload_delay="5" priority="P1" purpose="Check if SoundManager::removeDeviceStateChangeListener() method can be called">
         <description>
           <pre_condition>Before Click run, make sure no earphone is plugged in</pre_condition>
           <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_removeDeviceStateChangeListener.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Multimedia/Sound" execution_type="auto" id="SoundManager_removeDeviceStateChangeListener_exist" priority="P0" purpose="Check if SoundManager::removeDeviceStateChangeListener() method exists">
-        <description>
-          <test_script_entry>/opt/tct-sound-tizen-tests/sound/SoundManager_removeDeviceStateChangeListener_exist.html</test_script_entry>
-        </description>
-      </testcase>
     </set>
   </suite>
 </test_definition>