summaryrefslogtreecommitdiffstats
path: root/tests/auto
Commit message (Collapse)AuthorAgeFilesLines
...
| * tests: disabled failing qsharedmemory, qsystemsemaphore testsRohan McGovern2011-08-181-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `lackey' helper app was disabled by ccd5228a9380fbfa308a57365e4075f90010da00, but the tests which depend on it weren't disabled - so, of course, they fail. None of these tests will work until the circular dependency is fixed (the tests are in qtbase and they depend on qtscript which depends on qtbase). Change-Id: I8e41b4182f5ea57a71ec810a30a21ba1c7217db3 Reviewed-on: http://codereview.qt.nokia.com/3122 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: fixed failure of tst_qhostinfoRohan McGovern2011-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing an async exit of the test event loop is unsafe - it means that a call to exitLoop may be left pending from one testfunction, causing future testfunctions to fail. This in fact was happening for the multipleDifferentLookups testfunction, which was running the event loop for two milliseconds at a time until a certain amount of lookups was done. It was common for the loop to timeout after the lookup had completed but before the async exitLoop had been processed. Make it simple, do a synchronous exitLoop. Change-Id: I2ffe6989bddc091ddd42b218a75f7a8ff160cf53 Reviewed-on: http://codereview.qt.nokia.com/3124 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: marked tst_macgui as insignificantRohan McGovern2011-08-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | This autotest sometimes passes and sometimes fails, making its result insignificant for the purpose of detecting regressions. Task-number: QTBUG-20984 Change-Id: I1454649384b60501be0bec238dfb18cfc85d5f54 Reviewed-on: http://codereview.qt.nokia.com/3129 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: mark tst_qcombobox as expected failure for qpaRohan McGovern2011-08-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | This test fails on qpa because it uses QCursor::setPos, which is unimplemented. Task-number: QTBUG-20753 Change-Id: I8b77261e9ddfa8f57cebdbd83c93a367a8cf8bea Reviewed-on: http://codereview.qt.nokia.com/3128 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * tests: mark expected failures in qsslsocket_onDemandCertificatesRohan McGovern2011-08-182-0/+2
| | | | | | | | | | | | | | | | Task-number: QTBUG-20983 Change-Id: I5db2a92352037721802c127f2b47b52a514e0bfc Reviewed-on: http://codereview.qt.nokia.com/3127 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: marked tst_qhttpnetworkconnection as insignificantRohan McGovern2011-08-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | This test crashes sometimes (but not always), making its result insignificant for the purpose of detecting regressions. Task-number: QTBUG-20981 Change-Id: I65e9c449ef342fad17be2364964774f229970aaa Reviewed-on: http://codereview.qt.nokia.com/3125 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: marked tst_qsocketnotifier failures as expectedRohan McGovern2011-08-181-2/+5
| | | | | | | | | | | | | | | | Task-number: QTBUG-20982 Change-Id: Ie53ea9733dc357176ec829d3df971760c49afdbd Reviewed-on: http://codereview.qt.nokia.com/3126 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: mark tst_qwindowsurface as expected failure on qpaRohan McGovern2011-08-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | This test fails on qpa because QPixmap::grabWindow is not implemented for that platform. Task-number: QTBUG-20863 Change-Id: I19afdac231922113c1b491dee27c2ea91e121b85 Reviewed-on: http://codereview.qt.nokia.com/3123 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: fixed failure of tst_qgridlayout on small screens for non-QWSRohan McGovern2011-08-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | This test will fail if the window manager doesn't give the widget the geometry it requested. The test was verifying this precondition, but only on QWS. It doesn't make sense to limit this check to QWS, as other platforms can have small screens too. Change-Id: I3fec905c28ac2f85ebfd621f84f2269a673e318e Reviewed-on: http://codereview.qt.nokia.com/3061 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: mark qlistview as insignificant for qpa, xcbRohan McGovern2011-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The test fails on some qpa, xcb configurations, but not others. The difference between the passing and failing configurations is unknown. Task-number: QTBUG-20956 Change-Id: I0dc7c3e598ce1116ef5f2280d9285dda82f14f10 Reviewed-on: http://codereview.qt.nokia.com/3064 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: skip tst_QMenu::pushButtonPopulateOnAboutToShow() for picky WMRohan McGovern2011-08-171-1/+16
| | | | | | | | | | | | | | | | | | | | | | We are trying to test the case of having a widget right next to the edge of the screen, but the window manager is likely to forbid this geometry in many cases. When this happens, we can't continue the test. Change-Id: I6bce2263bdf444221c5303e83d70a254bbb9194c Reviewed-on: http://codereview.qt.nokia.com/2892 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * Changing cursor position in all boundariesJosé Millán Soto2011-08-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | Merge-request: 1242 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com> (cherry picked from commit 97c59df43d821e8e1784749e72f8ee7f90d46da2) Change-Id: Iccb872281a443e57ff3e492911490a8d7495bbdc Reviewed-on: http://codereview.qt.nokia.com/3004 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| * Make QThread::sleep/msleep/usleep public.David Faure2011-08-151-31/+6
| | | | | | | | | | | | | | | | | | | | | | Merge-request: 43 Reviewed-by: olivier Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com> Change-Id: Ic5e3ce8f49daf83665865f89fa9fd3488cc5b349 Reviewed-on: http://codereview.qt.nokia.com/2959 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
| * Add flag for non-recursive lookup of child qobject(s)David Faure2011-08-151-0/+95
| | | | | | | | | | | | | | | | | | | | | | Merge-request: 40 Reviewed-by: olivier Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com> Change-Id: I1194ba0d8bba92ece3132171e230cece341ec127 Reviewed-on: http://codereview.qt.nokia.com/2957 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| * FocusScope's focusItem must always be a descendentAlan Alpert2011-08-151-0/+32
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-20699 Reviewed-by: Michael Brasser Change-Id: Iaaaabaabaabaabaabaaaaaffaaaeaaaaaaaacaaa (cherry picked from commit 0ee51351894296df7328f206e444ece262692f3f) Reviewed-on: http://codereview.qt.nokia.com/2931 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
| * test: fixed crash in tst_qmenubar::accel in qpaRohan McGovern2011-08-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Always verify that the application has an active window before attempting to generate a key click. This problem potentially affected all platforms, but is rare on non-qpa Linux since QTest::qWaitForWindowShown would usually avoid the problem on that platform. Change-Id: I0c30be6228361faffa121c9c2d7a667f8351ebd6 Reviewed-on: http://codereview.qt.nokia.com/2896 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: skip tst_QMenu::task258920_mouseBorder on qpaRohan McGovern2011-08-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | This test can't work because QCursor::setPos() isn't yet implemented for qpa. Task-number: QTBUG-20753 Change-Id: I2da8f920bd2d4706bbbcd983e11d2cc19055d2bf Reviewed-on: http://codereview.qt.nokia.com/2891 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: skip some broken tests in tst_qpixmap for qpaRohan McGovern2011-08-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | These tests cannot be written properly for qpa, due to missing API. Task-number: QTBUG-20864 Task-number: QTBUG-20863 Change-Id: I2b311833a6738b1830c1cd8be1f20293492bebda Reviewed-on: http://codereview.qt.nokia.com/2877 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: skip tst_QPrinter::testNonExistentPrinter for qpaRohan McGovern2011-08-121-2/+2
| | | | | | | | | | | | | | | | | | | | Since the test is irrelevant for Q_WS_X11 and Q_WS_QWS, it's almost certainly irrelevant for Q_WS_QPA too. Change-Id: Icc563046baf4c2a5217b87dee150afc7f6fd034d Reviewed-on: http://codereview.qt.nokia.com/2876 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * QXmlStream lives in QtCoreLars Knoll2011-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | We can finally remove the hack where a copy of QXmlStream was compiled into QtXml on some platforms. Change-Id: Ia164caa73dfb470ac86d1b4062031093b433d10c Reviewed-on: http://codereview.qt.nokia.com/2869 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
| * test: mark tst_qfontdatabase qpa failures as expectedRohan McGovern2011-08-101-0/+15
| | | | | | | | | | | | | | | | Task-number: QTBUG-20754 Change-Id: Ibb57e7724d453b390a8e37e62f6e5cf2691f48f8 Reviewed-on: http://codereview.qt.nokia.com/2654 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
| * test: only QEXPECT_FAIL tst_qgraphicstransform in release modeRohan McGovern2011-08-102-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | The floating point problem which causes this test to fail is not triggered if Qt is compiled in debug mode. Enable QEXPECT_FAIL more narrowly. Task-number: QTBUG-20661 Change-Id: I25f3260b516cd4fda9d8b711aa1140cbda821412 Reviewed-on: http://codereview.qt.nokia.com/2719 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: mark tst_qftp as insignificantRohan McGovern2011-08-101-0/+2
| | | | | | | | | | | | | | | | | | | | As virtually all of our tests which use the live qt-test-server, this test is inherently unstable. Change-Id: I27fc07a28b8dd6cd4dd3cb6414389e3cf41d0318 Reviewed-on: http://codereview.qt.nokia.com/2795 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: mark tst_qgraphicswidget as insignificant on qpa, xcbRohan McGovern2011-08-081-0/+1
| | | | | | | | | | | | | | | | | | | | This autotest is unstable. Task-number: QTBUG-20778 Change-Id: If862a64d2be2f3f66ea8435b0412bfb401f9aceb Reviewed-on: http://codereview.qt.nokia.com/2721 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * tests: handle many expected crashing tests on qpa, xcbRohan McGovern2011-08-089-4/+10
| | | | | | | | | | | | | | | | | | | | | | Mark all of these autotests as `insignificant' until the underlying crash bug is fixed. Task-number: QTBUG-20756 Change-Id: I18fb7038dd86ef2e9a5f37c8f26d7fe76032754e Reviewed-on: http://codereview.qt.nokia.com/2714 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: fixed usage of QEXPECT_FAIL in tst_qglyphrun::initTestCaseRohan McGovern2011-08-081-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | The rest of this test gives unpredictable results if initTestCase fails. Normally, a failure in initTestCase skips the rest of the test, but this is not the case if QEXPECT_FAIL is used. Adjust the test to ensure the rest of it is still correctly skipped. Change-Id: I8ba76161e788f10801029ef10693e9ac275a2897 Reviewed-on: http://codereview.qt.nokia.com/2713 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: mark tst_qgraphicseffect as insignificant for qpaRohan McGovern2011-08-051-0/+2
| | | | | | | | | | | | | | | | | | | | This test unstably fails for qpa, xcb, so mark it as insignificant. Task-number: QTBUG-20761 Change-Id: I0b4228c2803946ef87d7d11f4167017c2ffd0ad6 Reviewed-on: http://codereview.qt.nokia.com/2658 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
| * test: mark expected failures in tst_qglyphrun for qpaRohan McGovern2011-08-051-0/+13
| | | | | | | | | | | | | | | | Task-number: QTBUG-20760 Change-Id: Id046abfc8dcce2c6d068e5febf8c2b8777b50f53 Reviewed-on: http://codereview.qt.nokia.com/2657 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
| * test: mark expected failures in tst_qfontmetrics for qpaRohan McGovern2011-08-051-0/+13
| | | | | | | | | | | | | | | | Task-number: QTBUG-20759 Change-Id: Idb9493f5bf4ce031d7800b2187bf7c15757eb963 Reviewed-on: http://codereview.qt.nokia.com/2656 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
| * test: blacklist crashing tst_qfontdialog for qpa, xcbRohan McGovern2011-08-051-0/+2
| | | | | | | | | | | | | | | | Task-number: QTBUG-20756 Change-Id: I04b5ace4d357f756a3148597170b87a60b008cf5 Reviewed-on: http://codereview.qt.nokia.com/2655 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
| * test: fixed tst_qfont for qpaRohan McGovern2011-08-051-2/+2
| | | | | | | | | | | | | | | | | | Extend the QWS skip case to also cover QPA. Change-Id: I2bb93b179a384cf4304284d4d550c0bf4b61f4ca Reviewed-on: http://codereview.qt.nokia.com/2653 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
| * test: fixed tst_qabstractitemview for qpaRohan McGovern2011-08-051-1/+5
| | | | | | | | | | | | | | | | | | | | Test uses QCursor::setPos(), which is broken for QPA. Task-number: QTBUG-20753 Change-Id: Ibeb1278f46dc5dec081c19ba25dd83cc8390aef3 Reviewed-on: http://codereview.qt.nokia.com/2652 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
| * Use more numerically robust algorithm to compute QBezier::pointAt().Alan Alpert2011-08-051-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QBezier::pointAt() could potentially return values outside the bezier's bounds, even when the bezier was a straight horizontal line. For example, with y = 0.5, it would produce y=0.5 or y=0.49999999999999 for different values of t, which when rounded cause jittering in a QML PathView. Task-number: QTBUG-17007 Task-number: QTBUG-18133 Cherry-pick-of: 8b66982ec7b4b5d2071931c288973dce73dc9875 Change-Id: I4ecac7b9085aaaaaaaaaaaaaaaaaaaaaa7d7b0bc Reviewed-on: http://codereview.qt.nokia.com/2467 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
| * test: fixed tst_qundostack and removed CONFIG+=insignificant_testSergio Ahumada2011-08-052-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | This test had an invalid circular dependency: the test is in qtbase, and it depends on lrelease in qttools, which depends on qtbase. Change the test to skip if lrelease is not available or not working. Change-Id: I4696f4a178a6f8c0f2e76b5c4ae7f60c4f953334 Reviewed-on: http://codereview.qt.nokia.com/2619 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
| * QSslCertificate: deprecate alternateSubjectNames()Peter Hartmann2011-08-041-11/+11
| | | | | | | | | | | | | | | | | | | | ... and add a new method subjectAlternativeNames() instead. This was a typo in the API. Change-Id: Id8704c387c9ff8e1af2b9a524ff628f5c053a294 Reviewed-on: http://codereview.qt.nokia.com/2618 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
| * test: fixed tst_qundogroup and removed CONFIG+=insignificant_testRohan McGovern2011-08-042-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | This test had an invalid circular dependency: the test is in qtbase, and it depends on lrelease in qttools, which depends on qtbase. Change the test to skip if lrelease is not available or not working. Change-Id: I964ddaf9485a2afed5a1bd4f88d9bdccadf1cfca Reviewed-on: http://codereview.qt.nokia.com/2472 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * Fix the lifespan of the test CA cert used by the autotests.Richard Moore2011-08-038-223/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test CA I used for the QSslCertificate autotests had a short lifespan which meant that the tests now fail. See bug QTBUG-20582. This change gives it a lifespan of 10 years matching the leaf certificates. In addition, remove the temporary QEXPECT_FAIL statements. Change-Id: Ic1918e6e31f5cc755ec43d899663140ebe95a2a9 Merge-request: 37 Task-number: QTBUG-20582 Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com> Reviewed-on: http://codereview.qt.nokia.com/2548 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* | tests: Remove `qtessellator' autotestsSergio Ahumada2011-08-2422-2120/+0
| | | | | | | | | | | | | | | | | | | | This autotest is not needed anymore since qtessellator was removed by 78169e6b06db136037b70c99ca46b82d4c311c3e Change-Id: I438e5bf2fd44da73461bb6fc311a6dce5573e467 Reviewed-on: http://codereview.qt.nokia.com/3496 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* | test: fix `tst_qpainter' compilationSergio Ahumada2011-08-241-1/+1
| | | | | | | | | | | | | | Change-Id: Iea6fa5e1592e6227e10ea3768fe99aa14704dc48 Reviewed-on: http://codereview.qt.nokia.com/3505 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Holger Ihrig <holger.ihrig@nokia.com>
* | test: fix tst_qabstractprintdialog compilationSergio Ahumada2011-08-241-1/+1
| | | | | | | | | | | | | | Change-Id: I0068ea79bbfd56fdd67e7841d6fcf873ec3ed28a Reviewed-on: http://codereview.qt.nokia.com/3475 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* | Moving Tests to new Autotest StructureHolger Ihrig2011-08-2418-12/+363
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring new Structure for Autotests Corelib into place Moving Corelib/Animation Tests Added new Autotests to corelib/animation Task-number: QTBUG-21066 Change-Id: I754bbcc2b0a512e6df4c0d768ae6ff9c261ff210 Reviewed-on: http://codereview.qt.nokia.com/3404 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
* | Move printing into it's own libraryLars Knoll2011-08-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Create a libQtPrintSupport library that contains our current printing infrastructure. Long term this will get replaced with a libQtPrint, as the current architecture is not really maintainable. Change-Id: I7362fff6786b58c5b4e9213c23eda36d15048aa2 Reviewed-on: http://codereview.qt.nokia.com/3209 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
* | Fix typo in qapplication testOlli Werwolff2011-08-151-1/+1
| | | | | | | | | | | | | | Change-Id: I84f1257e3483a629ea8cfca041710bdbfbd8f3ba Reviewed-on: http://codereview.qt.nokia.com/2963 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* | Merge remote branch 'gerrit/master' into refactorSamuel Rødal2011-08-0348-387/+965
|\| | | | | | | | | | | | | | | | | | | Conflicts: src/gui/kernel/qapplication_x11.cpp src/gui/widgets/qlinecontrol.cpp src/gui/widgets/qlinecontrol_p.h src/gui/widgets/qtabwidget.h Change-Id: I90ba893a5553b9ff5658ca0a3221ecf76be4c736
| * Fix QString/QByteArray literals for MSVC2010 (compilation of tests).Friedemann Kleint2011-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | - Specify return type of QByteArrayLiteral/QStringLiteral lambdas. - Define QT_UNICODE_LITERAL instead of QT_UNICODE_MARKER. Change-Id: I8a53506887d2736b093798220b088f645f05e415 Reviewed-on: http://codereview.qt.nokia.com/2514 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
| * test: mark tst_qtconcurrentfilter as insignificant on LinuxRohan McGovern2011-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | This test fails pseudorandomly, which makes the result insignificant for the purpose of detecting regressions. Task-number: QTBUG-20688 Change-Id: I3274953841a553e35b4eb844702868f2f9ec0525 Reviewed-on: http://codereview.qt.nokia.com/2491 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
| * test: mark tst_qabstractnetworkcache as insignificantRohan McGovern2011-08-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | This test crashes pseudorandomly, which makes the result insignificant for the purpose of detecting regressions. Task-number: QTBUG-20686 Change-Id: I3079d935d46a4bcd2b119c2b9b452f0b69dccf21 Reviewed-on: http://codereview.qt.nokia.com/2479 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * Make failure messages from tst_QSslCertificate::verify much more usefulRohan McGovern2011-08-021-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the failure message from the previously brief: '(errors.count() == 0)' returned FALSE. To the vastly more useful: '(errors.count() == 0)' returned FALSE. (errors: [ "The certificate has expired" ]) Change-Id: I587cd8ddfd3c17e273220bc95691b3dc92390547 Reviewed-on: http://codereview.qt.nokia.com/2241 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
| * test: skip some tst_qtextscriptengine tests when fonts are missingRohan McGovern2011-08-022-5/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This autotest may fail depending on the version of fonts which are installed on the system. It has no way to verify if the correct fonts are installed, and it's unclear from where the correct version of the fonts may be obtained. Therefore, disable the test by default unless the user has indicated that they have a correct setup by setting QT_HAVE_TEST_FONTS=1. Task-number: QTBUG-20682 Change-Id: I24174520f54af6a9b2c13c9c1347f46555bce3d4 Reviewed-on: http://codereview.qt.nokia.com/2469 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
| * test: remove CONFIG+=insignificant_test for tst_qgraphicstransformRohan McGovern2011-08-022-8/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This autotest failure is stable, so it should be marked with QEXPECT_FAIL, not CONFIG+=insignificant_test. Note that the test row naming had to be changed, as the test previously created many rows of testdata with the same name, making it impossible to skip only the broken rows. Task-number: QTBUG-20661 Change-Id: Ie38f5dddafe7686e30eaa8ff3445310935d2cd9a Reviewed-on: http://codereview.qt.nokia.com/2419 Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>