Fix TTS-1998 by update DBV to latest on RC8
authorLi, Hao <haox.li@intel.com>
Tue, 10 Sep 2013 10:28:54 +0000 (18:28 +0800)
committerwanmingx.lin <wanmingx.lin@intel.com>
Tue, 10 Sep 2013 10:39:15 +0000 (18:39 +0800)
  1.Update the DynamicBoxViewer to latest on RC8
  2.Update test description following the latest DBV

Signed-off-by: Li, Hao <haox.li@intel.com>
tests/DynamicBox/index.html
tests/DynamicBox/js/main.js
tests/DynamicBox/res/SD2nFxbyeA-2.0.0-i386.tpk [new file with mode: 0644]
tests/DynamicBox/res/VDtfIPifEI-2.0.0-arm.tpk [deleted file]
tests/DynamicBox/res/app-widget-box-size-decoration.wgt
tests/DynamicBox/res/rMLtTXzQr2-2.0.0-arm.tpk [new file with mode: 0644]
tests/DynamicBox/res/rXclbqCOvd-2.0.0-i386.tpk [deleted file]

index 766053dd6817e60cfe64f9582534caee8bb4e88f..19afe8f3be32899caa90c5eec6e015a1c93d19a3 100644 (file)
@@ -67,17 +67,17 @@ Authors:
             <p>Test Purpose: </p>
             <p>Verifies the functionality of DynamicBox application. Tests the functionality of mouse event, visibility event and unload event for DynamicBox.Install app-widget and DynamicBox viewer by clicking the "Package Install" button.Launch DynamicBox Viewer by clicking the "Launch" button.Uninstall app-widget and DynamicBox viewer by clicking "Package UnInstall" button.</p>
             <p>Test Step: </p>
-            <p>(1) "Mousde event false", touch the red filled square in the app-widget,passes if the red square doesn't change;</p>
-            <p>(2) "Sample", passes if got a green pass on the screen;</p>
-            <p>(3) "AppWidget Unload event", wait 5 seconds after click the app-widget, passes if several words "pass" displayed on the screen;</p>
-            <p>(4) "Dynamic Box", select size 354x354 then flick down the box, push button "Send message to Box", passes if "Hello, Dynamic Box" displayed on the box;</p>
-            <p>(5) Switch device's language to French, then relaunch the viewer by push "Launch" button, passes if the fifth app-widget's name changed from "NO NAME" to"Caisses dynamique";</p>
+            <p>(1) "Mousde event false", touch the red filled square in the app-widget, test passes if the red square doesn't change;</p>
+            <p>(2) "Sample", test passes if got a green pass on the screen;</p>
+            <p>(3) "AppWidget Unload event", wait 5 seconds after click the app-widget, test passes if several words "pass" displayed on the screen;</p>
+            <p>(4) "Dynamic Box", touch the menu button to select size 354x354 then flick down the box, push button "Send message to Box", test passes if "Hello, Dynamic Box" displayed on the box;</p>
+            <p>(5) Switch device's language to French, then relaunch the viewer by push "Launch" button, test passes if the fifth app-widget's name changed from "NO NAME" to"Caisses dynamique";</p>
             <p>(6) app-widget-primary-true-false appWidget's titles("AppWidget Primary set1 true false" and "AppWidget Primary set2 true false") are displayed in dynamicbox viewer;</p>
-            <p>(7) "AppWidget Content mouse event" Use finger to touch the red filled square,pass if the square turned to green;</p>
-            <p>(8) "AppWidget Load event", pass if the box is loaded successfully, and the green "Pass" is displayed;</p>
-            <p>(9) "Visibility widget", pass if the green pass is displayed in box, and flicks down content of Web AppWidget, PD is opened and displayed "PD index.html";</p>
-            <p>(10) "Size Decoration", touch the "size list" button and select box size, pass if box with "354x354" size has frame decoration;</p>
-            <p>(11) "Size Preview", touch "Size list" button, pass if some icons can be displayed on size list.</p>
+            <p>(7) "AppWidget Content mouse event", Use finger to touch the red filled square, test passes if the square turned to green;</p>
+            <p>(8) "AppWidget Load event", test passes if the box is loaded successfully, and the green "Pass" is displayed;</p>
+            <p>(9) "Visibility widget", test passes if the green pass is displayed in box, and flicks down content of Web AppWidget, PD is opened and displayed "PD index.html";</p>
+            <p>(10) "Size Decoration", touch the menu button to select box size, test passes if the box with "354x354" size have different frame decoration with the box with other two sizes;</p>
+            <p>(11) "Size Preview", touch the menu button to select box size, test passes if some icons can be displayed on size list.</p>
             <p>Expected Result: </p>
             <p>This test PASS only if all the test points function well.</p>
           </font>
index 50b4d251851479a9283183a09501335086f59368..27a4299c8767dcb16eff7a76a3457ed25ad0be3d 100644 (file)
@@ -99,13 +99,13 @@ var packageEventCallback = {
 function gettpkInfoByPlatForm(){
     var deviceCapabilities = tizen.systeminfo.getCapabilities();
     if(deviceCapabilities.platformCoreCpuArch=="armv7"){
-        wgt_names.unshift("VDtfIPifEI-2.0.0-arm.tpk");
-        package_ids.unshift("VDtfIPifEI");
-        launch_tpk = "VDtfIPifEI.DBV";
+        wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
+        package_ids.unshift("rMLtTXzQr2");
+        launch_tpk = "rMLtTXzQr2.DBV";
     }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
-        wgt_names.unshift("rXclbqCOvd-2.0.0-i386.tpk");
-        package_ids.unshift("rXclbqCOvd");
-        launch_tpk = "rXclbqCOvd.DBV";
+        wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
+        package_ids.unshift("SD2nFxbyeA");
+        launch_tpk = "SD2nFxbyeA.DBV";
     }
 }
 
diff --git a/tests/DynamicBox/res/SD2nFxbyeA-2.0.0-i386.tpk b/tests/DynamicBox/res/SD2nFxbyeA-2.0.0-i386.tpk
new file mode 100644 (file)
index 0000000..8241fb8
Binary files /dev/null and b/tests/DynamicBox/res/SD2nFxbyeA-2.0.0-i386.tpk differ
diff --git a/tests/DynamicBox/res/VDtfIPifEI-2.0.0-arm.tpk b/tests/DynamicBox/res/VDtfIPifEI-2.0.0-arm.tpk
deleted file mode 100644 (file)
index f17a69e..0000000
Binary files a/tests/DynamicBox/res/VDtfIPifEI-2.0.0-arm.tpk and /dev/null differ
index 7cbc8c1d211693cb5a33874d282f9abb5816a276..d4c262ac77c6b3af97eaedfd799d1faa94485edb 100644 (file)
Binary files a/tests/DynamicBox/res/app-widget-box-size-decoration.wgt and b/tests/DynamicBox/res/app-widget-box-size-decoration.wgt differ
diff --git a/tests/DynamicBox/res/rMLtTXzQr2-2.0.0-arm.tpk b/tests/DynamicBox/res/rMLtTXzQr2-2.0.0-arm.tpk
new file mode 100644 (file)
index 0000000..777a62a
Binary files /dev/null and b/tests/DynamicBox/res/rMLtTXzQr2-2.0.0-arm.tpk differ
diff --git a/tests/DynamicBox/res/rXclbqCOvd-2.0.0-i386.tpk b/tests/DynamicBox/res/rXclbqCOvd-2.0.0-i386.tpk
deleted file mode 100644 (file)
index 0de1827..0000000
Binary files a/tests/DynamicBox/res/rXclbqCOvd-2.0.0-i386.tpk and /dev/null differ