From: Li, Hao Date: Tue, 10 Sep 2013 10:28:54 +0000 (+0800) Subject: Fix TTS-1998 by update DBV to latest on RC8 X-Git-Tag: 2.2.1_release~58^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9c5ccf95d0685d233445ed1448ffaec9b54b9f2;p=test%2Ftct%2Fweb%2Fbehavior.git Fix TTS-1998 by update DBV to latest on RC8 1.Update the DynamicBoxViewer to latest on RC8 2.Update test description following the latest DBV Signed-off-by: Li, Hao --- diff --git a/tests/DynamicBox/index.html b/tests/DynamicBox/index.html index 766053d..19afe8f 100644 --- a/tests/DynamicBox/index.html +++ b/tests/DynamicBox/index.html @@ -67,17 +67,17 @@ Authors:

Test Purpose:

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.

Test Step:

-

(1) "Mousde event false", touch the red filled square in the app-widget,passes if the red square doesn't change;

-

(2) "Sample", passes if got a green pass on the screen;

-

(3) "AppWidget Unload event", wait 5 seconds after click the app-widget, passes if several words "pass" displayed on the screen;

-

(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;

-

(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";

+

(1) "Mousde event false", touch the red filled square in the app-widget, test passes if the red square doesn't change;

+

(2) "Sample", test passes if got a green pass on the screen;

+

(3) "AppWidget Unload event", wait 5 seconds after click the app-widget, test passes if several words "pass" displayed on the screen;

+

(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;

+

(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";

(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;

-

(7) "AppWidget Content mouse event" Use finger to touch the red filled square,pass if the square turned to green;

-

(8) "AppWidget Load event", pass if the box is loaded successfully, and the green "Pass" is displayed;

-

(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";

-

(10) "Size Decoration", touch the "size list" button and select box size, pass if box with "354x354" size has frame decoration;

-

(11) "Size Preview", touch "Size list" button, pass if some icons can be displayed on size list.

+

(7) "AppWidget Content mouse event", Use finger to touch the red filled square, test passes if the square turned to green;

+

(8) "AppWidget Load event", test passes if the box is loaded successfully, and the green "Pass" is displayed;

+

(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";

+

(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;

+

(11) "Size Preview", touch the menu button to select box size, test passes if some icons can be displayed on size list.

Expected Result:

This test PASS only if all the test points function well.

diff --git a/tests/DynamicBox/js/main.js b/tests/DynamicBox/js/main.js index 50b4d25..27a4299 100644 --- a/tests/DynamicBox/js/main.js +++ b/tests/DynamicBox/js/main.js @@ -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 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 index f17a69e..0000000 Binary files a/tests/DynamicBox/res/VDtfIPifEI-2.0.0-arm.tpk and /dev/null differ diff --git a/tests/DynamicBox/res/app-widget-box-size-decoration.wgt b/tests/DynamicBox/res/app-widget-box-size-decoration.wgt index 7cbc8c1..d4c262a 100644 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 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 index 0de1827..0000000 Binary files a/tests/DynamicBox/res/rXclbqCOvd-2.0.0-i386.tpk and /dev/null differ