qt5base-lts/tests/auto
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
..
android Android: Fix missing data from some autotests 2014-03-27 15:17:24 +01:00
bic/data test: Add 5.1.0 bic data for linux-gcc-ia32 2013-07-08 21:47:36 +02:00
cmake Increase CI timeout for cmake tests. 2014-03-06 17:22:55 +01:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent QtConcurrent: Workaround GCC bug 58800 in median calculation 2013-12-03 11:45:18 +01:00
corelib Mac: make FSEvents-based QFileSystemWatcherEngine more robust. 2014-03-27 17:51:21 +01:00
dbus tests: Mark tst_qdbus* tests as insignificant on OS X 2014-03-13 13:25:49 +01:00
gui QEvent: document and check when registerEventTypes() returns -1 2014-03-29 12:40:05 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Polish tst_qsslsocket a bit. 2014-03-26 07:22:35 +01:00
opengl Resurrect advanced bindTexture() features in QtOpenGL 2014-03-20 14:11:33 +01:00
other tst_qaccessibility: Introduce QTRY_VERIFY to menuTest(). 2014-03-28 22:52:19 +01:00
printsupport QPrinter - Expect failure of QPrinter page size test 2014-03-17 13:46:29 +01:00
shared iOS: Fix compilation of some basic tests 2014-01-17 11:04:43 +01:00
sql [QtSql]QIBASE]add support for prepared queries in numRowsAffected 2014-03-29 08:46:00 +01:00
testlib Make the printing of complex Unicode in a QString prettier 2014-02-16 06:54:18 +01:00
tools Remove qSort usages from tests 2014-02-20 08:10:06 +01:00
widgets tst_qgraphicsproxywidget: Fix hang in actionsContextMenu(). 2014-03-28 22:52:19 +01:00
xml expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
auto.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00
network-settings.h network test settings: support newer FTP server versions 2013-08-28 12:45:34 +02:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00