summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* test: removed obsolete tst_maketestselftest::tests_auto_proRohan McGovern2011-08-291-26/+0
| | | | | | | | | | | | | | | | | This test attempted to ensure that tests/auto/auto.pro would only refer to other .pro files, attempting to guarantee that the set of all tests could be cleanly broken up. The purpose of this was to enable CI optimizations (e.g. running the autotests for different modules on different machines in parallel). This test is invalidated by pending commits which rearrange the autotests, and we never made use of this property for optimization anyway, so drop this part of the test. Change-Id: I23e712fb8ec1dbe7ac65fe66015e1f060f3dcd41 Reviewed-on: http://codereview.qt.nokia.com/3681 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jo Asplin <jo.asplin@nokia.com>
* QWindow::mapToGlobal/mapFromGlobal and move()Gunnar Sletta2011-08-292-0/+80
| | | | | | | Change-Id: If1909b9ce468a8708cb25d5a2fbe8ebd90bd958a Reviewed-on: http://codereview.qt.nokia.com/3702 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Moving relevant tests to corelib/codecsHolger Ihrig2011-08-2613-2/+5
| | | | | | | | | | | Task-number: QTBUG-21066 Change-Id: If33bda9622bbfdac2b72ec2bf8489b0f62bae6e2 Reviewed-on: http://codereview.qt.nokia.com/3469 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Merge branch 'master' into refactorGunnar Sletta2011-08-2568-332/+1408
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/kernel/qapplication_qpa.cpp src/gui/kernel/qcursor_qpa.cpp src/gui/kernel/qwindowsysteminterface_qpa.cpp src/gui/kernel/qwindowsysteminterface_qpa.h src/gui/kernel/qwindowsysteminterface_qpa_p.h src/gui/text/qtextcontrol.cpp src/plugins/platforms/wayland/wayland.pro src/widgets/accessible/qaccessible2.h src/widgets/widgets/qwidgetlinecontrol_p.h Change-Id: I5e6f4eb184159dccc67e8f13673edb884d179c74
| * Add operator== and operator!= to qsqlerror classAntonis Tsiapaliokas2011-08-241-0/+16
| | | | | | | | | | | | | | | | | | | | Merge-request: 44 Task-number: QTBUG-20543 Change-Id: I7b88985fe095ffd2e48ac05c82dc3f3a92dbb091 Reviewed-on: http://codereview.qt.nokia.com/3425 Reviewed-by: Charles Yin <charles.yin@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
| * Check validator when changing text using accessibility functions.José Millán Soto2011-08-231-0/+6
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Frederik Gladhorn (cherry picked from commit 731d843b52b0a0bc387c50c2af37a71f87804f4d) Change-Id: Ieef71cea5b44f288f2f95a0765ec0b3f6d47c042 Reviewed-on: http://codereview.qt.nokia.com/3037 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| * Implemented QAccessibleTextEdit::attributes()Frederik Gladhorn2011-08-231-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Handling font properties and colors Created test: tst_QAccessibility::textAttributes Merge-request: 2626 Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com> (cherry picked from commit f1a6766432f66220275aa7902e4c2414a3069cd1) Change-Id: I388bc660af20149934110d7894840eccecf81f2a Reviewed-on: http://codereview.qt.nokia.com/3036 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| * test: really marked tst_qtcpsocket autotest as unstableRohan McGovern2011-08-232-3/+1
| | | | | | | | | | | | | | | | | | | | 15575fb280e1489157d0be44d00ab57aecc19320 edited the wrong .pro file :( Task-number: QTBUG-21043 Change-Id: I7b52fb7ea8669856b359523b278142c763bfb978 Reviewed-on: http://codereview.qt.nokia.com/3341 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Keith Isdale <keith.isdale@nokia.com>
| * Add IAccessible2 table2 implementation.Frederik Gladhorn2011-08-221-8/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the IAccessible table2 interface for itemviews. This is simpler than what we have in complexwidgets. For now it is only used on Linux. The new table2 interface is ifdef'ed to only be used on X11. Improve handling of accessible events and clean up. There are two xfails for the Table and Tree where sibling navigation is not implemented yet. Reviewed-by: Gabi (cherry picked from commit e797ba558dddd45522b5a317316e497e9efc44a8) (cherry picked from commit eff5ecc5d8f65fa25d6cfd6ed96a9d2a00d0c663) (cherry picked from commit d29876008fad400bca8d6b37e5d5f61dd1bcb39d) (cherry picked from commit 2a326fdc8f8bf2bd2c5764394616100906d9db2d) (cherry picked from commit 9b72e79e20d0d3560e0b064b8b0d75e35feb720e) (cherry picked from commit 075b0f744363842ed4179c644d933d461389544f) Change-Id: I654f74991830ae1fc7df7cc91d930390fb88b2a4 Reviewed-on: http://codereview.qt.nokia.com/3274 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
| * test: marked tst_qtcpsocket autotest as unstableRohan McGovern2011-08-221-0/+2
| | | | | | | | | | | | | | | | Task-number: QTBUG-21043 Change-Id: Idefb79bf64eb746e82ebf2980c628f2e37dcf6c3 Reviewed-on: http://codereview.qt.nokia.com/3279 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Keith Isdale <keith.isdale@nokia.com>
| * test: Fix `tst_qfiledialog' in a namespaced buildSergio Ahumada2011-08-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Pierre Rossi (cherry picked from commit 3be7f871f07041477b5bca0182623b36afd2b3e6) Change-Id: Ib24d837ef8f47435cc0a505233e77f1104537cae Reviewed-on: http://codereview.qt.nokia.com/3263 Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
| * Implement text interface for QLineEdit.Frederik Gladhorn2011-08-181-1/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | Add boundary helper functions to the QAccessibleTextInterface. Move LineEdit over to use QTextBoundaryFinder. Reviewed-by: Jan-Arve (cherry picked from commit c1ec1a95806cda54d5b4e9f8ed159a611bd75964) Change-Id: Ib93599c49110aab50debe1e3fb0073dd34071c87 Reviewed-on: http://codereview.qt.nokia.com/3025 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| * Add DBus VirtualObject to handle multiple paths.Frederik Gladhorn2011-08-182-2/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a virtual object is registered with the SubPath option it will handle all dbus calls to itself and all child paths. It needs to reimplement handleMessage for that purpose. Introspection needs to be implemented manually in the introspect function. Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com> (cherry picked from commit b07919b3de8cff3e44b7271062372b14bcda5b83) (cherry picked from commit 997c2dfed7a04da2fac577f1c29b89bda4939e2d) (cherry picked from commit c676b7095d826dc2d006f52a4b234546af5e2137) Change-Id: I003007604b286af8000959756ce9d25c17306f5b Reviewed-on: http://codereview.qt.nokia.com/3051 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
| * test: marked tst_qfocusevent as insignificant on all platformsRohan McGovern2011-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | This was known to be unstable on mac, but appears to be unstable on Linux also. Task-number: QTBUG-20987 Change-Id: I760533c32cf13d24f8428f120813eb590b202182 Reviewed-on: http://codereview.qt.nokia.com/3131 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: fixed failure of tst_qstylesheetstyle on qpaRohan McGovern2011-08-181-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | Wait for window shown on _all_ platforms, not just X11. QEXPECT_FAIL a test which relies on QCursor::setPos, which is currently unimplemented for qpa (QTBUG-20753). Change-Id: I72412476afc7e52ccb6cab4306ff791b7e7d8d93 Reviewed-on: http://codereview.qt.nokia.com/3118 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: fixed tst_qeventloop and removed CONFIG+=insignificant_testRohan McGovern2011-08-182-4/+23
| | | | | | | | | | | | | | | | | | | | | | Throwing C++ exceptions through the event loop doesn't work if the Glib event loop is used, so conditionally skip that part of the test. Change-Id: Ic27ebf4eb75bd1cf7c7e35f371f29bcfc0e1844a Reviewed-on: http://codereview.qt.nokia.com/2471 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
| * test: skipped unstable portion of tst_qcssparser on qpaRohan McGovern2011-08-181-0/+8
| | | | | | | | | | | | | | | | | | | | This test unstably fails because font lookup is somewhat broken for qpa. Task-number: QTBUG-20986 Change-Id: Id4ebd35e979d8837d32b58e5ed9c1df3ac15827a Reviewed-on: http://codereview.qt.nokia.com/3130 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: mark tst_qrawfont as expected failure on qpaRohan McGovern2011-08-181-0/+24
| | | | | | | | | | | | | | | | | | | | | | The necessary font handling code for qrawfont currently seems to be unimplemented for all qpa backends. Task-number: QTBUG-20976 Change-Id: I2b5c511936892e2754c0ee809b7a558f44d1d132 Reviewed-on: http://codereview.qt.nokia.com/3116 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: fixed XPASS from tst_qstatictext on qpaRohan McGovern2011-08-181-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests were written to compare two different methods of drawing text, to ensure the result was the same. However, if _both_ methods turned out to be complete no-ops, the test would unexpectedly pass, as it never verified that anything was painted. Add additional verification steps and QEXPECT_FAIL them on qpa for now. Task-number: QTBUG-20977 Change-Id: I1ce1b7c2bcd683fc9eeaeb8d1483268e56f5cf08 Reviewed-on: http://codereview.qt.nokia.com/3117 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: mark tst_qsystemtrayicon as expected failure for qpaRohan McGovern2011-08-181-0/+4
| | | | | | | | | | | | | | | | | | | | QSystemTrayIcon is unimplemented for qpa. Task-number: QTBUG-20978 Change-Id: I63703b96e3d4572bae722120774de1565d475414 Reviewed-on: http://codereview.qt.nokia.com/3119 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * test: mark tst_qtextlayout as insignificant for qpa, xcbRohan McGovern2011-08-181-0/+1
| | | | | | | | | | | | | | | | | | | | This autotest segfaults in this configuration. Task-number: QTBUG-20979 Change-Id: I7f038416d9333b690695f48e4ad01d52767f45cd Reviewed-on: http://codereview.qt.nokia.com/3120 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
| * 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-152-45/+7
| | | | | | | | | | | | | | | | | | | | | | 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>