Merge remote branch 'origin/master'

pull/1/head
Alexey Shilov 15 years ago
commit f9aedaf9ea

@ -1,44 +1,45 @@
/*! \mainpage Applauncherd usage
/*! \mainpage Applauncherd usage UNDER CONSTRUCTION!
\section intro Introduction
Applauncherd is a daemon that helps to launch applications faster by
preloading dynamically linked libraries and caching stuff
(MComponentCache, MDeclarativeCache). It also saves memory, because
Invoker (binary) and applauncherd (daemon) are tools that help to give a user a better
application startup experience. This is achieved by means of actually launching applications
faster by preloading dynamically linked libraries and caching stuff
(MComponentCache, MDeclarativeCache), providing possibility to application developer
to configure application spesific splash screen which is shown before application is
started and providing single instance support for application so that only one instance of
application can be started at a time. It also saves memory, because
all launched applications share certain resources.
This documentation describes the idea behind the launcher and the
basic usage. It also explains some of the \subpage technical
"Technical details" of the implementation.
This documentation describes the idea behind these functionalities. It also explains
some of the \subpage technical "Technical details" of the implementation.
\subsection howto How to...
With invoker and applauncherd you can achieve:
\li \subpage compilinglinking "Compile and link your application to be usable with the launcher"
- \subpage splash "Splash screen for the application"
\li \subpage invoker "Launch your application using the invoker"
- \subpage singleinstance "Single instance support for the application"
\li \subpage usingboosters "Reduce startup time with cached object instances"
- Boosted startup for different types of applications:
- \subpage qmlboost "QML"
- \subpage qtboost "Qt"
- \subpage libmeegotouchboost "Libmeegotouch"
\li \subpage splash "Show a splash screen during application launch"
- \subpage ownboosterplugin "Write your own booster for other application types"
\li \subpage singleinstance "Ensure that only one instance of the application is running"
\section gettingstarted Getting started
If you are interested how quickly enable splash screen, single instance and boosting for your
QML application, please take a look at \subpage getstarted "Getting started" documentation
\li \subpage starting "Starting applauncherd"
\section tipsandtricks Tips and tricks
\li \subpage security "Platform security"
- \subpage debug "Debugging boosted applications"
\li \subpage dependencies "Package Dependencies"
- \subpage security "Security issues"
\li \subpage knownissues "Current known issues"
- \subpage platform "Platform spesific limitations"
\li \subpage otherboosters "Other boosters"
\li \subpage commandlineparams "Command line parameters"
\li \subpage moreinformation "More information"
For details of how to use MComponentCache and how to enable it in your
application, please refer to the MeeGo Touch documentation.
- \subpage invokercommandline "Advanced invoker command line parameters"
\page technical Technical overview

8
debian/changelog vendored

@ -1,3 +1,9 @@
applauncherd (0.25.0) unstable; urgency=low
* Partial preloaded library list optimization
-- Juha Lintula <juha.lintula@nokia.com> Tue, 29 Mar 2011 14:21:21 +0200
applauncherd (0.24.5) stable; urgency=low
* Fixes: NB#240045 - Not able to open bluetooth menu from settings application
@ -31,8 +37,8 @@ applauncherd (0.24.1) stable; urgency=low
applauncherd (0.24.0) stable; urgency=low
* Fixes: NB#231306 - Launcher slows down boot by loading irrelevant libs and not loading relevant ones
* Fixes: NB#234196 - QML Booster should be part of Nokia MeeGo in the API
* Fixes: NB#231306 - Launcher slows down boot by loading irrelevant libs and not loading relevant ones
-- Juha Lintula <juha.lintula@nokia.com> Fri, 18 Mar 2011 13:17:52 +0200

@ -22,138 +22,171 @@
const char * const gLibs[] =
{
"/lib/libacl.so.1",
"/lib/libattr.so.1",
"/lib/libc-2.10.1.so",
"/lib/libdl-2.10.1.so",
"/lib/libgcc_s.so.1",
"/lib/libglib-2.0.so.0",
"/lib/libm-2.10.1.so",
"/lib/libpcre.so.3",
"/lib/libpthread-2.10.1.so",
"/lib/libresolv-2.10.1.so",
"/lib/librt-2.10.1.so",
"/lib/libudev.so.0",
"/lib/libuuid.so.1",
"/usr/lib/gconv/UTF-16.so",
"/usr/lib/libaegis_crypto.so.1",
"/usr/lib/libarchive.so.2",
"/usr/lib/libasound.so.2",
"/usr/lib/libbmeipc.so.0",
"/usr/lib/libbz2.so.1.0",
"/usr/lib/libcallui0.so.2",
"/usr/lib/libcares.so.2",
"/usr/lib/libcdb.so.1",
"/usr/lib/libcellular-qt.so.1",
"/usr/lib/libcontentaction.so.0",
"/usr/lib/libcontentmanager.so.0",
"/usr/lib/libcontextsubscriber.so.0",
"/usr/lib/libcontactsvoicemail.so.0",
"/usr/lib/libmaemomeegotouchcalendarinterface.so.1",
"/usr/lib/libqtcontacts_extensions_tracker.so.4",
"/usr/lib/libcontactsutils.so.0",
//"/usr/lib/libcontactswidgets.so.0",
"/usr/lib/libprdrm-gio0.so.0",
"/usr/lib/gio/modules/libprdrm-gio-vfs0.so",
"/usr/lib/libpvr2d_r125.so",
"/usr/lib/libpvrPVR2D_DRI2WSEGL_r125.so",
"/usr/lib/libdatepicker.so",
"/usr/lib/libvideo-widget-meegotouch.so.1",
"/usr/lib/libvideo-renderer-gst-playbin2.so.1",
"/usr/lib/libAccountPlugin.so.1",
"/usr/lib/libprdrm-pk-decrypt0.so.0",
"/usr/lib/libcreds2-qt.so.1",
"/usr/lib/libcreds.so.2",
"/usr/lib/libcrypto.so.0.9.8",
"/usr/lib/libcurl.so.4",
"/usr/lib/libdbus-1.so.3",
"/usr/lib/libdbus-glib-1.so.2",
"/usr/lib/libdsme_dbus_if.so.0.2.0",
"/usr/lib/libdsme.so.0.2.0",
"/usr/lib/libEGL_r125.so",
"/usr/lib/libexempi.so.3",
"/usr/lib/libexif.so.12",
"/usr/lib/libexpat.so.1",
"/usr/lib/libfontconfig.so.1",
"/usr/lib/libfreetype.so.6",
"/usr/lib/libgconf-2.so.4",
"/usr/lib/libmaemomeegotouchcontactsinterface.so.1",
"/usr/lib/libgeoengine-mapwidget.so.1",
"/usr/lib/libmcontentwidgets.so.0",
"/usr/lib/libQtVersit.so.1",
"/usr/lib/libprdrm-server-rmi0.so.0",
"/usr/lib/libprdrm-asfguid0.so.0",
"/usr/lib/libprdrm-server-common0.so.0",
"/usr/lib/libMOS.so.1",
"/usr/lib/libgallerycore.so.1",
"/usr/lib/libprdrm-pk-common0.so.0",
"/usr/lib/liblocationpicker.so",
"/usr/lib/libprdrm-asf0.so.0",
"/usr/lib/libprdrm-client0.so.0",
"/usr/lib/libAccountSetup.so.1",
"/usr/lib/liblocationextras.so",
"/usr/lib/libNAccountsUI.so.1",
"/usr/lib/libmdatauri.so.0",
"/usr/lib/libgeoengine.so.1",
"/usr/lib/libgio-2.0.so.0",
"/usr/lib/libGLESv2_r125.so",
"/usr/lib/libglslcompiler_r125.so",
"/usr/lib/libgmodule-2.0.so.0",
"/usr/lib/libgobject-2.0.so.0",
"/usr/lib/libgstbase-0.10.so.0",
"/usr/lib/libSignOnUI.so",
"/usr/lib/libgq-gconf.so.0",
"/usr/lib/qt4/plugins/imageformats/libqsvg.so",
"/usr/lib/libgstinterfaces-0.10.so.0",
"/usr/lib/libgstreamer-0.10.so.0",
"/usr/lib/libgstvideo-0.10.so.0",
"/usr/lib/libgthread-2.0.so.0",
"/usr/lib/libICE.so.6",
"/usr/lib/libicudata.so.44",
"/usr/lib/libicui18n.so.44",
"/usr/lib/libicuuc.so.44",
"/usr/lib/libgstbase-0.10.so.0",
"/usr/lib/qt4/plugins/imageformats/libqico.so",
"/usr/lib/libquill.so.1",
"/usr/lib/libidn.so.11",
"/usr/lib/libIMGegl_r125.so",
"/usr/lib/libiphb.so.0",
"/usr/lib/libjpeg.so.62",
"/usr/lib/liblocationextras.so.1",
"/usr/lib/liblocationpicker.so.0",
"/usr/lib/libmeegotouchcore.so.0",
"/usr/lib/libmeegotouchextensions.so.0",
"/usr/lib/libmeegotouchsettings.so.0",
"/usr/lib/libmeegotouchtheme-nokia-views.so.0",
"/usr/lib/libmeegotouchviews.so.0",
"/usr/lib/libmessagingif0.so.0",
//"/usr/lib/libmeegocontrol.so",
"/usr/lib/libcares.so.2",
"/usr/lib/qt4/plugins/imageformats/libqtiff.so",
"/usr/lib/libgstpbutils-0.10.so.0",
"/usr/lib/libambase.so",
"/usr/lib/qt4/plugins/imageformats/libamjpegplugin.so",
"/usr/lib/libcellular-qt.so.1",
"/usr/lib/libamjpeg.so",
"/usr/lib/libmoi.so.0",
"/usr/lib/libMOS.so.1",
"/usr/lib/libpackage-manager-dbus-qt.so.0",
"/usr/lib/libpng12.so.0",
"/usr/lib/libpulse.so.0",
"/usr/lib/libpvr2d_r125.so",
"/usr/lib/libpvrPVR2D_DRI2WSEGL_r125.so",
"/usr/lib/libqmlog.so.0",
"/usr/lib/libqmsystem.so.1",
"/usr/lib/libQtCore.so.4",
"/usr/lib/libQtDBus.so.4",
"/usr/lib/libQtDeclarative.so.4",
"/usr/lib/libQtGui.so.4",
"/usr/lib/libcurl.so.4",
"/usr/lib/libcommhistory.so.0",
"/usr/lib/libmessagingif0.so",
"/usr/lib/libgstvideo-0.10.so.0",
"/usr/lib/qt4/plugins/imageformats/libqgif.so",
"/usr/lib/libtiff.so.4",
"/usr/lib/libresource.so",
"/usr/lib/libgstreamer-0.10.so.0",
"/usr/lib/libQtLocation.so.1",
"/usr/lib/libQtMultimediaKit.so.1",
"/usr/lib/libQtNetwork.so.4",
"/usr/lib/libQtOpenGL.so.4",
"/usr/lib/libQtScript.so.4",
"/usr/lib/libQtScriptTools.so.4",
"/usr/lib/libQtServiceFramework.so.1",
"/usr/lib/libQtSql.so.4",
"/usr/lib/libQtSvg.so.4",
"/usr/lib/libQtTest.so.4",
"/usr/lib/libqttracker.so.1~6",
"/usr/lib/libQtWebKit.so.4",
"/usr/lib/libQtXmlPatterns.so.4",
"/usr/lib/libQtXml.so.4",
"/usr/lib/libexempi.so.3",
"/usr/lib/libquillimagefilter.so.1",
"/usr/lib/libexif.so.12",
"/usr/lib/libresourceqt.so.1",
"/usr/lib/libquillmetadata.so.1",
"/usr/lib/libquill.so.1",
"/usr/lib/libprofile.so.0",
"/usr/lib/libsaveas.so",
"/usr/lib/libsignoncrypto-qt.so.1",
"/usr/lib/libsignon-qt.so",
"/usr/lib/libmaemomeegotouchshareuiinterface.so.1",
"/usr/lib/libQtContacts.so.1",
"/usr/lib/libduicontrolpanel.so",
"/usr/lib/libaccounts-qt.so.1",
"/usr/lib/libdbus-qeventloop.so.1",
"/usr/lib/libaccounts-glib.so.0",
"/usr/lib/libsmartsearch.so",
"/usr/lib/libhal.so.1",
"/usr/lib/libcontentmanager.so.0",
"/usr/lib/librelevance.so.0",
"/usr/lib/libsensorclient.so.1",
"/usr/lib/libsensordatatypes.so.1",
"/usr/lib/libsmartsearch.so.0",
"/usr/lib/libSM.so.6",
"/usr/lib/libsndfile.so.1",
"/usr/lib/libsqlite3.so.0",
"/usr/lib/libsrv_um_r125.so",
"/usr/lib/libdsme.so.0.2.0",
"/usr/lib/libtimed.so.0",
"/usr/lib/libqmsystem2.so.1",
"/lib/libnss_files-2.10.1.so",
"/usr/lib/libsensordatatypes.so",
"/usr/lib/libsensorclient.so",
"/usr/lib/libdsme_dbus_if.so.0.2.0",
"/usr/lib/libqmlog.so.0",
"/lib/libuuid.so.1",
"/usr/lib/libiphb.so",
"/usr/lib/libthumbnailer.so.0",
"/usr/lib/libsysinfo.so.0",
"/usr/lib/libbmeipc.so.0",
"/usr/lib/libqttracker.so.1~6",
"/usr/lib/libjpeg.so.62",
"/usr/lib/libQtXmlPatterns.so.4",
"/usr/lib/libQtScript.so.4",
"/usr/lib/libssl.so.0.9.8",
"/usr/lib/libaegis_crypto.so.1",
"/usr/lib/libQtDeclarative.so.4",
"/usr/lib/libxml2.so.2",
"/lib/libcal.so.1",
"/usr/lib/libcontentaction.so.0",
"/usr/lib/libcrypto.so.0.9.8",
"/usr/lib/libbb5.so.0",
"/lib/libresolv-2.10.1.so",
"/usr/lib/libgio-2.0.so.0",
"/usr/lib/libQtSparql.so.0",
"/usr/lib/libsqlite3.so.0",
"/usr/lib/libQtSql.so.4",
"/usr/lib/libmeegotouchsettings.so.0",
"/usr/lib/libmeegotouchextensions.so.0",
"/usr/lib/qt4/plugins/inputmethods/libminputcontext.so",
"/usr/lib/qt4/plugins/inputmethods/libqimsw-multi.so",
"/lib/libudev.so.0",
"/usr/lib/libmeegotouchviews.so.0",
"/usr/lib/qt4/plugins/graphicssystems/libqmeegographicssystem.so",
"/usr/lib/libXrandr.so.2",
"/usr/lib/contextkit/subscriber-plugins/kbslider-1.so",
"/usr/lib/libXcomposite.so.1",
"/usr/lib/libGLESv2_r125.so",
"/usr/lib/libgconf-2.so.4",
"/usr/lib/libQtCore.so.4",
"/usr/lib/libdbus-glib-1.so.2",
"/usr/lib/libstdc++.so.6",
"/usr/lib/libsysinfo.so.0",
"/usr/lib/libthumbnailer.so.0",
"/usr/lib/libtimed.so.0",
"/usr/lib/libWrtDialogsProvider.so.1",
"/usr/lib/libWrtIpcClient.so.1",
"/usr/lib/libWrtRuntimeCore.so.1",
"/usr/lib/libWrtSecureStorage.so.1",
"/usr/lib/libWrtSecurityManager.so.1",
"/usr/lib/libWrtSettings.so.1",
"/usr/lib/libWrtWidgetCore.so.1",
"/usr/lib/libWrtWidgetUtils.so.1",
"/usr/lib/libXi.so.6",
"/lib/libpcre.so.3",
"/usr/lib/libQtSvg.so.4",
"/usr/lib/libicui18n.so.44",
"/usr/lib/libIMGegl_r125.so",
"/usr/lib/libdbus-1.so.3",
"/usr/lib/libmeegotouchcore.so.0",
"/usr/lib/libX11.so.6",
"/usr/lib/libXau.so.6",
"/usr/lib/libxcb.so.1",
"/usr/lib/libexpat.so.1",
"/usr/lib/libfontconfig.so.1",
"/usr/lib/libSM.so.6",
"/usr/lib/libICE.so.6",
"/usr/lib/libEGL_r125.so",
"/usr/lib/libXdamage.so.1",
"/usr/lib/libXdmcp.so.6",
"/usr/lib/libcontextsubscriber.so.0",
"/lib/libdl-2.10.1.so",
"/usr/lib/libXext.so.6",
"/lib/libpthread-2.10.1.so",
"/usr/lib/libXau.so.6",
"/usr/lib/libgobject-2.0.so.0",
"/usr/lib/libcdb.so.1",
"/usr/lib/libQtNetwork.so.4",
"/usr/lib/gconv/UTF-16.so",
"/usr/lib/libicudata.so.44",
"/usr/lib/libQtMeeGoGraphicsSystemHelper.so.4",
"/usr/lib/libQtGui.so.4",
"/usr/lib/libQtOpenGL.so.4",
"/usr/lib/libQtXml.so.4",
"/usr/lib/libQtDBus.so.4",
"/usr/lib/libXfixes.so.3",
"/usr/lib/libXi.so.6",
"/usr/lib/libxml2.so.2",
"/usr/lib/libXrandr.so.2",
"/usr/lib/libXrender.so.1",
"/usr/lib/libz.so.1",
"/usr/lib/libxcb.so.1",
"/lib/libm-2.10.1.so",
"/usr/lib/libgmodule-2.0.so.0",
"/usr/lib/libsrv_um_r125.so",
"/usr/lib/libpng12.so.0",
"/usr/lib/libfreetype.so.6",
"/usr/lib/libgthread-2.0.so.0",
"/lib/libglib-2.0.so.0",
"/usr/lib/libXrender.so.1",
"/usr/lib/libicuuc.so.44",
"/lib/librt-2.10.1.so",
"/usr/bin/single-instance"
};

@ -1,74 +1,74 @@
# Sub build: Meego/TestScripts
add_subdirectory(Meego/TestScripts)
# Sub build: meego/testscripts
add_subdirectory(meego/testscripts)
# Sub build: Meego/art-tests
add_subdirectory(Meego/art-tests)
# Sub build: meego/art-tests
add_subdirectory(meego/art-tests)
# Sub build: Meego/bug-tests
add_subdirectory(Meego/bug-tests)
# Sub build: meego/bug-tests
add_subdirectory(meego/bug-tests)
# Sub build: Meego/functests
add_subdirectory(Meego/functests)
# Sub build: meego/functests
add_subdirectory(meego/functests)
# Sub build: Meego/perftests
add_subdirectory(Meego/perftests)
# Sub build: meego/perftests
add_subdirectory(meego/perftests)
# Sub build: Harmattan/TestApps/creds
add_subdirectory(Harmattan/TestApps/creds)
# Sub build: harmattan/testapps/creds
add_subdirectory(harmattan/testapps/creds)
# Sub build: Harmattan/TestScripts
add_subdirectory(Harmattan/TestScripts)
# Sub build: harmattan/testscripts
add_subdirectory(harmattan/testscripts)
# Sub build: Harmattan/art-tests
add_subdirectory(Harmattan/art-tests)
# Sub build: harmattan/art-tests
add_subdirectory(harmattan/art-tests)
# Sub build: Harmattan/red-tests
add_subdirectory(Harmattan/red-tests)
# Sub build: harmattan/red-tests
add_subdirectory(harmattan/red-tests)
# Sub build: Harmattan/functests
add_subdirectory(Harmattan/functests)
# Sub build: harmattan/functests
add_subdirectory(harmattan/functests)
# Sub build: Harmattan/perftests/qml
add_subdirectory(Harmattan/perftests/qml)
# Sub build: harmattan/perftests/qml
add_subdirectory(harmattan/perftests/qml)
# Sub build: Harmattan/perftests/qml
add_subdirectory(Harmattan/perftests/lmt)
# Sub build: harmattan/perftests/qml
add_subdirectory(harmattan/perftests/lmt)
# Sub build: Harmattan/perftests/qml
add_subdirectory(Harmattan/perftests/reference)
# Sub build: harmattan/perftests/qml
add_subdirectory(harmattan/perftests/reference)
# Sub build: Common/unittests
add_subdirectory(Common/unittests)
# Sub build: common/unittests
add_subdirectory(common/unittests)
# Sub build: Common/TestApps/fala_status
add_subdirectory(Common/TestApps/fala_status)
# Sub build: common/testapps/fala_status
add_subdirectory(common/testapps/fala_status)
# Sub build: Common/TestApps/testapp
add_subdirectory(Common/TestApps/testapp)
# Sub build: common/testapps/testapp
add_subdirectory(common/testapps/testapp)
# Sub build: Common/TestApps/themetest
add_subdirectory(Common/TestApps/themetest)
# Sub build: common/testapps/themetest
add_subdirectory(common/testapps/themetest)
# Sub build: Common/TestApps/fala_gettime
add_subdirectory(Common/TestApps/fala_gettime)
# Sub build: common/testapps/fala_gettime
add_subdirectory(common/testapps/fala_gettime)
# Sub build: Common/TestApps/fala_gettime_ms
add_subdirectory(Common/TestApps/fala_gettime_ms)
# Sub build: common/testapps/fala_gettime_ms
add_subdirectory(common/testapps/fala_gettime_ms)
# Sub build: Common/TestApps/fala_multi-instance
add_subdirectory(Common/TestApps/fala_multi-instance)
# Sub build: common/testapps/fala_multi-instance
add_subdirectory(common/testapps/fala_multi-instance)
# Sub build: Common/TestApps/helloworld
add_subdirectory(Common/TestApps/helloworld)
# Sub build: common/testapps/helloworld
add_subdirectory(common/testapps/helloworld)
# Sub build: Common/TestApps/pixelchanged
add_subdirectory(Common/TestApps/pixelchanged)
# Sub build: common/testapps/pixelchanged
add_subdirectory(common/testapps/pixelchanged)
# Sub build: Common/TestApps/fala_windowid
add_subdirectory(Common/TestApps/fala_windowid)
# Sub build: common/testapps/fala_windowid
add_subdirectory(common/testapps/fala_windowid)
# Sub build: Common/TestApps/xsendevent
add_subdirectory(Common/TestApps/xsendevent)
# Sub build: common/testapps/xsendevent
add_subdirectory(common/testapps/xsendevent)
# Sub build: Common/TestApps/fala_qml_helloworld
add_subdirectory(Common/TestApps/fala_qml_helloworld)
# Sub build: common/testapps/fala_qml_helloworld
add_subdirectory(common/testapps/fala_qml_helloworld)

@ -1,219 +0,0 @@
<?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-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_correct_creds" type="Functional" description="Test that launched applications get correct credentials when they provide Aegis files" 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_correct_creds</step>
</case>
<!--case name="applauncherd__test_application_specific_theming" type="Functional" description="Application specific theming tests" timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_theming.rb name test_application_specific_theming</step>
</case>
<case name="applauncherd__test_global_theming" type="Functional" description="Tests that global theming changes affect launched applications" timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_theming.rb name test_global_theming</step>
</case-->
<!--case name="applauncherd__test_oom_adj_zero" type="Functional" description="Test that oom.adj is 0 for launched application process" 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_oom_adj_zero</step>
</case-->
<case name="applauncherd__test_oom_adj_minus_one" type="Functional" description="Test that oom.adj is -1 for launched application process when using invokers -o parameter" 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_oom_adj_minus_one</step>
</case>
<case name="applauncherd__test_launched_app_name" type="Functional" description="Test that launched application name have .launch at the end" timeout="460" 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_launched_app_name</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-->
<case name="applauncherd__test_invoker_param_creds" type="Functional" description="test invoker --creds" 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_invoker_param_creds</step>
</case>
<case name="applauncherd__test_invoker_param_respawn_delay" type="Functional" description="test invoker --respawn" 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_invoker_param_respawn_delay</step>
</case>
<case name="applauncherd__test_invoker_bogus_apptype" type="Functional" description="test giving bogus apptype 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-func-launcher.py test_invoker_bogus_apptype</step>
</case>
<!--case name="applauncherd__test_launch_prestarted_app" type="Functional" description="To test that prestarted application is launched" timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/ts_prestartapp.rb dash-dash-name test_launch_prestarted_app</step>
</case-->
<case name="applauncherd__test_core_dump" type="Functional" description="Test that core dumps are generated with boosted applications" 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-core-dump.py test_core_dumps</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
<!-- Single Instance Tests (without invoker) -->
<set name="TC_SingleInstance_No_Invoker" description="functional tests for single instance without invoker" 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_single_instance_window_raise_wo_invoker" type="Functional" description="Test basic single instance functionality and window raising" 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-single-instance.py test_single_instance_window_raise_without_invoker</step>
</case>
<case name="applauncherd__test_single_instance_and_non_single_instance_wo_invoker" type="Functional" description="Test that there's multiple instances when starting app w/o single-instance" 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-single-instance.py test_single_instance_and_non_single_instance_without_invoker</step>
</case>
<case name="applauncherd__test_single_instance_stress_test_wo_invoker" type="Functional" description="Try starting apps fast with single-instance" 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-single-instance.py test_single_instance_stress_test_without_invoker</step>
</case>
<case name="applauncherd__test_single_instance_abnormal_lock_release_wo_invoker" type="Functional" description="Try starting an app, killing it and starting it again checking that the pid has changed" 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-single-instance.py test_single_instance_abnormal_lock_release_without_invoker</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
<!-- Single Instance Tests (with invoker) -->
<set name="TC_SingleInstance_Invoker" description="functional tests for single instance with invoker" 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_single_instance_window_raise_w_invoker" type="Functional" description="Test basic single instance functionality and window raising" 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-single-instance.py test_single_instance_window_raise_with_invoker</step>
</case>
<case name="applauncherd__test_single_instance_and_non_single_instance_w_invoker" type="Functional" description="Test that there's multiple instances when starting app w/o single-instance" 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-single-instance.py test_single_instance_and_non_single_instance_with_invoker</step>
</case>
<case name="applauncherd__test_single_instance_stress_test_w_invoker" type="Functional" description="Try starting apps fast with single-instance" 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-single-instance.py test_single_instance_stress_test_with_invoker</step>
</case>
<case name="applauncherd__test_single_instance_abnormal_lock_release_w_invoker" type="Functional" description="Try starting an app, killing it and starting it again checking that the pid has changed" 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-single-instance.py test_single_instance_abnormal_lock_release_with_invoker</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
<!-- Test for qml booster -->
<set name="TC_Qml_Booster" description="functional tests for qml boosters" 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_zombie_state_qml" type="Functional" description="To test that no Zombie process exist after the application is killed" 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_zombie_state_qml</step>
</case>
<case name="applauncherd__test_launch_multiple_apps_qml" type="Functional" description="To test that more than one applications are launched by the launcher" 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_launch_multiple_apps_qml</step>
</case>
<case name="applauncherd__test_one_instance_qml" type="Functional" description="To test that only one instance of a application exist" 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_one_instance_qml</step>
</case>
<case name="applauncherd__test_launch_multiple_apps_cont_qml" type="Functional" description="To test that more than one applications are launched by the launcher" 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_launch_multiple_apps_cont_qml</step>
</case>
<case name="applauncherd__test_wait_term_qml" type="Functional" description="When calling invoker with --wait-term and killing invoker,the launched application should die too." 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_wait_term_qml</step>
</case>
<case name="applauncherd__test_fd_booster_d" type="Functional" description="File descriptor test for booster-d" 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_fd_booster_d</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
<!-- Test for e booster -->
<set name="TC_e_Booster" description="functional tests for qml boosters" 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_zombie_state_e" type="Functional" description="To test that no Zombie process exist after the application is killed" 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_zombie_state_e</step>
</case>
<case name="applauncherd__test_launch_multiple_apps_e" type="Functional" description="To test that more than one applications are launched by the launcher" 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_launch_multiple_apps_e</step>
</case>
<case name="applauncherd__test_one_instance_e" type="Functional" description="To test that only one instance of a application exist" 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_one_instance_e</step>
</case>
<case name="applauncherd__test_launch_multiple_apps_cont_e" type="Functional" description="To test that more than one applications are launched by the launcher" 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_launch_multiple_apps_cont_e</step>
</case>
<case name="applauncherd__test_wait_term_e" type="Functional" description="When calling invoker with --wait-term and killing invoker,the launched application should die too." 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_wait_term_e</step>
</case>
<case name="applauncherd__test_fd_booster_e" type="Functional" description="File descriptor test for booster-d" 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_fd_booster_e</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
<set name="TC_Splash" description="functional tests for splash" 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_splash" type="Functional" description="To test --splash functionality" timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_splash.rb --name test_splash</step>
</case>
<case name="applauncherd__test_splash_landscape" type="Functional" description="To test --splash-landscape functionality" timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_splash.rb --name test_splash_landscape</step>
</case>
<case name="applauncherd__test_no_splash" type="Functional" description="To test splash parameters is not reset " timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_splash.rb --name test_no_splash</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
</suite>
</testdefinition>

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

@ -5,8 +5,6 @@
<!-- Schema: https://projects.maemo.org/docs/testing/xml-definition.html -->
<suite name="applauncherd-functional-tests" domain="Application framework">
<set name="TC_Launcher" description="Launcher functional tests" feature="AF Basic Launcher daemon support" requirement="300168">
<pre_steps>
<step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step>
@ -170,6 +168,135 @@
<-get>
</get>
</set-->
<!-- Single Instance Tests (without invoker) -->
<set name="TC_SingleInstance_No_Invoker" description="functional tests for single instance without invoker" 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_single_instance_window_raise_wo_invoker" type="Functional" description="Test basic single instance functionality and window raising" 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-single-instance.py test_single_instance_window_raise_without_invoker</step>
</case>
<case name="applauncherd__test_single_instance_and_non_single_instance_wo_invoker" type="Functional" description="Test that there's multiple instances when starting app w/o single-instance" 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-single-instance.py test_single_instance_and_non_single_instance_without_invoker</step>
</case>
<case name="applauncherd__test_single_instance_stress_test_wo_invoker" type="Functional" description="Try starting apps fast with single-instance" 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-single-instance.py test_single_instance_stress_test_without_invoker</step>
</case>
<case name="applauncherd__test_single_instance_abnormal_lock_release_wo_invoker" type="Functional" description="Try starting an app, killing it and starting it again checking that the pid has changed" 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-single-instance.py test_single_instance_abnormal_lock_release_without_invoker</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
<!-- Single Instance Tests (with invoker) -->
<set name="TC_SingleInstance_Invoker" description="functional tests for single instance with invoker" 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_single_instance_window_raise_w_invoker" type="Functional" description="Test basic single instance functionality and window raising" 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-single-instance.py test_single_instance_window_raise_with_invoker</step>
</case>
<case name="applauncherd__test_single_instance_and_non_single_instance_w_invoker" type="Functional" description="Test that there's multiple instances when starting app w/o single-instance" 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-single-instance.py test_single_instance_and_non_single_instance_with_invoker</step>
</case>
<case name="applauncherd__test_single_instance_stress_test_w_invoker" type="Functional" description="Try starting apps fast with single-instance" 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-single-instance.py test_single_instance_stress_test_with_invoker</step>
</case>
<case name="applauncherd__test_single_instance_abnormal_lock_release_w_invoker" type="Functional" description="Try starting an app, killing it and starting it again checking that the pid has changed" 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-single-instance.py test_single_instance_abnormal_lock_release_with_invoker</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
<!-- Test for qml booster -->
<set name="TC_Qml_Booster" description="functional tests for qml boosters" 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_zombie_state_qml" type="Functional" description="To test that no Zombie process exist after the application is killed" 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_zombie_state_qml</step>
</case>
<case name="applauncherd__test_launch_multiple_apps_qml" type="Functional" description="To test that more than one applications are launched by the launcher" 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_launch_multiple_apps_qml</step>
</case>
<case name="applauncherd__test_one_instance_qml" type="Functional" description="To test that only one instance of a application exist" 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_one_instance_qml</step>
</case>
<case name="applauncherd__test_launch_multiple_apps_cont_qml" type="Functional" description="To test that more than one applications are launched by the launcher" 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_launch_multiple_apps_cont_qml</step>
</case>
<case name="applauncherd__test_wait_term_qml" type="Functional" description="When calling invoker with --wait-term and killing invoker,the launched application should die too." 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_wait_term_qml</step>
</case>
<case name="applauncherd__test_fd_booster_d" type="Functional" description="File descriptor test for booster-d" 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_fd_booster_d</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
<!-- Test for e booster -->
<set name="TC_e_Booster" description="functional tests for qml boosters" 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_zombie_state_e" type="Functional" description="To test that no Zombie process exist after the application is killed" 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_zombie_state_e</step>
</case>
<case name="applauncherd__test_launch_multiple_apps_e" type="Functional" description="To test that more than one applications are launched by the launcher" 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_launch_multiple_apps_e</step>
</case>
<case name="applauncherd__test_one_instance_e" type="Functional" description="To test that only one instance of a application exist" 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_one_instance_e</step>
</case>
<case name="applauncherd__test_launch_multiple_apps_cont_e" type="Functional" description="To test that more than one applications are launched by the launcher" 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_launch_multiple_apps_cont_e</step>
</case>
<case name="applauncherd__test_wait_term_e" type="Functional" description="When calling invoker with --wait-term and killing invoker,the launched application should die too." 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_wait_term_e</step>
</case>
<case name="applauncherd__test_fd_booster_e" type="Functional" description="File descriptor test for booster-d" 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_fd_booster_e</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
</suite>
</testdefinition>

@ -29,14 +29,14 @@
</get>
</set>
<!--
<set name="test-applicationGrid" description="Application startup time from application grid" feature="AF DUI Booster for Launcher daemon" requirement="300195">
<pre_steps>
<step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step>
</pre_steps>
<case name="Perf-Test-Grid-launcher" type="Performance" description="Measure startup time of the application using launcher" timeout="840" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/test-perf.rb name test_performance dash-dash- -a fala_wl -b "fala_wl" -s 750 -t 50 -w 10 -f "/tmp/fala_wl.log" &gt; /tmp/perf_grid_with_launcher.txt</step>
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/test-perf.rb name test_performance -- -a fala_wl -b "fala_wl" -s 750 -t 50 -w 10 -f "/tmp/fala_wl.log" &gt; /tmp/perf_grid_with_launcher.txt</step>
</case>
<post_steps>
@ -55,7 +55,7 @@
</get>
</set>
-->
</suite>
</testdefinition>

@ -29,22 +29,22 @@
</get>
</set>
<!--
<set name="test-applicationGrid" description="Application startup time from application grid" feature="AF DUI Booster for Launcher daemon" requirement="300195">
<pre_steps>
<step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step>
</pre_steps>
<case name="Perf-Test-Grid-QML-launcher" type="Performance" description="Measure startup time of the QML application using launcher" timeout="840" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/test-perf.rb name test_performance dash-dash- -a fala_qml_wl -b fala_qml_wl -s 750 -f "/tmp/fala_qml_wl.log" &gt; /tmp/perf_grid_qml_with_launcher.txt</step>
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/test-perf.rb name test_performance -- -a fala_qml_wl -b fala_qml_wl -s 750 -f "/tmp/fala_qml_wl.log" &gt; /tmp/perf_grid_qml_with_launcher.txt</step>
</case>
<post_steps>
<step>cp /tmp/fala_qml_wl.log /tmp/grid_fala_qml_wl.log</step>
</post_steps>
-->
<!-- /QML -->
<!--
<environments>
<scratchbox>false</scratchbox>
<hardware>true</hardware>
@ -56,7 +56,7 @@
</get>
</set>
-->
</suite>
</testdefinition>

@ -37,27 +37,27 @@
</get>
</set>
<!--
<set name="test-applicationGrid" description="Application startup time from application grid" feature="AF DUI Booster for Launcher daemon" requirement="300195">
<pre_steps>
<step>/usr/bin/waitloadavg.rb -l 1.0 -p 1.0 -t 120</step>
</pre_steps>
<case name="Perf-Test-Grid-plain" type="Performance" description="Measure startup time of the application without launcher" timeout="840" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/test-perf.rb name test_performance dash-dash- -a fala_wol -b "fala_wol" -f "/tmp/fala_wol.log" &gt; /tmp/perf_grid_without_launcher.txt</step>
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/test-perf.rb name test_performance -- -a fala_wol -b "fala_wol" -f "/tmp/fala_wol.log" &gt; /tmp/perf_grid_without_launcher.txt</step>
</case>
<case name="Perf-Test-Grid-QML-plain" type="Performance" description="Measure startup time of the qml application without launcher" timeout="840" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/test-perf.rb name test_performance dash-dash- -a fala_qml_wol -b fala_qml_wol -f "/tmp/fala_qml_wol.log" &gt; /tmp/perf_grid_qml_without_launcher.txt</step>
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/test-perf.rb name test_performance -- -a fala_qml_wol -b fala_qml_wol -f "/tmp/fala_qml_wol.log" &gt; /tmp/perf_grid_qml_without_launcher.txt</step>
</case>
<post_steps>
<step>cp /tmp/fala_wol.log /tmp/grid_fala_wol.log</step>
<step>cp /tmp/fala_qml_wol.log /tmp/grid_fala_qml_wol.log</step>
</post_steps>
-->
<!-- /QML -->
<!--
<environments>
<scratchbox>false</scratchbox>
<hardware>true</hardware>
@ -71,7 +71,7 @@
</get>
</set>
-->
</suite>
</testdefinition>

@ -0,0 +1,92 @@
<?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-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_correct_creds" type="Functional" description="Test that launched applications get correct credentials when they provide Aegis files" 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_correct_creds</step>
</case>
<!--case name="applauncherd__test_application_specific_theming" type="Functional" description="Application specific theming tests" timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_theming.rb name test_application_specific_theming</step>
</case>
<case name="applauncherd__test_global_theming" type="Functional" description="Tests that global theming changes affect launched applications" timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_theming.rb name test_global_theming</step>
</case-->
<!--case name="applauncherd__test_oom_adj_zero" type="Functional" description="Test that oom.adj is 0 for launched application process" 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_oom_adj_zero</step>
</case-->
<case name="applauncherd__test_oom_adj_minus_one" type="Functional" description="Test that oom.adj is -1 for launched application process when using invokers -o parameter" 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_oom_adj_minus_one</step>
</case>
<case name="applauncherd__test_launched_app_name" type="Functional" description="Test that launched application name have .launch at the end" timeout="460" 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_launched_app_name</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-->
<case name="applauncherd__test_invoker_param_creds" type="Functional" description="test invoker --creds" 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_invoker_param_creds</step>
</case>
<case name="applauncherd__test_invoker_param_respawn_delay" type="Functional" description="test invoker --respawn" 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_invoker_param_respawn_delay</step>
</case>
<case name="applauncherd__test_invoker_bogus_apptype" type="Functional" description="test giving bogus apptype 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-func-launcher.py test_invoker_bogus_apptype</step>
</case>
<!--case name="applauncherd__test_launch_prestarted_app" type="Functional" description="To test that prestarted application is launched" timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/ts_prestartapp.rb dash-dash-name test_launch_prestarted_app</step>
</case-->
<case name="applauncherd__test_core_dump" type="Functional" description="Test that core dumps are generated with boosted applications" 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-core-dump.py test_core_dumps</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
<set name="TC_Splash" description="functional tests for splash" 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_splash" type="Functional" description="To test --splash functionality" timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_splash.rb --name test_splash</step>
</case>
<case name="applauncherd__test_splash_landscape" type="Functional" description="To test --splash-landscape functionality" timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_splash.rb --name test_splash_landscape</step>
</case>
<case name="applauncherd__test_no_splash" type="Functional" description="To test splash parameters is not reset " timeout="360" level="System" insignificant="true">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 /usr/share/applauncherd-testscripts/tc_splash.rb --name test_no_splash</step>
</case>
<environments>
<scratchbox>true</scratchbox>
<hardware>true</hardware>
</environments>
</set>
</suite>
</testdefinition>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save