[common][tct-systeminfo-tizen-tests][fix TCs issue] 51/129951/1
authormengli.zhang <mengli.zhang@samsung.com>
Fri, 19 May 2017 00:40:08 +0000 (20:40 -0400)
committermengli.zhang <mengli.zhang@samsung.com>
Fri, 19 May 2017 00:40:17 +0000 (20:40 -0400)
Change-Id: I49b31ccdee53f270940e55d6237ca7439ce56558
Signed-off-by: mengli.zhang <mengli.zhang@samsung.com>
common/tct-systeminfo-tizen-tests/systeminfo/SystemInfoDeviceCapability_nativeApiVersion_attribute.html
common/tct-systeminfo-tizen-tests/systeminfo/SystemInfoDeviceCapability_webApiVersion_attribute.html
common/tct-systeminfo-tizen-tests/tests.xml

index a54fdc7586a1e8bb7902a247c984d1f4117f2151..7dfc67b7c3b94e8341f826afbd51ebe2f7ffb79d 100755 (executable)
@@ -42,7 +42,7 @@ test(function () {
     check_readonly(deviceCapabilities, "nativeApiVersion",
         deviceCapabilities.nativeApiVersion, "string", null);
     assert_true(deviceCapabilities.nativeApiVersion !== "", "null check");
-    pattern = /3(\.[0-9])*/g;
+    pattern = /4(\.[0-9])*/g;
     assert_regexp_match(deviceCapabilities.nativeApiVersion, pattern, "nativeApiVersion has a bad value");
 }, document.title);
 
index 4860567b3f4a9425f0dc49d13f604ac3181ae25a..8e68f58100794dba532c3baf2c002232ec09adb3 100755 (executable)
@@ -41,8 +41,8 @@ test(function () {
     check_readonly(deviceCapabilities, "webApiVersion",
         deviceCapabilities.webApiVersion, "string", null);
     assert_true(deviceCapabilities.webApiVersion !== "", "null check");
-    assert_equals(deviceCapabilities.webApiVersion, "3.0",
-        "webApiVersion is not 3.0");
+    assert_equals(deviceCapabilities.webApiVersion, "4.0",
+        "webApiVersion is not 4.0");
 }, document.title);
 
 </script>
index 4d2b9123a78aa83198790f2d5ccf419b468a2b7d..cdad7d16dbe2b3ed84f778deca71ae8d68a76c54 100755 (executable)
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertyArraySuccessCallback_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_datacontrol" priority="P1" purpose="The platform returns true for this key, if the device supports DataControl API.">
+     <!-- <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_datacontrol" priority="P1" purpose="The platform returns true for this key, if the device supports DataControl API.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_datacontrol.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoNetwork_extend" onload_delay="90" priority="P3" purpose="Check if SystemInfoNetwork can have new property added">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoNetwork_extend.html</test_script_entry>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoStorageUnit_type_attribute_value.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_account" priority="P1" purpose="Check The platform returns true for this key, if the device supports Account API.">
+  <!--    <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_account" priority="P1" purpose="Check The platform returns true for this key, if the device supports Account API.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_account.html</test_script_entry>
         </description>
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_contact.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_datasync" priority="P1" purpose="Check datasync of SystemInfoDeviceCapability has type Boolean.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_datasync.html</test_script_entry>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_download.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_email" priority="P1" purpose="Check The platform returns true for this key and http://tizen.org/feature/email, if the device supports Email API.">
+     <!-- <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_email" priority="P1" purpose="Check The platform returns true for this key and http://tizen.org/feature/email, if the device supports Email API.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_email.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase> -->
       <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_network_bluetooth" priority="P1" purpose="Check Bluetooth of SystemInfoDeviceCapability has type Boolean.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_network_bluetooth.html</test_script_entry>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_network_secure_element.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_notification" priority="P1" purpose="Check Notification of SystemInfoDeviceCapability has type Boolean.">
+     <!-- <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_notification" priority="P1" purpose="Check Notification of SystemInfoDeviceCapability has type Boolean.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_notification.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_screen_height" priority="P1" purpose="Check Screen Height of SystemInfoDeviceCapability has type unsigned long.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_screen_height.html</test_script_entry>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_systemsetting.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_websetting" priority="P1" purpose="Check WebSetting of SystemInfoDeviceCapability has type Boolean.">
+     <!-- <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_websetting" priority="P1" purpose="Check WebSetting of SystemInfoDeviceCapability has type Boolean.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_websetting.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_camera" priority="P1" purpose="Check camera of SystemInfoDeviceCapability has type Boolean.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_camera.html</test_script_entry>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_archive" priority="P1" purpose="The platform returns true for this key, if the device supports Archive API.">
+     <!-- <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_archive" priority="P1" purpose="The platform returns true for this key, if the device supports Archive API.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_archive.html</test_script_entry>
         </description>
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_exif.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_led" priority="P1" purpose="The platform returns true for this key, if the device supports exif API.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_led.html</test_script_entry>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoPropertyArraySuccessCallback_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_datacontrol" priority="P1" purpose="The platform returns true for this key, if the device supports DataControl API.">
+   <!--   <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_datacontrol" priority="P1" purpose="The platform returns true for this key, if the device supports DataControl API.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_datacontrol.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase> -->
       <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfoNetwork_extend" onload_delay="90" priority="P3" purpose="Check if SystemInfoNetwork can have new property added">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoNetwork_extend.html</test_script_entry>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfoStorageUnit_type_attribute_value.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_account" priority="P1" purpose="Check The platform returns true for this key, if the device supports Account API.">
+   <!--   <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_account" priority="P1" purpose="Check The platform returns true for this key, if the device supports Account API.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_account.html</test_script_entry>
         </description>
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_contact.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_datasync" priority="P1" purpose="Check datasync of SystemInfoDeviceCapability has type Boolean.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_datasync.html</test_script_entry>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_download.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_email" priority="P1" purpose="Check The platform returns true for this key and http://tizen.org/feature/email, if the device supports Email API.">
+    <!--  <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_email" priority="P1" purpose="Check The platform returns true for this key and http://tizen.org/feature/email, if the device supports Email API.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_email.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_network_bluetooth" priority="P1" purpose="Check Bluetooth of SystemInfoDeviceCapability has type Boolean.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_network_bluetooth.html</test_script_entry>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_network_secure_element.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_notification" priority="P1" purpose="Check Notification of SystemInfoDeviceCapability has type Boolean.">
+     <!-- <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_notification" priority="P1" purpose="Check Notification of SystemInfoDeviceCapability has type Boolean.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_notification.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_screen_height" priority="P1" purpose="Check Screen Height of SystemInfoDeviceCapability has type unsigned long.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_screen_height.html</test_script_entry>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_systemsetting.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_websetting" priority="P1" purpose="Check WebSetting of SystemInfoDeviceCapability has type Boolean.">
+     <!-- <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_websetting" priority="P1" purpose="Check WebSetting of SystemInfoDeviceCapability has type Boolean.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_websetting.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_camera" priority="P1" purpose="Check camera of SystemInfoDeviceCapability has type Boolean.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_camera.html</test_script_entry>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_addPropertyValueChangeListener_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_archive" priority="P1" purpose="The platform returns true for this key, if the device supports Archive API.">
+     <!-- <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_archive" priority="P1" purpose="The platform returns true for this key, if the device supports Archive API.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_archive.html</test_script_entry>
         </description>
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_exif.html</test_script_entry>
         </description>
-      </testcase>
+      </testcase>-->
       <testcase component="TizenAPI/System/SystemInfo" execution_type="auto" id="SystemInfo_getCapability_led" priority="P1" purpose="The platform returns true for this key, if the device supports exif API.">
         <description>
           <test_script_entry>/opt/tct-systeminfo-tizen-tests/systeminfo/SystemInfo_getCapability_led.html</test_script_entry>