summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* QGV: fix items not to be selected on right mouse button releaseJ-P Nurmi2013-05-151-0/+28
| | | | | | | | Task-number: QTBUG-30990 Change-Id: Iaf2dd7ed496625097daa05d5dc92ef5957574ee9 (Cherry-picked from qtbase/0b862e067756132225e33be09670631edd50d944) Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
* test: Mark tst_qinputdialog as insignificant only on Mac OS XSergio Ahumada2013-05-151-1/+1
| | | | | | | | | | This test has been passing lately for Linux and Windows. Task-number: QTBUG-31101 Change-Id: Iccb8169dc513df7c0c34cd15d21d11e59cb44f11 Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* Widgets: avoid integer divide by zero in QProgressDialogLiang Qi2013-05-151-0/+18
| | | | | | | | | | | Autotest is included. Task-number: QTBUG-31046 Change-Id: Ief7d71b58e7a5416f3659f19445e5d729849b3b6 (cherry picked from commit 69c05bbef47fb9d30d70e594bd5942add8b135fe) Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Liang Qi <liang.qi@digia.com>
* test: Mark tst_qsharedpointer as insignificant only on Mac OS XSergio Ahumada2013-05-121-1/+1
| | | | | | | | This test has been passing lately for Linux and Windows. Task-number: QTBUG-31100 Change-Id: I925accd0637250ba8e7a0173c51a2171b4e960b3 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* test: Remove insignificant_test from tst_qaudioinputSergio Ahumada2013-05-111-2/+0
| | | | | | | | This test is now passing on all CI platforms. Change-Id: I51df22c00d4e13a0b83230bc25e1b810ed183539 Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Mark tst_qgraphicsscene as insignificant only on Embedded (QWS)Sergio Ahumada2013-05-111-1/+1
| | | | | | | | This test has been passing lately for Linux, Windows and Mac OS X. Change-Id: I994fe4c69c3520fe1eabf2d92224c8dd040ba3d9 Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Remove insignificant_test from tst_qdbusmarshallSergio Ahumada2013-05-111-2/+0
| | | | | | | | | This test is now passing on all CI platforms. Change-Id: I19f1b4bd4969bf9e396d696a273d214af16ebd9a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Remove insignificant_test from tst_qgraphicsanchorlayoutSergio Ahumada2013-05-111-2/+0
| | | | | | | | This test is now passing on all CI platforms. Change-Id: Idd094cdbc2a21f3e5840366f8f47b9a187331023 Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Mark tst_qgraphicsanchorlayout1 as insignificant only on Mac OS XSergio Ahumada2013-05-111-1/+1
| | | | | | | | | This test has been passing lately for Linux and Windows. Task-number: QTQAINFRA-574 Change-Id: I6f21bf40d93adc8e359cf9fa0feea7fd4140736e Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Mark tst_qgraphicswidget as insignificant only on Mac OS XSergio Ahumada2013-05-111-1/+1
| | | | | | | | | This test has been passing lately for Linux and Windows. Task-number: QTQAINFRA-574 Change-Id: Ie658d90cbc9eb2b68a963b1f1de06ca37f44047e Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Mark tst_qinputcontext as insignificant only on Mac OS XSergio Ahumada2013-05-111-1/+1
| | | | | | | | | This test has been passing lately for Linux and Windows. Task-number: QTQAINFRA-574 Change-Id: Ib1d44ce284e3d0dcfa539376928cb41516a2059a Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Remove insignificant_test from tst_qitemdelegateSergio Ahumada2013-05-111-2/+0
| | | | | | | | This test is now passing on all CI platforms. Change-Id: I06b659a750dcc76858287eb8336aa5228298d6e5 Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Remove insignificant_test from tst_qmacstyleSergio Ahumada2013-05-111-2/+0
| | | | | | | | This test is now passing on all CI platforms. Change-Id: I421a7f541e24f1f1ebad8a68cc599bbdd38a767a Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Mark tst_qpainter as insignificant only on Mac OS XSergio Ahumada2013-05-111-1/+1
| | | | | | | | | This test has been passing lately for Linux and Windows. Task-number: QTQAINFRA-574 Change-Id: I7b92c105bfa4fc00c92a00d4d731cabc878bb073 Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Remove insignificant_test from tst_qscriptextensionpluginSergio Ahumada2013-05-111-2/+0
| | | | | | | | This test is now passing on all CI platforms. Change-Id: Icd24090b782738c3ab2635d41560eaf0d6b7ba1a Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Mark tst_qsettings as insignificant only on WindowsSergio Ahumada2013-05-111-1/+1
| | | | | | | | This test has been passing lately for Linux and Mac. Task-number: QTQAINFRA-574 Change-Id: I9dfc0c5b79a019e70fba04502050b35997384928 Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Mark tst_qstylesheetstyle as insignificant only on Mac OS XSergio Ahumada2013-05-111-1/+1
| | | | | | | | This test has been passing lately for Linux and Windows. Task-number: QTQAINFRA-574 Change-Id: I7a3001381df805c9424b694197a92b467d69c1bc Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* Fix jump and property changes on first move when dragging a Flickable.Andrew den Exter2013-05-112-2/+8
| | | | | | | | | | | | | | | Fixes a regression whereby on the first mouse move the contentItem was moved the total distance from the touch point to where the drag distance was exceeded. For large drag thresholds this causes a noticeable jump. Task-number: QTBUG-30032 (cherry picked from qtquick1 3a80424aeae19e838be03aa12a5243911ec3f020) Change-Id: I92c119d27dc2e22203484f9ada5978697d171957 Reviewed-by: Martin Jones <martin.jones@jollamobile.com> Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
* test: Remove insignificant_test from tst_qsslsocket_onDemandCertificates_memberSergio Ahumada2013-05-081-2/+0
| | | | | | | | | This test is now passing on all CI platforms. Change-Id: I526a92a2bd94fff03b58f63df0119db0d124ba18 Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Mark tst_qtableview as insignificant only on WindowsSergio Ahumada2013-05-081-1/+1
| | | | | | | | This test has been passing lately for Linux and Mac. Task-number: QTQAINFRA-574 Change-Id: I4e1a95d66596b29a926a92dae325fd2fbb114d81 Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Remove insignificant_test from tst_qtimelineSergio Ahumada2013-05-081-2/+0
| | | | | | | | This test is now passing on all CI platforms. Task-number: QTQAINFRA-574 Change-Id: I6a536c7c4c33817544bff1d933d6f4a05f1631c2 Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Mark tst_qwizard as insignificant on Windows and Mac OS XSergio Ahumada2013-05-081-1/+1
| | | | | | | This test has been passing lately on Linux. Change-Id: I3c7e5cf4214899a65f4eccd15a0fd49e822675d8 Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Mark tst_xmlpatterns as insignificant only on WindowsSergio Ahumada2013-05-081-1/+1
| | | | | | | | This test has been passing lately for Linux and Mac. Task-number: QTQAINFRA-574 Change-Id: I507a6b4220a3e3ded7bcfed2aded1e15bf53958a Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* test: Remove insignificant_test from tst_qlocalsocketSergio Ahumada2013-05-081-2/+0
| | | | | | | | This test is now passing on all CI platform Change-Id: Ib16a0e1e914ae85271f751f66bdece7e4ec851b6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Simo Fält <simo.falt@digia.com>
* test: Mark tst_qsocketnotifier as insignificant only on Mac OS XSergio Ahumada2013-05-081-1/+1
| | | | | | | | | This test has been passing lately for Linux and Windows. Task-number: QTQAINFRA-574 Change-Id: Ic4d96c3645d6d10227ad1ce957f27a2079e9b834 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Simo Fält <simo.falt@digia.com>
* test: Remove insignificant_test from tst_qsocks5socketengineSergio Ahumada2013-05-081-2/+0
| | | | | | | | This test is now passing on all CI platforms. Change-Id: I0d669849e0b17f42e78c1864ea3ba9f070560093 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Simo Fält <simo.falt@digia.com>
* test: Mark tst_qtcpserver as insignificant only on WindowsSergio Ahumada2013-05-081-1/+1
| | | | | | | | | This test has been passing lately for Linux and Mac. Task-number: QTQAINFRA-574 Change-Id: I5c4cbea784af6e879ccd6a02aaf77f9debad594f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Simo Fält <simo.falt@digia.com>
* test: Remove useless insignificant_test mark tst_qudpsocketSergio Ahumada2013-05-081-2/+0
| | | | | | | | The mark is actually in qudpsocket/test/test.pro Change-Id: I4b4d9843b5643e15d988ceabfb9abca4f8cf77a2 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Simo Fält <simo.falt@digia.com>
* test: Remove insignificant_test from tst_qsslsocket_onDemandCertificates_staticSergio Ahumada2013-05-081-2/+0
| | | | | | | | This test is now passing on all CI platforms. Change-Id: Ia3f4e9dd863e04758e1c794f29142e4417d044d2 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Simo Fält <simo.falt@digia.com>
* test: Remove useless insignificant_test markSergio Ahumada2013-05-081-2/+0
| | | | | | | | The mark is actually in qnetworkreply/test/test.pro Change-Id: I391c3863b6a98f485b8e6b585f346bf06820999e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Simo Fält <simo.falt@digia.com>
* test: Remove insignificant_test from tst_qhttpnetworkconnectionSergio Ahumada2013-05-081-2/+0
| | | | | | | | | This test is now passing on all CI platforms. Task-number: QTQAINFRA-574 Change-Id: I8a08beef2f9876d88b7b903cda445ec5decce706 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Simo Fält <simo.falt@digia.com>
* test: Mark tst_qnetworksession as insignificant only on WindowsSergio Ahumada2013-05-081-1/+1
| | | | | | | | | This test has been passing lately for Linux and Mac. Task-number: QTQAINFRA-574 Change-Id: I6ed79e9bf166a17226b3196a90b47a3fd48912b2 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Simo Fält <simo.falt@digia.com>
* Make QContiguousCache with zero capacity not crashThiago Macieira2013-05-071-0/+21
| | | | | | | | | | | These containers don't make sense and will just result in no action being taken (all items added will simply be discarded), but it shouldn't crash due to a division by zero. Task-number: QTBUG-27339 Change-Id: Ib9acf5c0a9a826e6853e7beaf5e56511fde98dc6 (cherry-picked from qt5 commit 320c4e31e124f99601399d00935362b587c77510) Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Don't bypass overwritten [set]data() methods in the proxy.Volker Krause2013-05-061-0/+26
| | | | | | | | | | | By calling itemData() of the source model directly, the result cannot contain data provided by the proxy model itself. The base class implementation however will call data() on the proxy instead. Cherry-picked from qtbase/96e3c2bcbfedc8b5cb8fc099229a02a1fa335c21. Change-Id: I7e8b65ab045382089c577d9832edc1555b71419e Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* QLocale: Add fr_MA localeEl Mehdi Fekari2013-05-031-0/+1
| | | | | | | | French_Morocco locale was introduced in CLDRv22.1 and already exists in Qt5 Change-Id: I4f0452f421cf074eb2c4fae22351d430d5f02e42 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix QPluginLoader-test.Friedemann Kleint2013-04-293-56/+98
| | | | | | | | | | | | | Set correct working directory on Windows, do not create app-bundle on Mac. Changing numbering of garbage libraries to 1..5. use test data and and check for 'real' error message as well as plugin cache message. Set a fixed target for the test plugin, omitting debug suffixes on Mac and Windows. Change-Id: Ia2bf826d117ec346915de4cb24b16f8b6d61d579 Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Fixed QLayout::addChildLayout(QLayout *l) when l had a parentJan Arve Saether2013-04-251-0/+21
| | | | | | | | | | | | Previously if l had a parent, addChildLayout would warn and skip the reparenting, but it would still add the sub layout to the layout. This caused some inconsistencies in the hierarchy which in worst case could cause crashes. Task-number: QTBUG-30758 (cherry-picked from qtbase commit 146658a10f290603470b800d71b778239e764312) Change-Id: Iee6ace3189620395d7670007a23783823ed616b9 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* ODBC: fixed consistence of return of QODBCResult::exec()Israel Lins2013-04-241-0/+4
| | | | | | | | | | | | The QODBCResult::exec() returns false when query is an delete with no data do delete caused by SQLExecute function returning SQL_NO_DATA, but the false return means error on execution. Task-number: QTBUG-10569 Change-Id: I6c7ebadcf62ab404b60c7bcccdab6a10bf16a923 Reviewed-by: Mark Brand <mabrand@mabrand.nl> (cherry-picked from qtbase commit 0646d1131b4bc65cdd9af29f4ce00fdd2398a3df) Reviewed-by: Andy Shaw <andy.shaw@digia.com>
* ODBC: fix loss of milliseconds when binding QDateTimeIsrael Lins2013-04-241-3/+8
| | | | | | | | | | | | Caused by operator precedence error. Follow-up to commit b8b79a0f37ec74fd5b4ad829e522a384ba3622ae Task-number: QTBUG-2192 Change-Id: I17decd18c469b48a0bc938ae05c16cced8042219 Reviewed-by: Mark Brand <mabrand@mabrand.nl> (cherry-picked from qtbase commit 36b6d4afc970a328cced87af3d39b70d327eb3ad) Reviewed-by: Andy Shaw <andy.shaw@digia.com>
* SSL internals: do not write after shutting down the socketPeter Hartmann2013-04-241-1/+2
| | | | | | | | | | ... but rather throw an error, so the HTTP layer can recover from a SSL shutdown gracefully. In case the other side sent us a shutdown, we tried to send one as well, which results in an error. (backport of commit e145b67fbd54f147dab0f8e460280a9c8533aa7b) Change-Id: I57291a5363cb0f6585dbd6aaa521c748766a1fdf Reviewed-by: Richard J. Moore <rich@kde.org>
* Fix for Sql query aliases with dotsMarko Kangas2013-04-231-0/+39
| | | | | | | | | | | Task-number: QTBUG-14904 Cherry-picked Qt5 change: 18be0749eb58316036d6eaff9dc5fecc1379f31a Change-Id: I81edd9df68cfde15900315978dc3742ca6e22df5 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Mark Brand <mabrand@mabrand.nl>
* Fix QTableView::doItemsLayout()J-P Nurmi2013-04-231-0/+34
| | | | | | | | | | | | Keep the content aligned to the bottom when the view has been scrolled to the bottom and the content is relayouted (for example due to sorting). Task-number: QTBUG-30653 (cherry-picked from qtbase commit 00b11ccdead05d77589d4ec5ebb3b376c6ae2ca1) Change-Id: I183145fbd84339e82d2d1d0bc39cea33d9cc9734 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
* Fixed invalid memory read in SSSE3 image blending code.Samuel Rodal2013-04-221-0/+20
| | | | | | | | | | | We need to do bounds comparison on the actual offset we're going to use with _mm_load_si128 to read 16 bytes from memory (even though we won't use the trailing bytes in the end). Task-number: QTBUG-28324 (cherry-picked from qtbase commit 52619ae7787b3c4febb73a02afa623b12edabc97) Change-Id: I705ae191312e5ffe25e45caea71ada73ec97f68d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Fixed potential access violation in QPixmap::copy() for <32 bit pixmaps.Samuel Rødal2013-04-221-0/+10
| | | | | | | | | | | | | QImage is supposed to maintain the invariant that each scan-line begins on a 4-byte boundary, so we need to verify that this is the case before using the optimized path of short-cutting QImage::copy() by referencing the source image's bits directly. Task-number: QTBUG-14766 Change-Id: I0a178aeb2f34cc64f98deae9470b55b5c53fcb06 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com> (cherry picked from commit 711773776ed324efce7f1ed227104da9c7e21e05) Reviewed-by: aavit <eirik.aavitsland@digia.com>
* Fixed a bug where the MaximumSizeHint of a layout with spans was wrongJan Arve Saether2013-04-051-5/+5
| | | | | | | | | | | | | | This was spotted while tracking down a similar bug related to spans. This now also eliminates the Q_EXPECT_FAILs in heightForWidthWithSpanning(), since it now finally works. The problem was only for the maximum size, since the size of an ignored row/column was min: 0, pref: 0, max: FLT_MAX (the default constructed values for a QGridLayoutBox). Change-Id: Ibb33c26ede40ed02edd26f596ba6133d59c9962f Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com> (cherry picked from qtbase/9d7ae6dfbe25fb70a362a4cf955c187cd24cb007)
* Fixed a bug where spans across empty cells got broken.Jan Arve Saether2013-04-041-0/+28
| | | | | | | | | | | | | | | | If a row/column is only used only because of the spanning of an item, the cell should be treated as it didn't exist. We keep track of this with the "ignore" bit array. The old code would always start from the row/column at position 1. In the attached testcase this made the effectiveRowSpan become larger than actually needed. Task-number: QTBUG-30255 Change-Id: Ief0e7018ee8e5ee36272ce075a43312ffeac7b91 (cherry picked from qtbase/f9e43c526a30ae3912adfe3d5cb781af5ddda4b0) Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Fixed some declarative auto testsBernd Weimer2013-03-283-49/+49
| | | | | | | This is a backport from qt5/qtquick1 (commit aad8f0b) Change-Id: Ia3eacce5ccd50827526203a9992ddef81a9f0c41 Reviewed-by: Alan Alpert <aalpert@blackberry.com>
* QMdi: Don't emit subWindowActivated during StyleChange handling.David Faure2013-03-281-0/+34
| | | | | | | | | | | | | | | The handling of StyleChange de-maximizes the child window temporarily, which was emitting subWindowActivated. This would crash lokalize, because deactivating a window means deleting the widgets associated with it, and style-change handling is done in QApplication by looping over QApplication::allWidgets, which would then contain dangling pointers. Full valgrind log at https://bugs.kde.org/show_bug.cgi?id=271494#c7 Change-Id: I256da214bf00fd7925dcee67b4f0414e57fc453b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> (cherry picked from qtbase/a6e5ccbe223c5a606e15556e8708e863442d9f72)
* Fixed artifacts when drawing same line with different clips.Samuel Rødal2013-03-201-11/+47
| | | | | | | | | | | Expanding on the change fixing QTBUG-24762 with the realization that any line needs to be drawn in a consistent way regardless of system or painter clip, not just dashed lines. Task-number: QTBUG-25036 Change-Id: Ief7ef19cc92c52e7d792500a581a072ba032767e Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com> (cherry picked from commit c7191d3e214b9cdb17ec383b61f7e21e784f80d0)
* Fixed bug in QTimeLine::setPaused(false)Jan Arve Saether2013-03-201-0/+23
| | | | | | | | | | | | | The problem was that the elapsed timer was not restarted, causing the currentTime() not being adjusted for the time it was paused. (cherry-picked from Qt 5: 75614792fa2370b6b0402117bf) Task-number: QTBUG-30108 Change-Id: I9718aa408075623514717328321c34e7ab3af436 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>