qt5base-lts/tests/auto/gui
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
..
image Avoid out of bounds memory reads when scaling images 2014-03-28 22:52:19 +01:00
itemmodels tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
kernel QEvent: document and check when registerEventTypes() returns -1 2014-03-29 12:40:05 +01:00
math3d Add operator[] to QVectorND classes 2013-08-27 17:50:40 +02:00
painting QPdfWriter - Use QPageSize and QPageLayout 2014-03-17 13:45:52 +01:00
qopengl Fix the QOpenGL autotest's offscreen surface handling 2014-03-27 14:29:39 +01:00
text Deprecate QFont::setRawName() and QFont::rawName() 2014-03-27 22:02:39 +01:00
util Bugfix QDesktopServices on Windows 2013-07-11 10:56:49 +02:00
gui.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00