qt5base-lts/src/testlib
David Faure 4af292fe51 QAbstractItemModelTester: don't call match(QModelIndex(), ...)
The documentation for match() indicates that the index has to be valid
since it determines which column to search in (in addition to "from
which row"). So call match with a valid index, if the model isn't empty.

Change-Id: I5f3754cf14d053bf04d207cefe7dcc938e0f4a5a
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2018-06-27 10:12:01 +00:00
..
3rdparty Add Linux-syscall-note exception to 3rdparty testlib documentation 2018-02-22 09:32:43 +00:00
doc Doc: Add doc for QSKIP 2018-02-28 12:51:37 +00:00
configure.json Testlib: Add a feature for the item model tester 2018-03-21 10:31:08 +00:00
qabstractitemmodeltester.cpp QAbstractItemModelTester: don't call match(QModelIndex(), ...) 2018-06-27 10:12:01 +00:00
qabstractitemmodeltester.h QAbstractItemModelTester: add missing includes 2018-06-27 08:19:40 +00:00
qabstracttestlogger_p.h testlib: Pass on log message context to loggers 2018-02-21 16:27:37 +00:00
qabstracttestlogger.cpp testlib: Pass on log message context to loggers 2018-02-21 16:27:37 +00:00
qasciikey.cpp
qbenchmark_p.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qbenchmark.cpp
qbenchmark.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qbenchmarkevent_p.h
qbenchmarkevent.cpp
qbenchmarkmeasurement_p.h
qbenchmarkmeasurement.cpp
qbenchmarkmetric_p.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qbenchmarkmetric.cpp Fix build for Android with android-clang in r17 2018-06-06 11:36:33 +00:00
qbenchmarkmetric.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qbenchmarkperfevents_p.h Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
qbenchmarkperfevents.cpp doc: Fix remaining clang parsing errors in QtTest 2018-01-18 06:31:53 +00:00
qbenchmarktimemeasurers_p.h
qbenchmarkvalgrind_p.h
qbenchmarkvalgrind.cpp
qcsvbenchmarklogger_p.h Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
qcsvbenchmarklogger.cpp
qplaintestlogger_p.h testlib: Pass on log message context to loggers 2018-02-21 16:27:37 +00:00
qplaintestlogger.cpp logging: Clarify and document how we look for the presence of a console 2018-03-07 18:12:09 +00:00
qsignaldumper_p.h
qsignaldumper.cpp
qsignalspy.h doc: Fix remaining clang parsing errors in QtTest 2018-01-18 06:31:53 +00:00
qsignalspy.qdoc doc: Fix remaining clang parsing errors in QtTest 2018-01-18 06:31:53 +00:00
Qt5TestConfigExtras.cmake.in
qteamcitylogger_p.h
qteamcitylogger.cpp
qtest_gui.h doc: Fix remaining clang parsing errors in QtTest 2018-01-18 06:31:53 +00:00
qtest_network.h doc: fix signatures and missing module headers 2017-12-14 13:37:51 +00:00
qtest_widgets.h
qtest.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestaccessible.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestassert.h
qtestblacklist_p.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestblacklist.cpp Merge remote-tracking branch 'origin/5.9' into 5.10 2018-01-04 17:24:18 +01:00
qtestcase.cpp QtCore/QtNetwork/QTestlib: Fix build with MinGW/g++ 8.1 x64 2018-06-25 14:56:19 +00:00
qtestcase.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestcase.qdoc Fix typos 2018-02-13 15:51:10 +00:00
qtestcoreelement_p.h
qtestcorelist_p.h
qtestdata.cpp
qtestdata.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestelement_p.h
qtestelement.cpp
qtestelementattribute_p.h
qtestelementattribute.cpp
qtestevent.h Fix win32-clang-msvc build due to -Werror,-Wunused-private-field 2018-03-23 15:16:01 +00:00
qtestevent.qdoc
qtesteventloop.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtesthelpers_p.h testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qtestkeyboard.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestlog_p.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestlog.cpp Modernize the "regularexpression" feature 2018-03-20 08:19:25 +00:00
qtestmouse.cpp Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestmouse.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestresult_p.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestresult.cpp
qtestspontaneevent.h
qtestsystem.h qtestlib: restore qWaitForWindowActive() its original semantics 2018-05-02 11:42:04 +00:00
qtesttable_p.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtesttable.cpp QtTest: compile in C++17 mode: no more std::unary_function 2018-05-15 17:07:04 +00:00
qtesttouch.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestutil_macos_p.h
qtestutil_macos.mm
qtestxunitstreamer_p.h
qtestxunitstreamer.cpp
qttestglobal.h Testlib: Add a feature for the item model tester 2018-03-21 10:31:08 +00:00
qxctestlogger_p.h Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
qxctestlogger.mm
qxmltestlogger_p.h
qxmltestlogger.cpp
qxunittestlogger_p.h
qxunittestlogger.cpp
testlib.pro Testlib: Add a feature for the item model tester 2018-03-21 10:31:08 +00:00