Changes: Update of significant tests.

RevBy: TrustMe
pull/1/head
Marek Ruszczak 14 years ago committed by Thyagarajan Balakrishnan
parent f8f7b8a9bc
commit 919e1d2a19

@ -130,6 +130,15 @@
<case name="applauncherd__test_fd_booster_m" type="Functional" description="File descriptor test for booster-m" timeout="560" level="System" insignificant="false">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_fd_booster_m</step>
</case>
<case name="applauncherd__test_dirPath_filePath_m"
type="Functional"
description="Test that correct file path and dir path is passed by booster m"
timeout="360"
level="System">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_dirPath_filePath_m</step>
</case >
<case name="applauncherd__test_qttas_load_booster_m" type="Functional" description="To test invoker that qttestability plugin is loaded with -testability argument for booster-m" timeout="360" level="System" insignificant="false">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_qttas_load_booster_m</step>
</case>
@ -361,6 +370,28 @@
</environments>
</set>
<set name="TC_Stress_test"
description="functional tests for bugs and new features"
feature="AF Basic Launcher daemon support"
requirement="300168">
<pre_steps>
<step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step>
</pre_steps>
<case name="applauncherd__test_stress_boosted_apps"
type="Functional"
description="Stress test for boosted applications to check only one instance is running."
timeout="360"
level="System">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_stress_boosted_apps</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
</suite>
</testdefinition>

@ -5,52 +5,50 @@
<!-- Schema: https://projects.maemo.org/docs/testing/xml-definition.html -->
<suite name="applauncherd-bug-tests" domain="Application framework">
<set name="TC_Bug" description="functional tests for bugs and new features" feature="AF Basic Launcher daemon support" requirement="300168">
<pre_steps>
<step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step>
</pre_steps>
<case name="applauncherd__test_dirPath_filePath_m" type="Functional" description="Test that correct file path and dir path is passed by booster m" timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_dirPath_filePath_m</step>
</case >
<case name="applauncherd__test_stress_boosted_apps"
type="Functional"
description="Stress test for boosted applications to check only one instance is running."
timeout="360"
level="System"
insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_stress_boosted_apps</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
<set name="TC_GLContext" description="functional tests for glcontext" feature="AF Basic Launcher daemon support" requirement="300168">
<pre_steps>
<step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step>
</pre_steps>
<case name="applauncherd__test_m_booster_dont_have_GL_context" type="Functional" description="Test that m-booster don't have GL context" timeout="100" level="System" insignificant="true">
<case name="applauncherd__test_m_booster_dont_have_GL_context"
type="Functional"
description="Test that m-booster don't have GL context"
timeout="100"
level="System">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_m_booster_dont_have_GL_context</step>
</case>
<case name="applauncherd__test_q_boosted_has_GL_context" type="Functional" description="Test that q-boosted app has GL context and q-booster doesn't have" timeout="100" level="System" insignificant="true">
<case name="applauncherd__test_q_boosted_has_GL_context"
type="Functional"
description="Test that q-boosted app has GL context and q-booster doesn't have"
timeout="100"
level="System">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_q_boosted_has_glcontext</step>
</case>
<case name="applauncherd__test_m_boosted_has_GL_context" type="Functional" description="Test that m-boosted app has GL context and m-booster doesn't have" timeout="100" level="System" insignificant="true">
<case name="applauncherd__test_m_boosted_has_GL_context"
type="Functional"
description="Test that m-boosted app has GL context and m-booster doesn't have"
timeout="100"
level="System"
insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_m_boosted_has_glcontext</step>
</case>
<case name="applauncherd__test_d_boosted_has_GL_context" type="Functional" description="Test that d-boosted app has GL context and d-booster doesn't have" timeout="100" level="System" insignificant="true">
<case name="applauncherd__test_d_boosted_has_GL_context"
type="Functional"
description="Test that d-boosted app has GL context and d-booster doesn't have"
timeout="100"
level="System">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_d_boosted_has_glcontext</step>
</case>
<case name="applauncherd__test_e_boosted_has_GL_context" type="Functional" description="Test that e-boosted app has GL context and e-booster doesn't have" timeout="100" level="System" insignificant="true">
<case name="applauncherd__test_e_boosted_has_GL_context"
type="Functional"
description="Test that e-boosted app has GL context and e-booster doesn't have"
timeout="100"
level="System"
insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_e_boosted_has_glcontext</step>
</case>
@ -61,19 +59,36 @@
</set>
<set name="TC_SigHUP" description="functional tests for HUP signal for applaucherd" feature="AF Basic Launcher daemon support">
<case name="applauncherd__test_check_applauncherd_sighup_m" type="Functional" description="Test that SIGHUP: doesn't restart applaucherd, restarts booster-m and doesn't kill other child processes." timeout="100" level="System" insignificant="true">
<case name="applauncherd__test_check_applauncherd_sighup_m"
type="Functional"
description="Test that SIGHUP: doesn't restart applaucherd, restarts booster-m and doesn't kill other child processes."
timeout="100"
level="System">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_check_applauncherd_sighup_effects_m</step>
</case>
<case name="applauncherd__test_check_applauncherd_sighup_d" type="Functional" description="Test that SIGHUP: doesn't restart applaucherd, restarts booster-d and doesn't kill other child processes." timeout="100" level="System" insignificant="true">
<case name="applauncherd__test_check_applauncherd_sighup_d"
type="Functional"
description="Test that SIGHUP: doesn't restart applaucherd, restarts booster-d and doesn't kill other child processes."
timeout="100"
level="System"
insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_check_applauncherd_sighup_effects_d</step>
</case>
<case name="applauncherd__test_check_applauncherd_sighup_q" type="Functional" description="Test that SIGHUP: doesn't restart applaucherd, restarts booster-q and doesn't kill other child processes." timeout="100" level="System" insignificant="true">
<case name="applauncherd__test_check_applauncherd_sighup_q"
type="Functional"
description="Test that SIGHUP: doesn't restart applaucherd, restarts booster-q and doesn't kill other child processes."
timeout="100"
level="System">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_check_applauncherd_sighup_effects_q</step>
</case>
<case name="applauncherd__test_check_applauncherd_sighup_e" type="Functional" description="Test that SIGHUP: doesn't restart applaucherd, restarts booster-e and doesn't kill other child processes." timeout="100" level="System" insignificant="true">
<case name="applauncherd__test_check_applauncherd_sighup_e"
type="Functional"
description="Test that SIGHUP: doesn't restart applaucherd, restarts booster-e and doesn't kill other child processes."
timeout="100"
level="System">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-func-launcher.py test_check_applauncherd_sighup_effects_e</step>
</case>
@ -93,8 +108,7 @@
type="Functional"
description="Checks that when new application is installed (facebookqml) containing new security token, then applauncherd gains this new security token"
timeout="200"
level="System"
insignificant="true">
level="System">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-security.py test_reexec_when_new_token_is_installed</step>
</case>
<case name="applauncherd__test_reexec_when_file_in_usrlib_modified"
@ -109,16 +123,14 @@
type="Functional"
description="Checks that when running application is upgraded and upgrade contains new token, then this runing application doesn't gain new token until it is restarted (re-exec of applauncherd don't have impact on child processes)."
timeout="100"
level="System"
insignificant="true">
level="System">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-security.py test_that_other_apps_dont_gain_new_token</step>
</case>
<case name="applauncherd__test_installation_of_new_token_when_deamon_is_disabled"
type="Functional"
description="Test that isntallation of new package with new security token is going well when applauncherd daemon is disabled (stoped)"
timeout="200"
level="System"
insignificant="true">
level="System">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-security.py test_installation_of_new_token_when_deamon_is_disabled</step>
</case>
<post_steps>

Loading…
Cancel
Save