revert VERSION to 5.5 06/243806/1
authorwei625.zhang <wei625.zhang@samsung.com>
Thu, 10 Sep 2020 07:19:08 +0000 (15:19 +0800)
committerwei625.zhang <wei625.zhang@samsung.com>
Thu, 10 Sep 2020 07:19:08 +0000 (15:19 +0800)
Change-Id: If067b518ec20f5e676d1b6bb72eb459fe69db63c

32 files changed:
VERSION
mobile/tct-behavior-tests/config.xml
mobile/tct-behavior-tests/manifest.json
mobile/tct-behavior-tests/tests/AppControl/js/main1.js
mobile/tct-behavior-tests/tests/AppControl/js/main2.js
mobile/tct-behavior-tests/tests/ApplicationInvisible/index.html
mobile/tct-behavior-tests/tests/CameraViaUserMedia/js/main.js
mobile/tct-behavior-tests/tests/Clipboard/js/main.js
mobile/tct-behavior-tests/tests/CordovaSupport/res/TizenCordovaMobileSpec.wgt
mobile/tct-behavior-tests/tests/DragandDrop/js/main.js
mobile/tct-behavior-tests/tests/DynamicBox/js/main.js
mobile/tct-behavior-tests/tests/HybridApplication/js/main.js
mobile/tct-behavior-tests/tests/MessagingSMSMMS/js/main.js
mobile/tct-behavior-tests/tests/Power/index.html
tv/tct-behavior-tests/config.xml
tv/tct-behavior-tests/manifest.json
tv/tct-behavior-tests/tct-behavior-tests.spec
tv/tct-behavior-tests/tests/AppControl/js/main1.js
tv/tct-behavior-tests/tests/AppControl/js/main2.js
tv/tct-behavior-tests/tests/CordovaSupport/res/TizenCordovaMobileSpec.wgt
tv/tct-behavior-tests/tests/DynamicBox/js/main.js
tv/tct-behavior-tests/tests/HybridApplication/js/main.js
tv/tct-behavior-tests/tests/MessagingSMSMMS/js/main.js
wearable/tct-behavior-tests/config.xml
wearable/tct-behavior-tests/manifest.json
wearable/tct-behavior-tests/tests/AppControl/js/main1.js
wearable/tct-behavior-tests/tests/AppControl/js/main2.js
wearable/tct-behavior-tests/tests/ApplicationInvisible/index.html
wearable/tct-behavior-tests/tests/CordovaSupport/res/TizenCordovaMobileSpec.wgt
wearable/tct-behavior-tests/tests/DynamicBox/js/main.js
wearable/tct-behavior-tests/tests/PackageManagement/js/tests.js
wearable/tct-behavior-tests/tests/Power/index.html

diff --git a/VERSION b/VERSION
index 2fd5f0a19d6bde9dc95a353600df81b36da84460..c7c115bdbb7c1eda92eca6fa267a96a9540759eb 100755 (executable)
--- a/VERSION
+++ b/VERSION
@@ -1,4 +1,4 @@
 {
-    "main-version": "6",
-    "release-version": "0"
+    "main-version": "5",
+    "release-version": "5"
 }
index 8bb41ea31bab97bf06829a98f1fd9fdfdcc4da2e..655288588329c7dfc7419b1bd2473aa892980f56 100755 (executable)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/test/tct-behavior-tests" version="6.0" viewmodes="">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/test/tct-behavior-tests" version="5.5" viewmodes="">
     <access origin="*"/>
-    <tizen:application id="tctbhtests.TCTBehaviorTests" package="tctbhtests" required_version="6.0"/>
+    <tizen:application id="tctbhtests.TCTBehaviorTests" package="tctbhtests" required_version="5.5"/>
     <icon src="icon.png" height="117" width="117"/>
     <name>tct-behavior-tests</name>
     <tizen:privilege name="http://tizen.org/privilege/location"/>
index c682bc8d04ec606adc87da1ebfcfcdb025eaaf43..e07c7ec0f6c5299a3b6e1213ab3a45bfdf230a52 100755 (executable)
@@ -1,5 +1,5 @@
 {
-    "version": "6.0",
+    "version": "5.5",
     "name": "tct-behavior-tests",
     "permissions": ["tabs", "unlimited_storage", "notifications", "http://*/*", "https://*/*"],
     "description": "tct-behavior-tests",
index 99b668a0c5a26e1354259932795edb812c80d6a9..c01f9545d30a2ddf34dfa7330b600aee3099fadb 100755 (executable)
@@ -100,13 +100,12 @@ var packageEventCallback = {
 };
 
 function gettpkInfoByPlatForm(){
-    var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
-    if (arch == "armv7") {
+    var deviceCapabilities = tizen.systeminfo.getCapabilities();
+    if(deviceCapabilities.platformCoreCpuArch=="armv7"){
         wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
         package_ids.unshift("rMLtTXzQr2");
         launch_tpk = "rMLtTXzQr2.DBV";
-    } else if (arch == "x86") {
+    }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
         wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
         package_ids.unshift("SD2nFxbyeA");
         launch_tpk = "SD2nFxbyeA.DBV";
index 0bd58b18d8dc4f02432c7121b41ae75310d177bb..b60b0847a22e25e38c33034dc91ebb0cbe0cc441 100755 (executable)
@@ -171,13 +171,12 @@ var packageEventCallback = {
 };
 
 function gettpkInfoByPlatForm(){
-    var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
-    if (arch == "armv7") {
+    var deviceCapabilities = tizen.systeminfo.getCapabilities();
+    if(deviceCapabilities.platformCoreCpuArch=="armv7"){
         wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
         package_ids.unshift("rMLtTXzQr2");
         launch_tpk = "rMLtTXzQr2.DBV";
-    } else if (arch == "x86") {
+    }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
         wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
         package_ids.unshift("SD2nFxbyeA");
         launch_tpk = "SD2nFxbyeA.DBV";
index 51371d1ac5a73c06bad572aeb50a807efeafb70a..b1478a0d712c265515afa24dc93c9a3ddbfde80a 100755 (executable)
@@ -100,7 +100,7 @@ Authors:
             <p>Expected Result: </p>
             <ul>
               <li>The "JS time" is different from the "Difference time".</li>
-              <li>The "Animation time" is the same with the "Difference time".</li>
+              <li>The "Animation time" is different from the "Difference time".</li>
             </ul>
           </font>
         </div>
index 0274e8baf4306ae3d65675ab1f92dcd0d7cb5946..5e1556a08efcef759e52a6129fa24ac56fc06756 100755 (executable)
@@ -36,7 +36,8 @@ $(document).ready(function(){
         try {
             navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia;
             navigator.getUserMedia({video: true}, function(s){
-                $("#localView")[0].srcObject = s;
+                var url = webkitURL.createObjectURL(s);
+                $("#localView")[0].src = url;
                 $("#localView").show();
                 $("#errormassage").hide();
                 EnablePassButton();
index 2c90e03c7c502b4a0ac33c541ac86974a1228e5d..3fdd20f4692acc85b6df3acc6f00959130d1798e 100755 (executable)
@@ -70,9 +70,11 @@ $(document).delegate("#main", "pageinit", function() {
 
 var packageEventCallback = {
         oninstalled: function(packageInfo) {
+            hideProcess();
             alert("The application " + packageInfo.name + " is installed");
         },
         onuninstalled: function(packageId) {
+            hideProcess();
             alert("The Clipboard application is uninstalled");
         }
 };
@@ -117,7 +119,6 @@ function install(url, type) {
                 console.log("Installation(" + packageId + ") Complete");
                 $("#install").addClass("ui-disabled");
                 $("#launch1").removeClass("ui-disabled");
-                hideProcess();
             }
     }
 
@@ -147,7 +148,6 @@ function uninstall() {
                 console.log("Uninstallation(" + packageId + ") Complete");
                 $("#launch1").addClass("ui-disabled");
                 $("#uninstall").addClass("ui-disabled");
-                hideProcess();
                 EnablePassButton();
             }
     }
index 2080fbfde44d2128438d53c65a9be93c921627c9..7b6c656cf597ff6915ac87590cb933b3010d4655 100644 (file)
Binary files a/mobile/tct-behavior-tests/tests/CordovaSupport/res/TizenCordovaMobileSpec.wgt and b/mobile/tct-behavior-tests/tests/CordovaSupport/res/TizenCordovaMobileSpec.wgt differ
index 236e6ac1bb50fcbbe0c8ab86fb11af3e368da3db..f74bd9f9f9f2a70b35356c6e46db31b5af386e95 100755 (executable)
@@ -71,9 +71,11 @@ $(document).delegate("#main", "pageinit", function() {
 
 var packageEventCallback = {
         oninstalled: function(packageInfo) {
+            hideProcess();
             alert("The application " + packageInfo.name + " is installed");
         },
         onuninstalled: function(packageId) {
+            hideProcess();
             alert("The application DragandDrop is uninstalled");
         }
 };
@@ -120,7 +122,6 @@ function install(url, type) {
                     $("#install").addClass("ui-disabled");
                     $("#launch1").removeClass("ui-disabled");
                 }
-                hideProcess();
             }
     }
 
@@ -150,7 +151,6 @@ function uninstall() {
                 console.log("Uninstallation(" + packageId + ") Complete");
                 $("#launch1").addClass("ui-disabled");
                 $("#uninstall").addClass("ui-disabled");
-                hideProcess();
                 EnablePassButton();
             }
     }
index 35091e24bee85923a54d7565e428ecc539638b5a..0d81c34fdde0cf0830231ca0a8be37b728df0def 100755 (executable)
@@ -256,13 +256,12 @@ var packageEventCallback = {
 };
 
 function gettpkInfoByPlatForm(){
-    var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
-    if (arch == "armv7") {
+    var deviceCapabilities = tizen.systeminfo.getCapabilities();
+    if(deviceCapabilities.platformCoreCpuArch=="armv7"){
         wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
         package_ids.unshift("rMLtTXzQr2");
         launch_tpk = "rMLtTXzQr2.DBV";
-    } else if (arch == "x86") {
+    }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
         wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
         package_ids.unshift("SD2nFxbyeA");
         launch_tpk = "SD2nFxbyeA.DBV";
index 7c23c8aa7b8cb4030ddd1466f5df4f86d5bed9bc..1e27fc386b56ab54f7255cd8cdd7824da4120f2e 100755 (executable)
@@ -90,12 +90,16 @@ $(document).delegate("#main", "pageinit", function() {
 
 var packageEventCallback = {
         oninstalled: function(packageInfo) {
+            hideProcess();
             alert("The application " + packageInfo.name + " is installed");
         },
         onupdated: function(packageInfo) {
+            hideProcess();
             alert("The application " + packageInfo.name + " is updated");
+            $("#update").removeClass("ui-disabled");
         },
         onuninstalled: function(packageId) {
+            hideProcess();
             alert("The Hybrid application is uninstalled");
         }
 };
@@ -151,7 +155,6 @@ function install(url, type) {
                     $("#update").addClass("ui-disabled");
                     $("#launch2").removeClass("ui-disabled");
                 }
-                hideProcess();
             }
     }
 
@@ -183,7 +186,6 @@ function uninstall() {
                 $("#launch2").addClass("ui-disabled");
                 $("#uninstall").addClass("ui-disabled");
                 $("#launch3").removeClass("ui-disabled");
-                hideProcess();
             }
     }
 
@@ -249,11 +251,11 @@ function packagePre() {
     }
 
     //add corssplatform support
-    var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
-    if (arch == "armv7") {
+    var deviceCapabilities = tizen.systeminfo.getCapabilities();
+    platformName = deviceCapabilities.platformCoreCpuArch;
+    if (platformName.indexOf("armv7") >= 0) {
         packagePath = "wgt-package/tests/HybridApplication/res/armv7/";
-    } else if (arch == "x86") {
+    } else if (platformName.indexOf("x86") >= 0) {
         packagePath = "wgt-package/tests/HybridApplication/res/x86/";
     } else {
         alert("Error: Unsupported platform");
index 6cd9350c8c52784fa611e2eec5425d2bdbfda1fb..faecc9220276d98b0edfe892e1395c7e6f7cbece 100755 (executable)
@@ -19,7 +19,7 @@ Authors:
 */
 
 var h, m, s, day, year, month, date;
-var telephonyMms;
+var deviceCapabilities;
 
 $(document).delegate("#main", "pageinit", function() {
     $("#sms").bind("vclick", function() {
@@ -28,9 +28,8 @@ $(document).delegate("#main", "pageinit", function() {
     $("#mms").bind("vclick", function() {
         tizen.messaging.getMessageServices("messaging.mms", mmsSuccessCallback, errorCallback);
     });
-
-    telephonyMms = tizen.systeminfo.getCapability("http://tizen.org/feature/network.telephony.mms");
-    if(!telephonyMms) {
+    deviceCapabilities = tizen.systeminfo.getCapabilities();
+    if(!deviceCapabilities.telephonyMms) {
         $("#mms").addClass("ui-disabled");
     }
 });
index 921b6e53e1fc44bfc7bd085babf509a585584870..ba3520f3eaf495fd2fd7e287f20f190607569e59 100755 (executable)
@@ -54,15 +54,15 @@ Authors:
     <div data-role="footer" data-position="fixed" data-tap-toggle="false">
     </div>
     <div data-role="popup" id="popup_info">
-        <div style="font-size:85%">
-            <p>Check if the screen status is successfully changed after every step</p>
+        <font style="font-size:85%">
+            <p>Check if the screen status is successfully changed</p>
             <p>(Note: Response time varies depends on the system setting)</p><br>
-            <p>* Setting -> Display -> Screen Timeout: 15 Seconds</p>
-            <p>* Default screen behavior: NORMAL -> (after screen timeout) -> screen goes DIM -> (after a while) -> screen turns OFF</p>
-            <p>1. Click 'Request SCREEN_DIM' : Check if the screen becomes DIM within 15 seconds. The screen stays at DIM and not turned off. To restore the default screen behavior, click 'Release SCREEN'.</p>
-            <p>2. Click 'Request SCREEN_NORMAL' : Check if the screen stays at NORMAL even after 15 seconds. To restore the default screen behavior, click 'Release SCREEN'.</p>
-            <p>3. Click 'Turn SCREEN_OFF' and check if the screen is turned off immediately.</p>
-        </div>
+            <p>* Setting -> Display -> Backlight time : 15 Seconds<p>
+            <p>1. Click Turn SCREEN_OFF and check the screen is off immediately</p>
+            <p>2. Click Request SCREEN_DIM(After 15 second) : Check if the screen is dim. But Screen doesn't turn off</p>
+            <p>3. Click Request SCREEN_NORMAL(After 15 second) : Check if the screen doesn't dim and turn off</p>
+            <p>4. Click Release SCREEN(After 15 second) : Check the screen resource release(Screen is dim and turn off)</p>
+        </font>
     </div>
 </body>
 </html>
index 45e4dc68a93a7fe48f68d22acfb4b89be730e4b7..1a2ef2b0d1db76a325d063026495dabc9fb8c8b6 100755 (executable)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/test/tct-behavior-tests" version="6.0" viewmodes="">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/test/tct-behavior-tests" version="5.5" viewmodes="">
     <access origin="*"/>
-    <tizen:application id="tctbhtests.TCTBehaviorTests" package="tctbhtests" required_version="6.0"/>
+    <tizen:application id="tctbhtests.TCTBehaviorTests" package="tctbhtests" required_version="5.5"/>
     <icon src="icon.png" height="117" width="117"/>
     <name>tct-behavior-tests</name>
     <tizen:privilege name="http://tizen.org/privilege/mediacapture"/>
index c682bc8d04ec606adc87da1ebfcfcdb025eaaf43..e07c7ec0f6c5299a3b6e1213ab3a45bfdf230a52 100755 (executable)
@@ -1,5 +1,5 @@
 {
-    "version": "6.0",
+    "version": "5.5",
     "name": "tct-behavior-tests",
     "permissions": ["tabs", "unlimited_storage", "notifications", "http://*/*", "https://*/*"],
     "description": "tct-behavior-tests",
index 4668496ab3633b21cdf2b9ed3ff6fb42f15faec7..54a370e8f79a33bb0949dcab88b7eca1359f709e 100755 (executable)
@@ -1,5 +1,5 @@
 name="tct-behavior-tests"
-main_version="6.0"
+main_version="5.5"
 release=""
 version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index 99b668a0c5a26e1354259932795edb812c80d6a9..c01f9545d30a2ddf34dfa7330b600aee3099fadb 100755 (executable)
@@ -100,13 +100,12 @@ var packageEventCallback = {
 };
 
 function gettpkInfoByPlatForm(){
-    var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
-    if (arch == "armv7") {
+    var deviceCapabilities = tizen.systeminfo.getCapabilities();
+    if(deviceCapabilities.platformCoreCpuArch=="armv7"){
         wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
         package_ids.unshift("rMLtTXzQr2");
         launch_tpk = "rMLtTXzQr2.DBV";
-    } else if (arch == "x86") {
+    }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
         wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
         package_ids.unshift("SD2nFxbyeA");
         launch_tpk = "SD2nFxbyeA.DBV";
index 0bd58b18d8dc4f02432c7121b41ae75310d177bb..b60b0847a22e25e38c33034dc91ebb0cbe0cc441 100755 (executable)
@@ -171,13 +171,12 @@ var packageEventCallback = {
 };
 
 function gettpkInfoByPlatForm(){
-    var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
-    if (arch == "armv7") {
+    var deviceCapabilities = tizen.systeminfo.getCapabilities();
+    if(deviceCapabilities.platformCoreCpuArch=="armv7"){
         wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
         package_ids.unshift("rMLtTXzQr2");
         launch_tpk = "rMLtTXzQr2.DBV";
-    } else if (arch == "x86") {
+    }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
         wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
         package_ids.unshift("SD2nFxbyeA");
         launch_tpk = "SD2nFxbyeA.DBV";
index 2080fbfde44d2128438d53c65a9be93c921627c9..9292214f8bf01cfbc0df5b9e977b13f6ea6af6a9 100644 (file)
Binary files a/tv/tct-behavior-tests/tests/CordovaSupport/res/TizenCordovaMobileSpec.wgt and b/tv/tct-behavior-tests/tests/CordovaSupport/res/TizenCordovaMobileSpec.wgt differ
index 35091e24bee85923a54d7565e428ecc539638b5a..0d81c34fdde0cf0830231ca0a8be37b728df0def 100755 (executable)
@@ -256,13 +256,12 @@ var packageEventCallback = {
 };
 
 function gettpkInfoByPlatForm(){
-    var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
-    if (arch == "armv7") {
+    var deviceCapabilities = tizen.systeminfo.getCapabilities();
+    if(deviceCapabilities.platformCoreCpuArch=="armv7"){
         wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
         package_ids.unshift("rMLtTXzQr2");
         launch_tpk = "rMLtTXzQr2.DBV";
-    } else if (arch == "x86") {
+    }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
         wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
         package_ids.unshift("SD2nFxbyeA");
         launch_tpk = "SD2nFxbyeA.DBV";
index 4a863324391bd9010e4bd0b5d6d113a531b3ea56..1e27fc386b56ab54f7255cd8cdd7824da4120f2e 100755 (executable)
@@ -251,11 +251,11 @@ function packagePre() {
     }
 
     //add corssplatform support
-    var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
-    if (arch == "armv7") {
+    var deviceCapabilities = tizen.systeminfo.getCapabilities();
+    platformName = deviceCapabilities.platformCoreCpuArch;
+    if (platformName.indexOf("armv7") >= 0) {
         packagePath = "wgt-package/tests/HybridApplication/res/armv7/";
-    } else if (arch == "x86") {
+    } else if (platformName.indexOf("x86") >= 0) {
         packagePath = "wgt-package/tests/HybridApplication/res/x86/";
     } else {
         alert("Error: Unsupported platform");
index 6cd9350c8c52784fa611e2eec5425d2bdbfda1fb..faecc9220276d98b0edfe892e1395c7e6f7cbece 100755 (executable)
@@ -19,7 +19,7 @@ Authors:
 */
 
 var h, m, s, day, year, month, date;
-var telephonyMms;
+var deviceCapabilities;
 
 $(document).delegate("#main", "pageinit", function() {
     $("#sms").bind("vclick", function() {
@@ -28,9 +28,8 @@ $(document).delegate("#main", "pageinit", function() {
     $("#mms").bind("vclick", function() {
         tizen.messaging.getMessageServices("messaging.mms", mmsSuccessCallback, errorCallback);
     });
-
-    telephonyMms = tizen.systeminfo.getCapability("http://tizen.org/feature/network.telephony.mms");
-    if(!telephonyMms) {
+    deviceCapabilities = tizen.systeminfo.getCapabilities();
+    if(!deviceCapabilities.telephonyMms) {
         $("#mms").addClass("ui-disabled");
     }
 });
index 5cbb28534d9666283a08bd1a4b26e411df36d1e0..6865bab2381b7331db48babbd3d7512d5d303265 100755 (executable)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/test/tct-behavior-tests" version="6.0" viewmodes="">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/test/tct-behavior-tests" version="5.5" viewmodes="">
     <access origin="*"/>
-    <tizen:application id="tctbhtests.TCTBehaviorTests" package="tctbhtests" required_version="6.0"/>
+    <tizen:application id="tctbhtests.TCTBehaviorTests" package="tctbhtests" required_version="5.5"/>
     <icon src="icon.png" height="117" width="117"/>
     <name>tct-behavior-tests</name>
     <tizen:privilege name="http://tizen.org/privilege/location"/>
index c682bc8d04ec606adc87da1ebfcfcdb025eaaf43..e07c7ec0f6c5299a3b6e1213ab3a45bfdf230a52 100755 (executable)
@@ -1,5 +1,5 @@
 {
-    "version": "6.0",
+    "version": "5.5",
     "name": "tct-behavior-tests",
     "permissions": ["tabs", "unlimited_storage", "notifications", "http://*/*", "https://*/*"],
     "description": "tct-behavior-tests",
index 99b668a0c5a26e1354259932795edb812c80d6a9..c01f9545d30a2ddf34dfa7330b600aee3099fadb 100755 (executable)
@@ -100,13 +100,12 @@ var packageEventCallback = {
 };
 
 function gettpkInfoByPlatForm(){
-    var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
-    if (arch == "armv7") {
+    var deviceCapabilities = tizen.systeminfo.getCapabilities();
+    if(deviceCapabilities.platformCoreCpuArch=="armv7"){
         wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
         package_ids.unshift("rMLtTXzQr2");
         launch_tpk = "rMLtTXzQr2.DBV";
-    } else if (arch == "x86") {
+    }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
         wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
         package_ids.unshift("SD2nFxbyeA");
         launch_tpk = "SD2nFxbyeA.DBV";
index 0bd58b18d8dc4f02432c7121b41ae75310d177bb..b60b0847a22e25e38c33034dc91ebb0cbe0cc441 100755 (executable)
@@ -171,13 +171,12 @@ var packageEventCallback = {
 };
 
 function gettpkInfoByPlatForm(){
-    var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
-    if (arch == "armv7") {
+    var deviceCapabilities = tizen.systeminfo.getCapabilities();
+    if(deviceCapabilities.platformCoreCpuArch=="armv7"){
         wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
         package_ids.unshift("rMLtTXzQr2");
         launch_tpk = "rMLtTXzQr2.DBV";
-    } else if (arch == "x86") {
+    }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
         wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
         package_ids.unshift("SD2nFxbyeA");
         launch_tpk = "SD2nFxbyeA.DBV";
index 791390d7690705e40bc377b237104a34e111ba71..7ffba2840ca15ac9634974559266db594e2b8c52 100755 (executable)
@@ -100,7 +100,7 @@ Authors:
                     <p>Expected Result: </p>
                     <ul>
                         <li>The "JS time" is different from the "Difference time".</li>
-                        <li>The "Animation time" is the same with the "Difference time".</li>
+                        <li>The "Animation time" is different from the "Difference time".</li>
                     </ul>
                 </div>
             </div>
index 2080fbfde44d2128438d53c65a9be93c921627c9..03a85a932d5957720cacbf70fad6e30a6ccdc9d9 100644 (file)
Binary files a/wearable/tct-behavior-tests/tests/CordovaSupport/res/TizenCordovaMobileSpec.wgt and b/wearable/tct-behavior-tests/tests/CordovaSupport/res/TizenCordovaMobileSpec.wgt differ
index b39b1fb8f6f51b2343b55b8146419cf094948476..7cf03c413899b12dd5fb199d58e69b51af91106f 100755 (executable)
@@ -166,13 +166,12 @@ var packageEventCallback = {
 };
 
 function gettpkInfoByPlatForm(){
-    var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
-    if (arch == "armv7") {
+    var deviceCapabilities = tizen.systeminfo.getCapabilities();
+    if(deviceCapabilities.platformCoreCpuArch=="armv7"){
         wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
         package_ids.unshift("rMLtTXzQr2");
         launch_tpk = "rMLtTXzQr2.DBV";
-    } else if (arch == "x86") {
+    }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
         wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
         package_ids.unshift("SD2nFxbyeA");
         launch_tpk = "SD2nFxbyeA.DBV";
index b57982736fbc7728f8f5a09328bb99481157f4c7..31e7cf89ebd0190176f005d08431a0cc7df477b6 100755 (executable)
@@ -181,7 +181,6 @@ function uninstall(package_id) {
             },
             oncomplete: function(packageId)
             {
-                $.mobile.hidePageLoadingMsg();
                 console.log("Uninstallation(" + packageId + ") Complete");
                 $('#launch').addClass("ui-disabled");
                 $('#uninstall').addClass("ui-disabled");
index 2f151b81273f00257deef9adb051309afc4427d2..c517c7e5d32d63a81501a0cafa27d7f396e7684f 100755 (executable)
@@ -55,14 +55,14 @@ Authors:
         </div>
         <div data-role="popup" id="popup_info">
             <div style="font-size:85%">
-                <p>Check if the screen status is successfully changed after every step</p>
+                <p>Check if the screen status is successfully changed</p>
                 <p>(Note: Response time varies depends on the system setting)</p><br>
-                <p>* Setting -> Display -> Screen Timeout: 15 Seconds</p>
-                <p>* Default screen behavior: NORMAL -> (after screen timeout) screen is turned OFF</p>
-                <p>* Wearable profile does not have DIM state, so you do not need to test DIM.</p>
-                <p>1. Click 'Request SCREEN_NORMAL' : Check if the screen is stayed at NORMAL even after 15 seconds. To restore the default screen behavior, click 'Release SCREEN'.</p>
-                <p>2. Click 'Turn SCREEN_OFF' and check if the screen is turned off immediately.</p>
-                </div>
+                <p>* Setting -> Display -> Backlight time : 15 Seconds<p>
+                <p>1. Click Request SCREEN_DIM(After 15 second) : Check if the screen is dim. But Screen doesn't turn off</p>
+                <p>2. Click Request SCREEN_NORMAL(After 15 second) : Check if the screen doesn't dim and turn off</p>
+                <p>3. Click Release SCREEN(After 15 second) : Check the screen resource release(Screen is dim and turn off)</p>
+                <p>4. Click Turn SCREEN_OFF and check the screen is off immediately</p>
+            </div>
         </div>
     </body>
 </html>