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 Updated license headers 2016-01-15 12:25:24 +00:00
qbenchmark_p.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qbenchmark.cpp Properly use the "process" feature 2017-02-27 15:44:46 +00:00
qbenchmark.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qbenchmarkevent_p.h QtTest: Add missing override 2016-12-01 12:07:05 +00:00
qbenchmarkevent.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qbenchmarkmeasurement_p.h Testlib: Move classes inheriting QBenchmarkMeasurerBase to separate header 2016-10-19 06:21:51 +00:00
qbenchmarkmeasurement.cpp Testlib: Move classes inheriting QBenchmarkMeasurerBase to separate header 2016-10-19 06:21:51 +00:00
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 QtTest: Add missing override 2016-12-01 12:07:05 +00:00
qbenchmarkvalgrind_p.h QtTest: Add missing override 2016-12-01 12:07:05 +00:00
qbenchmarkvalgrind.cpp QtTest: eradicate all Q_FOREACH loops 2016-02-29 07:57:51 +00:00
qcsvbenchmarklogger_p.h Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
qcsvbenchmarklogger.cpp Update the Intel copyright year 2016-01-21 22:44:16 +00:00
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 Updated license headers 2016-01-15 12:25:24 +00:00
qsignaldumper.cpp Updated license headers 2016-01-15 12:25:24 +00:00
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 Fix QFINDTESTDATA when using cmake ninja generator 2016-03-19 13:44:21 +00:00
qteamcitylogger_p.h Add flowId to messages when logging in TeamCity format 2017-08-04 18:48:48 +00:00
qteamcitylogger.cpp Add flowId to messages when logging in TeamCity format 2017-08-04 18:48:48 +00:00
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 Updated license headers 2016-01-15 12:25:24 +00:00
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 Fix modernize-use-bool-literals issues 2017-07-08 11:49:55 +00:00
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 Updated license headers 2016-01-15 12:25:24 +00:00
qtestcorelist_p.h Updated license headers 2016-01-15 12:25:24 +00:00
qtestdata.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qtestdata.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestelement_p.h Updated license headers 2016-01-15 12:25:24 +00:00
qtestelement.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qtestelementattribute_p.h Updated license headers 2016-01-15 12:25:24 +00:00
qtestelementattribute.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qtestevent.h Fix win32-clang-msvc build due to -Werror,-Wunused-private-field 2018-03-23 15:16:01 +00:00
qtestevent.qdoc Unify license header usage. 2016-03-29 10:20:03 +00:00
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 Updated license headers 2016-01-15 12:25:24 +00:00
qtestspontaneevent.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-03-11 20:08:50 +01:00
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 QTestLib: Disable App Nap on macOS 2017-08-22 05:10:43 +00:00
qtestutil_macos.mm QTestLib: Disable App Nap on macOS 2017-08-22 05:10:43 +00:00
qtestxunitstreamer_p.h Updated license headers 2016-01-15 12:25:24 +00:00
qtestxunitstreamer.cpp Updated license headers 2016-01-15 12:25:24 +00:00
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 Add a macros for disabling deprecated declaration warnings 2016-11-27 02:31:12 +00:00
qxmltestlogger_p.h QtTest: Add missing override 2016-12-01 12:07:05 +00:00
qxmltestlogger.cpp Updated license headers 2016-01-15 12:25:24 +00:00
qxunittestlogger_p.h QtTest: Add missing override 2016-12-01 12:07:05 +00:00
qxunittestlogger.cpp Use local result metric instead of global result metric. 2016-03-03 09:56:08 +00:00
testlib.pro Testlib: Add a feature for the item model tester 2018-03-21 10:31:08 +00:00