[not support][commom][feedback][TWDAPI-193, add vibration feature to tests.xml] 29/184429/3
authorzhongyuan <zy123.yuan@samsung.com>
Wed, 18 Jul 2018 03:33:47 +0000 (11:33 +0800)
committerzhongyuan <zy123.yuan@samsung.com>
Fri, 17 Aug 2018 08:32:33 +0000 (16:32 +0800)
Change-Id: Ia609b740ff4995dcc9da175a57548f6209593d48

common/tct-feedback-tizen-tests/feedback/FeedbackManager_isPatternSupported_pattern_TypeMismatch.html
common/tct-feedback-tizen-tests/tests.xml

index 5272ba544bfb1082e3acd3eed70bb3187e5b6ceb..ff3125ddd1a1ad0b976edc5438fa01d6de163c85 100755 (executable)
@@ -37,7 +37,7 @@ Authors:
 test(function () {
     var pattern, i, conversionTable, exceptionName, type;
 
-    type = "TYPE_VIBRATION";
+    type = "TYPE_SOUND";
     conversionTable = getTypeConversionExceptions("enum", false);
     for (i = 0; i < conversionTable.length; i++) {
         pattern = conversionTable[i][0];
@@ -51,4 +51,4 @@ test(function () {
 
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>
index c03b9d3fb9cac534bfc782e8656acbf6c5fdfbd2..550e020a6b37ebd4feaeb35210b19270c41cdb85 100755 (executable)
           <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_type_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
+      <testcase purpose="Check if method stop exists." component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P0" id="FeedbackManager_stop_exist">
+        <description>
+          <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_exist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check using stop() method with extra argument." component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P1" id="FeedbackManager_stop_extra_argument">
+        <description>
+          <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_extra_argument.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set name="Feedback_mobile_vibrate" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+        <capability name="http://tizen.org/feature/feedback.vibration"/>
+      </capabilities>
       <testcase purpose="Check if play() method plays type of reaction that is defined." component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play_with_type">
         <description>
           <pre_condition>Device should be set to sound mode in settings.</pre_condition>
           <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if method stop exists." component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P0" id="FeedbackManager_stop_exist">
-        <description>
-          <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_exist.html</test_script_entry>
-        </description>
-      </testcase>
-      <testcase purpose="Check using stop() method with extra argument." component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P1" id="FeedbackManager_stop_extra_argument">
-        <description>
-          <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_extra_argument.html</test_script_entry>
-        </description>
-      </testcase>
     </set>
     <set name="Feedback_wearable" type="js">
          <capabilities>
       </testcase>
     </set>
   </suite>
-</test_definition>
\ No newline at end of file
+</test_definition>