[common][vibration][skip in tv profile] 15/130615/1
authorwei.ji <wei.ji@samsung.com>
Tue, 23 May 2017 06:22:14 +0000 (14:22 +0800)
committerwei.ji <wei.ji@samsung.com>
Tue, 23 May 2017 06:22:49 +0000 (14:22 +0800)
- update tests.xml to skip in tv profile

Change-Id: I53716bdb3e3366ad7c39012658face1f9d6f8de3
Signed-off-by: wei.ji <wei.ji@samsung.com>
common/tct-vibration-w3c-tests/tests.xml

index 972daa547454d649f19b4b9fdb4806d3c765817b..fc4e6cdff911ace26eff9e2f9707e98c72398f96 100755 (executable)
@@ -2,9 +2,10 @@
 <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
 <test_definition>
   <suite name="tct-vibration-w3c-tests" category="W3C/HTML5 APIs">
-    <set name="Vibration_32bit_target" type="js">
+    <set name="Vibration_32bit_target_mobile" type="js">
       <capabilities>
         <capability name="http://tizen.org/feature/platform.core.cpu.arch.armv7"/>
+        <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
       </capabilities>
       <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="vibrate-once" purpose="Check that the vibrate() method works correctly">
         <description>
         </description>
       </testcase>
     </set>
-    <set name="Vibration_64bit_target" type="js">
+    <set name="Vibration_64bit_target_mobile" type="js">
       <capabilities>
         <capability name="http://tizen.org/feature/platform.core.cpu.arch.aarch64"/>
+        <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
       </capabilities>
       <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="vibrate-once" purpose="Check that the vibrate() method works correctly">
         <description>
         </description>
       </testcase>
     </set>
-    <set name="Vibration" type="js">
+    <set name="Vibration_mobile" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+      </capabilities>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="auto" id="api-is-present" purpose="Check that the vibrate() method is present">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/api-is-present.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="cancel-with-0" purpose="If pattern is 0, cancel the pre-existing instance of the processing vibration patterns algorithm">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/cancel-with-0-manual.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="cancel-with-empty-array-manual" purpose="To check if the device does not vibrate when the argument is []">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/cancel-with-empty-array-manual.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="cancel-with-new" purpose="Cancel the pre-existing instance of the processing vibration patterns algorithm, if any">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/cancel-with-new-manual.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="simple-array" purpose="To check if the device vibrates for 2 second when the argument is long[2000]">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/simple-array-manual.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="simple-scalar" purpose="To check if the device vibrates for 2 seconds when the argument is long 2000">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/simple-scalar-manual.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="pattern-array-extra" purpose="If the length of pattern is even, then remove the last entry in pattern">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/pattern-array-extra-manual.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="pattern-array" purpose="To check if the device will vibrate three times for one second, separated by one second intervals">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/pattern-array-manual.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="auto" id="silent-ignore" purpose="If the device does not provide a vibration mechanism, or it is disabled, the user agent must silently ignore any invocations of the vibrate() method">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/silent-ignore.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="auto" id="invalid-values_1" purpose="Missing pattern argument">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/invalid-values.html?total_num=8&amp;locator_key=id&amp;value=1</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="auto" id="invalid-values_2" purpose="pattern of undefined resolves to []">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/invalid-values.html?total_num=8&amp;locator_key=id&amp;value=2</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="auto" id="invalid-values_3" purpose="pattern of null resolves to []">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/invalid-values.html?total_num=8&amp;locator_key=id&amp;value=3</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="auto" id="invalid-values_4" purpose="pattern of empty string resolves to ['']">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/invalid-values.html?total_num=8&amp;locator_key=id&amp;value=4</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="auto" id="invalid-values_5" purpose="pattern of string resolves to ['one']">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/invalid-values.html?total_num=8&amp;locator_key=id&amp;value=5</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="auto" id="invalid-values_6" purpose="pattern of String instance resolves to ['one']">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/invalid-values.html?total_num=8&amp;locator_key=id&amp;value=6</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="auto" id="invalid-values_7" purpose="pattern of NaN resolves to [NaN]">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/invalid-values.html?total_num=8&amp;locator_key=id&amp;value=7</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="auto" id="invalid-values_8" purpose="pattern of {} resolves to [{}]">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/invalid-values.html?total_num=8&amp;locator_key=id&amp;value=8</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="cancel-when-hidden-manual" purpose="Test checks that cancel ongoing vibrate() when hidden by switching tab/window">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/cancel-when-hidden-manual.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="cancel-with-array-0-manual" purpose="Test checks that cancel ongoing vibrate() with [0]">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/cancel-with-array-0-manual.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set name="Vibration_32bit_target_wearable" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/platform.core.cpu.arch.armv7"/>
+        <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+      </capabilities>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="vibrate-once" purpose="Check that the vibrate() method works correctly">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/vibrate_basic.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set name="Vibration_64bit_target_wearable" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/platform.core.cpu.arch.aarch64"/>
+        <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+      </capabilities>
+      <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="manual" id="vibrate-once" purpose="Check that the vibrate() method works correctly">
+        <description>
+          <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/vibrate_basic.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set name="Vibration_wearable" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+      </capabilities>
       <testcase component="W3C_HTML5 APIs/Device/Vibration API" execution_type="auto" id="api-is-present" purpose="Check that the vibrate() method is present">
         <description>
           <test_script_entry>/opt/tct-vibration-w3c-tests/vibration/w3c/api-is-present.html</test_script_entry>
       </testcase>
     </set>
   </suite>
-</test_definition>
\ No newline at end of file
+</test_definition>