268 Commits (a91b7a9f5c414ad5f012f856a4208b65042dd6de)

Author SHA1 Message Date
Nimika Keshri 11dac1e489 Changes: applauncherd restarted in perf test
RevBy: Juha Lintula
15 years ago
Nimika Keshri c350cfa520 Changes: Broken tests Fixed
RevBy: Antti Kervinen
Details: 1. Test launch_wo_applauncherd fixed. Now the applications cannot be launched
            if applauncherd is not running.
         2. One of the unit test is started as user.
15 years ago
Oskari Timperi 01f127ba9d Changes: fix test_correct_creds
RevBy: TrustMe
15 years ago
Oskari Timperi 2ee68892f2 Changes: add a method to security tests that reads tokens application should have from /sys
RevBy: Antti Kervinen
15 years ago
Oskari Timperi eec18c8847 Changes: included single instance tests with invoker in bug tests
RevBy: TrustMe
15 years ago
Oskari Timperi 6669cb1241 Changes: include single instance tests without invoker in bug tests
RevBy: Nimika Keshri
15 years ago
Oskari Timperi 89789eed41 Changes: Refactored single instance tests so that they can be used with invoker
RevBy: Pertti Kellomäki
15 years ago
Oskari Timperi cadc1e6b9a Changes: modified single instance tests so that they can be used with invoker
RevBy: Juha Lintula
15 years ago
Oskari Timperi 2f3b82fb42 New: single-instance tests (without invoker)
RevBy: Juha Lintula
15 years ago
Juha Lintula 0b74f94152 Changes: Test application xsendevent modified and test application fala_multi-hello added
RevBy: Antti Kervinen

Details: Added support for parameter "iconify" to xsendevent which puts the application window to
task switcher. fala_multi-hello is boostable test application which is possible to start
as a multiple instances.
15 years ago
Jussi Lind 0ff715fb64 Fixes: NB#212024 - Application launcher should be usable (improve performance) also at boot
RevBy: Antti Kervinen

Details:
--boot-mode starts applauncherd in the boot mode:
* Boosters won't initialize cache
* Booster respawn delay is zero

Sending SIGUSR1 forces the launcher to enter the normal mode again.
15 years ago
Olli Leppanen c65d8a6332 Changes:Corrected error on test-perf-mbooster.py
RevBy:TrusMe
15 years ago
Olli Leppanen 883481d7a7 Changes:Commented out the single-instance test case skeletons
RevBy:TrustMe
15 years ago
Antti Kervinen 0d74c5c35d Fixes: NB#217662 - applauncherd depends on WRT
Changes: Library preloading warnings not printed unless --debug is given.

RevBy: Jussi Lind
15 years ago
Olli Leppanen 74f4265329 Changes:Single instance test skeletons added
RevBy:Juha Lintula
15 years ago
Alexey Shilov 05abf64ae3 Merge remote branch 'origin/master' 15 years ago
Alexey Shilov 3d94bcf6d9 Changes: remove QObject as base class for Booster
RevBy: Jussi Lind
15 years ago
Olli Leppanen ed86371ce3 Changes:Removed README file of test application
RevBy:TrustMe
15 years ago
Jussi Lind 1d459029c2 Changes: Booster::renameProcess() refactored.
RevBy: Antti Kervinen

Details: New arguments copied as a contiguous, NULL-separated block. Unit tests refactored.
15 years ago
Nimika Keshri 059e582cf0 Changes: Increased timeout for the failing test
RevBy: TrustMe
15 years ago
Nimika Keshri 2139da4de0 Changes: theme tests removed. Also fixed some tests failures.
RevBy: TrustMe
15 years ago
Nimika Keshri 2682546821 Changes: Failing tests modified
RevBy: Antti Kervinen
Descrition: Stress test now waits for the queue of applications to be 0
            Search path test now uses delay
15 years ago
Nimika Keshri 8ef73be92d Changes: Test Application xsesndevent added. Launch prestarted app modified
RevBy: Olli Leppanen
15 years ago
Juha Lintula 7d65a7de19 Changes: single-instance support, invoker bad exit status removed, check file added
RevBy: Jussi Lind, Juha Lintula
15 years ago
Oskari Timperi 4c795aac1f Changes: Add a sleep to test_launch_wo_applauncherd so that boosters can rename themselves
RevBy: Nimika Keshri
15 years ago
Oskari Timperi b5339dd16f Changes: add invoker param tests to tests.xml
RevBy: TrustMe
15 years ago
Oskari Timperi 1653cce4f6 Changes: Add tests for invokers --creds, --respawn and --type parameters
RevBy: Nimika Keshri
15 years ago
Nimika Keshri cd10f31e43 Changes: New tests Added
RevBy: Antti Kervinen, Olli Leppanen
Description: 1. Stress test for launched application
             2. Launched application name have .launch at the end
             3. oom.adj is 0 for launched application process
15 years ago
Nimika Keshri 0f33b8ca67 Changes: Fixing no-aegis test failure
RevBy: Olli Leppanen
15 years ago
Nimika Keshri 1a280533e3 Changes: theme-change test removed.
RevBy: Jussi Lind
15 years ago
Olli Leppanen 29d959bf36 Changes:Added the stop of sysuid to the startup time from grid tests.
RevBy:TrustMe
15 years ago
Nimika Keshri 7477c88d34 Changes: creds test failure fixed
RevBy: Olli Leppanen
15 years ago
Jussi Lind 4a0d5de729 Changes: Boosters loaded as plugins.
Details: Boosters are in separate dirs under src/ and are compiled/loaded as plugins.
15 years ago
Nimika Keshri bbaa974f51 Changes:New test added that checks that booster pid is acquired by application started using booster
RevBy: Olli Leppanen
15 years ago
Nimika Keshri a901b154ef Changes: Test modifactions done.
RevBy: Juha Lintula
Description: Harmonize test case names and descriptions in tests.xml.
             Stable tests moved to functioanl tests and marked as insignificant as false
15 years ago
Olli Leppanen 9258944a92 Changes:Changed wait time between button press and release
from 100ms to 200ms in pixelchanged.

RevBy:TrusMe
15 years ago
Nimika Keshri 319b9d9af3 Changes: Code refactoring done for tests. Debugs added
RevBy: TrustMe
15 years ago
Oskari Timperi c0ecfcb7fa Changes: performance test uses pixelchanged with two tracked pixels
RevBy: Olli Leppänen
15 years ago
Oskari Timperi 0e73119b56 Changes: Add possibility to track 2 pixels at a time to pixelchanged
and increase the delay between mouse press and release to 100ms

RevBy: Olli Leppänen
15 years ago
Olli Leppanen 34e0c5099e Changes:Put the 600 ms timelimit into commandline launching
startup time test.

RevBy:TrusMe
15 years ago
Olli Leppanen ee305be5ca Changes:Removed XMapRaised call from pixelchanged to prevent
windowstack failures.

RevBy:Antti Kervinen
15 years ago
Olli Leppanen 0cfab350bf Changes:Added the meegotouch home restart into startup time test
script.

RevBy: TrustMe
15 years ago
Olli Leppanen d194a3c77d Changes:Increased the timeout of startup time tests from grid
RevBy:TrusMe
15 years ago
Olli Leppanen c20c54fb4d Changes: Added a workaround to startup time tests to prevent
windowstack failures when starting test application from
application grid.

RevBy:TrusMe
15 years ago
Jussi Lind a05e7ddaa0 Changes: Some useless X11 modules removed from fala_windowid's CMakeLists.txt
RevBy: TrustMe
15 years ago
Olli Leppanen 18fe457de4 Changes:Added the meegotouchhome restart into teardown
function of the perf-test.rb

RevBy:TrustMe
15 years ago
Olli Leppanen 592db9a0bf Changes:Polishing which daemons are stopped at the start of
the startup time tests.

RevBy:TrustMe
15 years ago
Olli Leppanen f7366a300e Changes:Corrected perf tests to raise meegotouch to the top of the
screen home after launching the test application.

RevBy:TrustMe
15 years ago
Olli Leppanen 484069c528 Changes:Removed the useless Matti calls when executing
startup time tests from command line

RevBy:TrusMe
15 years ago
Olli Leppanen b5a0735213 Changes: Added windowid binary to be used in startup time tests.
Changed the order of startup time tests from tests.xml

RevBy:TrustMe
15 years ago
Nimika Keshri 5a3c35c7b9 Changes: CMakeList.txt for tests/Harmattan modified. Files are now installed based on the build env
RevBy: TrsutMe
15 years ago
Olli Leppanen 6078a8171d Changes: Added the check that launcher can be found to perf tests
RevBy:TrustMe
15 years ago
Jussi Lind 5c63c83aac Changes: pixelchanged can raise a window with -r.
RevBy: Antti Kervinen
15 years ago
Olli Leppanen 6f129a052c Changes: Changed again component names in meegotouchhome in test scripts
RevBy:TrustMe
15 years ago
Olli Leppanen 7d1db2d264 Merge branch 'master' of git@gitorious.org:meegotouch/meegotouch-applauncherd 15 years ago
Olli Leppanen 1f6e88aae1 Changes: Corrected component names to startup tests in meegotouch home
RevBy:Antti Kervinen
15 years ago
Jussi Lind 2c9ce7fc94 Merge branch 'master', remote branch 'origin' 15 years ago
Jussi Lind f34a9aa9ec Changes: Test apps use the default C-flags defined in the top-level CMakeLists.txt. 15 years ago
Olli Leppanen 0384faaf1b Merge branch 'master' of git@gitorious.org:meegotouch/meegotouch-applauncherd
Conflicts:
	tests/Harmattan/perftests/tests.xml
15 years ago
Olli Leppanen 64a8aa8cb6 Changes: Changed to use xkill isntead of pkill in perf tests
RevBy:Juha Lintula
15 years ago
Nimika Keshri d558532411 Changes: test scripts in Meego fixed so that some of the failing tests pass
RevBy: TrustMe
15 years ago
Nimika Keshri 06cb102bd0 Changes: Few modifications made in tests for Harmattan
RevBy: TrustMe
Description: timeout for tests increased in tests.xml
applauncherd-usage test removed
booster-killer test renamed test_theme_change_booster_restart
15 years ago
Olli Leppanen 0008569ff8 Changes: Corrected the typo from performance test scripts
RevBy:Juha Lintula
15 years ago
Olli Leppanen fe5d753d95 Changes: Polished the startup time performance tests
RevBy:Juha Lintula
15 years ago
Olli Leppanen 302cbc8da7 Changes: Improved the perf tests by checking the system load before start
RevBy:TrustMe
15 years ago
Jussi Lind 7768e742a2 Changes: Fixed crash of booster-m and booster-w / non-quitting booster-m caused by erroneous handling of SIGHUP.
No more QThread warnings related to QSocketNotifier. Removed SIGHUP handler from main.cpp
         (Set in mbooster.cpp and wrtbooster.cpp. Default behavior is always exit() anyway).

RevBy: TrustMe
15 years ago
Nimika Keshri 92fceb00d2 Changes: Removing static linking from testapps fala_gettime and fala_gettime_ms
RevBy: Antti Kervinen
15 years ago
Jussi Lind 27762f316d Changes: Access Booster::m_connection and Booster::m_appData through setter/getter in derived classes.
RevBy: TrustMe
15 years ago
Jussi Lind 70219408d4 Changes:
- License plates added to some test apps.
- fala_gettime.cpp => fala_gettime.c, fala_gettime_ms.cpp => fala_gettime_ms.c.
- Default C-flags added to top-level CMakeLists.

RevBy: TrustMe
15 years ago
Jussi Lind 1de4b4567a Changes: pixelchanged test: use pkg-config for x11, xtst and xi. C flags set correctly. Warnings fixed.
RevBy: TrustMe
15 years ago
Olli Leppanen 35128d4df1 Changes:Modified test-perf-rb to support command line starting and
parameters.

RevBy:TrustMe
15 years ago
Alexey Shilov 0c9adf06e2 Changes: get rid of monitor booster 15 years ago
Nimika Keshri 868745821b Changes: New test added that checks that boosters get killed when applauncherd is stooped
RevBy: TrustMe
15 years ago
Nimika Keshri e6f297a561 Changes: Tests separated in different dir for Meego and Harmattan
RevBy: TrustMe
15 years ago
Olli Leppanen 077c2b3c54 Changes: Added pixelchanged test application into package. Enabled
"application startup time from application grid" -test case

RevBy:Juha Lintula
15 years ago
Jussi Lind c263e56c42 Changes: Basic implementation of library-based launcher. 15 years ago
Olli Leppanen 667b5100d5 Changes:Modified application grid performance test to use pixelchanged
method.

RevBy:TrustMe
15 years ago
Oskari Timperi 386227a966 Changes: Add test_invoker_search_prog to tests.xml
RevBy: Antti Kervinen
15 years ago
Oskari Timperi d9bcd7b9c8 Changes: Add a test for invoker searching PATH for programs
RevBy: Antti Kervinen
15 years ago
Nimika Keshri 68a216dd51 Changes: Tests fixed as the default --wait-term made them fail.
RevBy: Antti Kervinen
15 years ago
Oskari Timperi 37bb30d95e Changes: Added the new security test to tests.xml 15 years ago
Oskari Timperi ae8f570dc1 Changes: Test case testing that invoker specific credentials are no passed to launched app 15 years ago
Oskari Timperi 63db1beabc Merge commit 'origin/master' into my-master 15 years ago
Oskari Timperi 665079f4b8 Changes: Fixed security test 5
Details: There were real bugs in the test case (e.g. in sorting).
         Modified the test to use methods from utils.py.
15 years ago
Oskari Timperi 5259cc2925 Changes: Fixed security test 4
Details: Now invoker is run as a user and the case when applauncherd
         is not running is handled gracefully. Also modified the test
         to use methods from utils.py.
15 years ago
Oskari Timperi 596c3ead97 Changes: Wrote helpers and made security tests 1 & 2 very strict about credentials 15 years ago
Nimika Keshri 0351938653 Changes: Insignificant tests removed
RevBy: TrustMe
15 years ago
Nimika Keshri b189475ad6 Changes: duihome renamed to mthome and meegotouchhome as required
RevBy:TrustMe
15 years ago
Oskari Timperi 21f0310479 Changes: Modified performance scripts to not die when duihome is renamed to meegotouchhome 15 years ago
Nimika Keshri 39405e3533 Changes: Refactored the performance test to use xresponse for startup times
RevBy: TrustMe
15 years ago
Pertti Kellomäki 5f640a58af Changes: Link fala_gettime statically and get rid of redundant
meegotouch libraries linked with it. Reduces startup time
         considerably.
15 years ago
Alexey Shilov 864c5beca0 Changes: add event loop to m-booster 15 years ago
Oskari Timperi a470856edf Changes: refactored testcase to test daemonized applauncherd 15 years ago
Oskari Timperi 2b9d3940a8 Changes: A small fix to file descriptor test
Details: Now the pgrep-line doesn't include booster-monitors
         pid in the command when querying fd's for booster-m.
15 years ago
Oskari Timperi 3147e5c5b7 Changes: Fixed a typo in theming test 15 years ago
Nimika Keshri 64904c9d17 Changes: mcetool command modified in perf-test
RevBy: TrustMe
15 years ago
Oskari Timperi e00824171e Changes: Made theming tests to run apps as user 15 years ago
Nimika Keshri 3e124f3f2e Changes: Stoping sysuid in performance test script to unlock the device.
RevBy: TrustMe
15 years ago
Oskari Timperi 035c2d898a Changes: Fixed a failing testcase 15 years ago
Oskari Timperi c543fb336e Changes: fixed a test utility function to get groups user belongs to 15 years ago
Oskari Timperi 44299f9bf3 Changes: Fixed testcase signal-forwarding 15 years ago
Oskari Timperi 8c97ee82b8 Changes: Fixed testcase invoker-wait-term 15 years ago
Jussi Lind 98758a08f7 Changes: acceptConn() => accept(), closeConn() => close(), socket pool is cleared on closeAllSockets(). 15 years ago
Oskari Timperi acb19d9c65 Changes: Misc. fixes to test scripts 15 years ago
Oskari Timperi de45230d72 Changes: New util functions to testscripts, fixed one test to run as user 15 years ago
Jussi Lind 07207ee76a Changes: Connection unit tests refactored, test mode added to
Connection, comments added / improved.

Details: Avoid creating useless sockets in the unit tests by using a
         dedicated test mode.
15 years ago
Nimika Keshri e58092b95c Changes: New functional test for booster-killer added
RevBy: TrustMe
15 years ago
Alexey Shilov e17bf0c380 Changes: update unit tests for booster factory 15 years ago
Alexey Shilov abe1df3fff Changes: merge with master 15 years ago
Jussi Lind 933faa51ad Changes: Temporary booster process name defined and initialized in
booster classes as a static variable. Getters added.

RevBy: Antti Kervinen

Details: Temporary booster process name was previously generated from
the type char at the time process was renamed. This made it impossible
to use the temporary process name from other classes.
15 years ago
Nimika Keshri 4f8880ac0f Changes: performance test refactored. 15 years ago
Jussi Lind e78012ffdb New: Unit test for getBoosterPidForType() added to ut_boosterfactory 15 years ago
Nimika Keshri 77de29cbff Changes: Signal forwarding tests added for q-booster and w-booster
RevBy: TrustMe
15 years ago
Antti Kervinen 3b6e0ff5e2 Changes: ut_daemon and ut_connection compile and pass now with boosterkiller 15 years ago
Nimika Keshri d8a62ab449 Changes: Stopping applifed in the prestart-launcherd test to prevent forced killing of applications
RevBy: TrustMe
15 years ago
Oskari Timperi 03c2e05a49 Changes: Moved security related tests to test-security.py 15 years ago
Oskari Timperi 5b57a3febe Changes: Moved some helper methods out from test-func-launcher to utils 15 years ago
Nimika Keshri 42e567d4ca Changes: ruby1.8 changed to ruby in the tests scripts
RevBy: TrustMe
15 years ago
Oskari Timperi 912a2fa8f1 Merge commit 'origin/master' into my-master 15 years ago
Oskari Timperi 3229b27500 New: more tests for security, see NB#183566, NB#187583 15 years ago
Oskari Timperi 7ac867ab77 Changes: More changes to credential handling in the test script 15 years ago
Jussi Lind 70868075a8 New: Unit tests for BoosterFactory added. 15 years ago
Oskari Timperi 08a6880376 Changes: Changed socket names in a test script 15 years ago
Oskari Timperi f25c3ac00e Changes: Small changes in test script to get credentials 15 years ago
Jussi Lind 2f50113e02 Merge branch 'master' into my-master 15 years ago
Jussi Lind 1437337fb7 Changes: New unit tests added to ut_mbooster. 15 years ago
Jussi Lind 97120632e9 New: Unit tests for WRTBooster added. Cleaned up tests/unittests/tests.xml.
Details: Removed duplicated entries in tests.xml, presteps removed since they didn't have any effect.
15 years ago
Nimika Keshri fc80023a9b Changes: minor code changes done in the tests
RevBy: TrustMe
15 years ago
Nimika Keshri f9f176b6ea Changes: Performance test modified to calculate startup time with wrt-booster
RevBy: TrustMe
15 years ago
Jussi Lind d3a6eec634 Changes: Double check for mcomponentcache.h removed.
Details: tests/ and src/launcher/ both checked for mcomponentcache.h. Both checks moved to the root CMakeLists.txt.
15 years ago
Jussi Lind 8b60efebe9 Merge branch 'master' into my-wrtbooster
Conflicts:
	src/launcher/daemon.cpp
	src/launcher/mbooster.h
	src/launcher/qtbooster.h
15 years ago
Nimika Keshri f34c7215af Changes: Adding some debugs in performance test and adding the test to a new test set
RevBy: TrustMe
15 years ago
Jussi Lind f360de70f4 Changes: BoosterFactory added, refactoring of Daemon. 15 years ago
Nimika Keshri 0bb7b2d39e Changes: Adding the results file to tests.xml for performance test
RevBy: TrustMe
15 years ago
Nimika Keshri da20938025 Changes: New Performance test added
RevBy: TrustMe
15 years ago
Nimika Keshri b2f8e0fd8d Changes: Test Application modifed for performance test.
RevBy: TrustMe
15 years ago
Antti Kervinen 97bd274cf7 New: wrtbooster basic implementation added 15 years ago
Nimika Keshri e28e3db132 Changes: Test for invoker can launch applications even without applauncherd
RevBy: TrustMe
15 years ago
Nimika Keshri dd68e8af23 Changes: Signal-forwarding tests added
RevBy: TrustMe
15 years ago
Alexey Shilov a9f688e276 Changes: signals forwarding update 15 years ago
Jussi Lind 470a364373 Changes: PROG_NAME separated into PROG_NAME_LAUNCHER and PROG_NAME_INVOKER. One compiler warning due to signed to unsigned comparison fixed. 15 years ago
Nimika Keshri bd66afb9a2 Changes: New test to check that invoker passes uid and gid to launcher
RevBy: TrustMe
15 years ago
Nimika Keshri 8ddc08cf30 Changes: Test and test application added to check that invoker returns the exit status of application
RevBy: TrustMe
15 years ago
Oskari Timperi 974fe65927 Changes: Replaced references to Matti with TDriver 15 years ago
Nimika Keshri e85397078d Changes: New test added to test that boosters are restarted if they are killed
RevBy: TrustMe
15 years ago
Oskari Timperi b971d62efd Changes: Segfault cmdline parameter for helloworld test app 15 years ago
Oskari Timperi 0e74260b7e Changes: Fixed a typo in test_005 15 years ago
Oskari Timperi d0d73ed0bb Changes: Fixed test_005 to kill the launched app even in case of failure 15 years ago
Oskari Timperi 74235e12cc Changes: Fixed test_004 to kill apps even on failure 15 years ago
Oskari Timperi cdf545c1d1 Changes: Use try-except with os.wait() in get_pid() 15 years ago