Changes: New test package applauncherd-apps-tests added

RevBy: Olli Leppanen
pull/1/head
Nimika Keshri 14 years ago
parent d63f375603
commit 6050a383b0

@ -0,0 +1 @@
usr/share/applauncherd-apps-tests/tests.xml

8
debian/control vendored

@ -101,6 +101,14 @@ XB-Maemo-CI-Stage:acceptance, validation
Description: applauncherd art tests
Art tests for testing applauncherd.
Package: applauncherd-apps-tests
Priority: extra
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, applauncherd-testapps, applauncherd-testscripts
XB-Maemo-CI-Packages: facebookqml
XB-Maemo-CI-Stage:acceptance, validation
Description: applauncherd tests for applications dependent on applauncherd
Package: applauncherd-red-tests
Priority: extra
Architecture: any

@ -22,6 +22,9 @@ add_subdirectory(harmattan/testscripts)
# Sub build: harmattan/art-tests
add_subdirectory(harmattan/art-tests)
# Sub build: harmattan/apps-tests
add_subdirectory(harmattan/apps-tests)
# Sub build: harmattan/red-tests
add_subdirectory(harmattan/red-tests)

@ -0,0 +1,8 @@
if ($ENV{MEEGO})
# Do nothing
endif ($ENV{MEEGO})
if ($ENV{HARMATTAN})
install(FILES tests.xml DESTINATION /usr/share/applauncherd-apps-tests)
endif ($ENV{HARMATTAN})

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<testdefinition version="0.1">
<!-- Test suite, name mandatory - the same as test package name -->
<!-- Schema: https://projects.maemo.org/docs/testing/xml-definition.html -->
<suite name="applauncherd-apps-tests" domain="Application framework">
<set name="TC_APPS" description="functional tests for apps dependent on applauncherd" 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_no_aegis_invoker_creds" type="Functional" description="Test that no extra credentials are passed to invoker" 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-security.py test_no_aegis_invoker_creds </step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
</suite>
</testdefinition>

@ -17,9 +17,6 @@
<!--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-->
<case name="applauncherd__test_no_aegis_invoker_creds" 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-security.py test_no_aegis_invoker_creds </step>
</case>
<case name="applauncherd__test_daemon_help" type="Functional" description="Test the --help parameter for the daemon" 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-daemons.py test_daemon_help</step>
</case>

Loading…
Cancel
Save