summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtipc
Commit message (Collapse)AuthorAgeFilesLines
* Change all shmget calls to user-only memoryThiago Macieira2013-01-181-1/+1
| | | | | | | | | Drop the read and write permissions for group and other users in the system. Change-Id: I8fc753f09126651af3fb82df3049050f0b14e876 (cherry-picked from Qt 5 commit 856f209fb63ae336bfb389a12d2a75fa886dc1c5) Reviewed-by: Richard J. Moore <rich@kde.org>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-139-9/+9
| | | | | | Change-Id: I52bf8ef0447b701b4ebf7d7d240013a72adb9425 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Mark qsharedmemory insignificant since it is flaky.Janne Anttila2012-10-301-1/+1
| | | | | | | To be resolved after 4.8 CI is passing. Change-Id: Ic3def05f5cd538c19affea1dcec1f20df6cc1e3b Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-299-216/+216
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I280c0a575987d1770e354b4948f1d4d767d711ea Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Update contact information in license headers.Sergio Ahumada2012-08-019-18/+18
| | | | | | | | | | | | | - Replace Nokia contact email address with Qt Project website. - Remove "All rights reserved" line from license headers. As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: Ie7ba62011752fcb149b99b26317c54f2a0cfa931 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* tests: Mark unstable test as insignificant on WindowsSergio Ahumada2012-03-301-0/+2
| | | | | | | | | | | | Marked the following tests insignificant due to failures, these need to be fixed later and then re-enabled: tst_qhttpnetworkconnection tst_qsharedmemory Task-number: QTQAINFRA-428 Change-Id: I9b4d5490291799c63ff07cb8bc676c37989a7c6b Reviewed-by: Jyri Tahtela <jyri.tahtela@nokia.com>
* test: Improved stability of tst_qsharedmemorySergio Ahumada2012-02-281-2/+2
| | | | | | | Significantly increase waitForFinished() timeouts. Change-Id: I498408c756f2b46bf3870f40703e7c2f0d4ec9b5 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update year in Nokia copyright messages.Jason McDonald2012-01-119-9/+9
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* tests: eliminated usage of qttest_p4.prf [part 2]Sergio Ahumada2011-12-293-18/+16
| | | | | | | | | | qttest_p4.prf was added as a convenience for Qt's own autotests in Qt4. It enables various crufty undocumented magic, of dubious value. Stop using it, and explicitly enable the things from it which we want. Change-Id: I8a0bed9161ea9ac010ef3269f2e9baed7bbc2f41 Reviewed-by: Rohan McGovern Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
* tests: make tests compile or disable those which don't compileSergio Ahumada2011-12-072-1/+7
| | | | | | | | | These changes are mostly a backport from qtbase and a fix to those tests that are dependent on private APIs. Change-Id: I6e647583d7aaddf525d719c3b61f59a0c9aedf74 Reviewed-by: Rohan McGovern Reviewed-by: Friedemann Kleint
* Doc: Fixing typoSergio Ahumada2011-06-301-1/+1
|
* Merge remote-tracking branch 'qt/4.8'Jyri Tahtela2011-05-182-2/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/src/examples/wheel.qdoc src/gui/util/qflickgesture.cpp src/gui/util/qflickgesture_p.h src/gui/util/qscroller.cpp src/gui/util/qscroller.h src/gui/util/qscroller_p.h src/gui/util/qscrollerproperties.cpp src/gui/util/qscrollerproperties.h tests/auto/qscroller/tst_qscroller.cpp
| * Remove Q_ASSERT's from qsharedmemory autotestJason McDonald2011-05-112-2/+4
| | | | | | | | | | | | | | | | Report a fatal error rather than ignoring the error in non-debug builds. Change-Id: Ib6ef993e6e0c65bd9adea994ea7b454cc147f3d4 Task-number: QTBUG-17582 Reviewed-by: Rohan McGovern
* | Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-139-153/+153
|/ | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Merge remote branch 'origin/4.7' into qt-master-from-4.7Olivier Goffart2011-01-251-1/+4
|\ | | | | | | | | | | Conflicts: configure src/network/bearer/bearer.pri
| * make the test a bit stricterRitt Konstantin2011-01-211-0/+2
| | | | | | | | | | | | | | don't say we passed the test if we didn't Merge-request: 1018 Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
| * ignore the warning from auto-detach in destructorRitt Konstantin2011-01-211-1/+2
| | | | | | | | | | | | | | we locked shm few line ago and didn't unlock it, so we expecting for this warning Merge-request: 1018 Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
* | Merge remote branch 'origin/4.7' into qt-master-from-4.7Olivier Goffart2011-01-1710-15/+18
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/webkit/imageanalyzer/imageanalyzer.h examples/webkit/imageanalyzer/mainwindow.h mkspecs/unsupported/qws/linux-x86-openkode-g++/qplatformdefs.h src/corelib/io/qfsfileengine_iterator_unix.cpp src/corelib/io/qfsfileengine_iterator_win.cpp src/corelib/kernel/qcoreapplication.cpp src/network/access/qnetworkaccessdatabackend.cpp src/plugins/bearer/connman/qconnmanservice_linux.cpp src/plugins/platforms/openvglite/qwindowsurface_vglite.h src/s60installs/bwins/QtCoreu.def src/s60installs/eabi/QtCoreu.def src/s60installs/s60installs.pro tools/assistant/tools/assistant/helpviewer_qwv.h tools/qdoc3/test/qt-html-templates.qdocconf
| * Fix QSharedMemory and QSystemSemaphore autotests for SymbianMiikka Heikkinen2011-01-132-6/+9
| | | | | | | | Reviewed-by: Janne Koskinen
| * Update copyright year to 2011.Jason McDonald2011-01-109-9/+9
| | | | | | | | Reviewed-by: Trust Me
* | Symbian shared memory could not be distinguished by numeric keymread2010-10-221-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a problem where QSharedMemory objects on Symbian could not be distinguished by numeric keys, or keys that differed in any non-alpha way. This is fixed by using the same native key generation system as on other platforms, where a SHA1 hash of the original key is appended to a version of the key with all non-alpha characters stripped. Task-number: QT-3712 Reviewed-by: Shane Kearns
* | Align .pro with qmake: s/\.sources/.files/.Miikka Heikkinen2010-10-082-5/+5
| | | | | | | | | | | | | | | | | | | | Complement previous commit by aligning Qt itself to use .files consistently for DEPLOYMENT as well as INSTALLS. This excludes changes to webkit. Task-number: QTBUG-3216 Reviewed-by: axis
* | Merge remote branch 'origin/4.7' into qt-master-from-4.7Thiago Macieira2010-07-011-1/+1
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: bin/syncqt src/gui/text/qtextlayout.cpp tools/assistant/tools/assistant/helpviewer_qwv.cpp tools/assistant/tools/assistant/helpviewer_qwv.h tools/configure/configureapp.cpp
| * Various fixes to autotests when using the symbian/linux-armcc mkspec.axis2010-06-291-1/+1
| |
| * Make test work with shadow builds again.Andreas Aardal Hanssen2010-05-261-4/+4
| | | | | | | | | | | | | | | | Broken by 0cdf33e9acb00b8f3654e8268253a3fb7c5db92c, which assumes the binary and sources are in the same directory. The fix reverts the code back to how it was in 4.5 (where it still works with shadow builds). Reviewed-by: Denis Dzyubenko
* | Added native key support to QSharedMemory API.Mirko Damiani2010-05-261-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Methods setNativeKey() and nativeKey() were added to QSharedMemory API. Shared memory's native key is returned by nativeKey() and it is set with either setKey() or setNativeKey(). setKey() leads to a native key that is platform independent while setNativeKey() directly sets the native key without any mangling. When using setNativeKey(), key() returns a null string and shared memory's system semaphore is not set. This means that is up to the user to define a such protection mechanism (i.e. lock() can't be used on native keys). QSharedMemory tests were updated. Merge-request: 1497 Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
* | Make test work with shadow builds again.Andreas Aardal Hanssen2010-05-261-4/+4
|/ | | | | | | | Broken by 0cdf33e9acb00b8f3654e8268253a3fb7c5db92c, which assumes the binary and sources are in the same directory. The fix reverts the code back to how it was in 4.5 (where it still works with shadow builds). Reviewed-by: Denis Dzyubenko
* tst_QSystemSemaphore::processes fixed for WinCEJoerg Bornemann2010-04-211-0/+13
| | | | | | | We can't start the same executable twice on Windows CE. This tests creates copies of lackey.exe now. Reviewed-by: mauricek
* tst_qsystemsemaphore: fix deployment of lackey.exe for WinCEJoerg Bornemann2010-04-212-13/+16
| | | | | | Bonus: typo fixed. Reviewed-by: mauricek
* tst_qsharedmemory: create multiple instances of lackey.exe on WinCEJoerg Bornemann2010-04-211-0/+12
| | | | | | | We can't start multiple instances of an executable on Windows CE. To work around, this test now creates several copies of lackey.exe Reviewed-by: mauricek
* tst_qsharedmemory: fix deployment of lackey.exe for WinCEJoerg Bornemann2010-04-212-4/+4
| | | | Reviewed-by: mauricek
* fix compilation of tst_sharedmemory on Windows CEJoerg Bornemann2010-04-211-1/+1
| | | | Reviewed-by: mauricek
* Fixed compile of shm/sem tests with vcproj generator.Rohan McGovern2010-02-1727-0/+2889
SUBDIRS+=../path/to/lackey from two different places means that qmake sees the lackey project twice. This breaks the vcproj generator. Make it so that lackey is only referred to once.