qt5base-lts/tests/auto/gui/kernel
Marc Mutz de10bf4955 QEvent: document and check when registerEventTypes() returns -1
In tst_QEvent, add a check that exhausts the available event type ids and verifies
that registerEventTypes() returns -1 in that case, as documented.

I haven't found a way to test the other case in which -1 is returned.

Since this test operates on a global write-only registry the new test case needs
to keep track of whether the earlier test cases have run successfully. If they
didn't, skip this test case.

Change-Id: I68ea9d17d10dcec22175994aba269dd09c9adf43
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-03-29 12:40:05 +01:00
..
qbackingstore gui/kernel: Do not run test showing windows in parallel. 2013-05-30 19:33:25 +02:00
qclipboard Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
qdrag QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qevent QEvent: document and check when registerEventTypes() returns -1 2014-03-29 12:40:05 +01:00
qfileopenevent tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
qguiapplication tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
qguieventdispatcher QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qguieventloop Add auto-test for running the QEventLoop test with the GUI dispatcher 2013-08-12 14:27:57 +02:00
qguimetatype Fixed testbuild with QT_NO_CURSOR 2013-06-25 07:14:54 +02:00
qguitimer QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qguivariant Fix MSVC-warnings about double to float truncation. 2014-01-24 20:26:39 +01:00
qinputmethod gui/kernel: Do not run test showing windows in parallel. 2013-05-30 19:33:25 +02:00
qkeysequence Merge remote-tracking branch 'origin/stable' into dev 2014-01-20 18:18:59 +01:00
qmouseevent expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
qmouseevent_modal expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
qpalette QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qscreen QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qsurfaceformat QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qtouchevent QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
qwindow QNX: Fix QWindow autotest 2014-03-27 14:41:28 +01:00
kernel.pro Remove qguieventloop from auto tests if network is unavailable 2013-09-02 14:59:02 +02:00