[common][namespace, privilege][modify capability for TV] 82/222582/1
authorzhongyuan <zy123.yuan@samsung.com>
Thu, 16 Jan 2020 08:28:37 +0000 (16:28 +0800)
committerzhongyuan <zy123.yuan@samsung.com>
Thu, 16 Jan 2020 08:30:18 +0000 (16:30 +0800)
Change-Id: I6cb921e4a68d97cf80eb4bdaf0a190b542ee39c4

common/tct-namespace-tizen-tests/tests.full.xml
common/tct-namespace-tizen-tests/tests.xml
common/tct-privilege-tizen-tests/tests.xml

index 97b31db8db3fccb047179edd74b90086f95b844a..b2c194812b6490549b17d1a38b213bcba9dd143b 100755 (executable)
         </specs>
       </testcase>
     </set>
-    <set name="TizenSystemSetting"  type="js">
+    <set name="TizenSystemSetting_mobile"  type="js">
       <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+        <capability name="http://tizen.org/feature/systemsetting"/>
+      </capabilities>
+      <testcase purpose="Check if tizen.systemsetting exists" type="compliance" status="approved" component="Tizen Device APIs/System/SystemSetting" execution_type="auto" priority="P0" id="SystemSetting_SystemSettingObject">
+        <description>
+          <test_script_entry>/opt/tct-namespace-tizen-tests/namespace/SystemSetting_SystemSettingObject.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="SystemSettingObject" element_type="attribute" element_name="systemsetting" specification="SystemSetting" section="System" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systemsetting.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="TizenSystemSetting_wearable"  type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+        <capability name="http://tizen.org/feature/systemsetting"/>
+      </capabilities>
+      <testcase purpose="Check if tizen.systemsetting exists" type="compliance" status="approved" component="Tizen Device APIs/System/SystemSetting" execution_type="auto" priority="P0" id="SystemSetting_SystemSettingObject">
+        <description>
+          <test_script_entry>/opt/tct-namespace-tizen-tests/namespace/SystemSetting_SystemSettingObject.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="SystemSettingObject" element_type="attribute" element_name="systemsetting" specification="SystemSetting" section="System" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systemsetting.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
+    <set name="TizenSystemSetting_tv"  type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>TV</value></capability>
         <capability name="http://tizen.org/feature/systemsetting"/>
         <capability name="http://tizen.org/feature/systemsetting.lock_screen"/>
         <capability name="http://tizen.org/feature/systemsetting.home_screen"/>
index 881b8ea6edd8695819e51a9cb59dfad6d6f84e42..3f44a7ea743519946b60b3dbf2ceb08463b4228b 100755 (executable)
         </description>
       </testcase>
     </set>
-    <set name="TizenSystemSetting" type="js">
+    <set name="TizenSystemSetting_mobile" type="js">
       <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+        <capability name="http://tizen.org/feature/systemsetting"/>
+      </capabilities>
+      <testcase purpose="Check if tizen.systemsetting exists" component="Tizen Device APIs/System/SystemSetting" execution_type="auto" priority="P0" id="SystemSetting_SystemSettingObject">
+        <description>
+          <test_script_entry>/opt/tct-namespace-tizen-tests/namespace/SystemSetting_SystemSettingObject.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set name="TizenSystemSetting_wearable" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+        <capability name="http://tizen.org/feature/systemsetting"/>
+      </capabilities>
+      <testcase purpose="Check if tizen.systemsetting exists" component="Tizen Device APIs/System/SystemSetting" execution_type="auto" priority="P0" id="SystemSetting_SystemSettingObject">
+        <description>
+          <test_script_entry>/opt/tct-namespace-tizen-tests/namespace/SystemSetting_SystemSettingObject.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set name="TizenSystemSetting_tv" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>TV</value></capability>
         <capability name="http://tizen.org/feature/systemsetting"/>
         <capability name="http://tizen.org/feature/systemsetting.lock_screen"/>
         <capability name="http://tizen.org/feature/systemsetting.home_screen"/>
index 0606cc3a9a6749c9183a5ad80bd3942f178a621f..e297eb4649ac4ca7df78ad2a85deb5d9b1ee82db 100755 (executable)
         </description>
       </testcase>
     </set>
-    <set name = "PrivilegeSystemSetting" type="js">
-    <capabilities>
-      <capability name="http://tizen.org/feature/systemsetting"/>
-      <capability name="http://tizen.org/feature/systemsetting.lock_screen"/>
-      <capability name="http://tizen.org/feature/systemsetting.home_screen"/>
-      <capability name="http://tizen.org/feature/systemsetting.incoming_call"/>
-      <capability name="http://tizen.org/feature/systemsetting.notification_email"/>
-    </capabilities>
+    <set name = "PrivilegeSystemSetting_mobile" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+        <capability name="http://tizen.org/feature/systemsetting"/>
+      </capabilities>
+      <testcase purpose="Check if method SystemSettingManager::setProperty() is forbidden without proper privilege" component="Tizen Device APIs/System/SystemSetting" execution_type="auto" priority="P2" id="SystemSettingManager_setProperty_check_privilege">
+        <description>
+          <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/SystemSettingManager_setProperty.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set name = "PrivilegeSystemSetting_wearable" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+        <capability name="http://tizen.org/feature/systemsetting"/>
+      </capabilities>
+      <testcase purpose="Check if method SystemSettingManager::setProperty() is forbidden without proper privilege" component="Tizen Device APIs/System/SystemSetting" execution_type="auto" priority="P2" id="SystemSettingManager_setProperty_check_privilege">
+        <description>
+          <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/SystemSettingManager_setProperty.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set name = "PrivilegeSystemSetting_tv" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>TV</value></capability>
+        <capability name="http://tizen.org/feature/systemsetting"/>
+        <capability name="http://tizen.org/feature/systemsetting.lock_screen"/>
+        <capability name="http://tizen.org/feature/systemsetting.home_screen"/>
+        <capability name="http://tizen.org/feature/systemsetting.incoming_call"/>
+        <capability name="http://tizen.org/feature/systemsetting.notification_email"/>
+      </capabilities>
       <testcase purpose="Check if method SystemSettingManager::setProperty() is forbidden without proper privilege" component="Tizen Device APIs/System/SystemSetting" execution_type="auto" priority="P2" id="SystemSettingManager_setProperty_check_privilege">
         <description>
           <test_script_entry>/opt/tct-privilege-tizen-tests/privilege/SystemSettingManager_setProperty.html</test_script_entry>