qt6-bb10/src/testlib
Fabian Kosmale 16d412da4c QSignalSpy: Use QMetaType instead of metatype id in initArgs
The RegisterMethodArgumentMetaType had been changed to take a QMetaType
instead of a type id in 0161f00e50.
Unfortunately, the usage of it in QSignalSpy was missed. This patch
adjusts the metacall to correctly use a QMetaType.
Moreover, use parameterMetaType instead of parameterType to benefit from
metatypes which are already resolved at compile time.

Task-number: QTBUG-88260
Fixes: QTBUG-88356
Change-Id: Id8fa46581a005d62818971ea24d8aa2e39dcd6d0
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-11-10 11:23:55 +01:00
..
3rdparty Update 3rdparty valgrind headers to Valgrind 3.14.0 2018-10-17 11:26:08 +00:00
doc Rename "Porting" pages to "Changes" 2020-11-09 16:01:33 +01:00
.prev_CMakeLists.txt CMake: Regenerate qtbase projects to use correct CONFIG_MODULE_NAMEs 2020-10-30 17:49:02 +01:00
CMakeLists.txt CMake: Cleanup module and plugin define situation 2020-10-30 21:59:20 +00:00
configure.cmake CMake: Regenerate configure.cmake files to get reports 2020-03-09 23:09:02 +01:00
configure.json Replace QTESTLIB_USE_VALGRIND with a new feature 'valgrind' 2019-05-28 17:20:00 +09:00
qabstractitemmodeltester.cpp QAbstractItemModelTester: don't rely on hasChildren() 2020-10-27 02:55:10 +01:00
qabstractitemmodeltester.h Fix use of deprecated ItemDataRoles Background/TextColorRole 2018-11-05 21:58:37 +00:00
qabstracttestlogger.cpp testlib: Let logger report whether it is logging to stdout 2020-10-31 13:06:22 +01:00
qabstracttestlogger_p.h testlib: Add private API to add test logger 2020-10-31 16:02:41 +01:00
qappletestlogger.cpp Apple test logger: Handle test log messages without a context 2019-03-26 19:15:26 +00:00
qappletestlogger_p.h Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qasciikey.cpp
qbenchmark.cpp QTestLib: Fix various clang warnings 2019-07-29 20:43:26 +02:00
qbenchmark.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qbenchmark_p.h QTestLib: Use member initialization 2019-07-11 14:40:29 +02:00
qbenchmarkevent.cpp QTestLib: Fix class declarations/structure 2019-07-11 14:42:04 +02:00
qbenchmarkevent_p.h QTestLib: Use member initialization 2019-07-11 14:40:29 +02:00
qbenchmarkmeasurement.cpp
qbenchmarkmeasurement_p.h QTestLib: Fix various clang warnings 2019-07-29 20:43:26 +02: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
qbenchmarkmetric_p.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qbenchmarkperfevents.cpp QTestLib: Introduce nullptr 2019-07-11 14:41:50 +02:00
qbenchmarkperfevents_p.h QTestLib: Fix various clang warnings 2019-07-29 20:43:26 +02:00
qbenchmarktimemeasurers_p.h
qbenchmarkvalgrind.cpp Properly deprecate QProcess::pid 2020-10-01 04:55:47 +02:00
qbenchmarkvalgrind_p.h Make QStringList an alias to QList<QString> 2020-09-12 23:37:15 +02:00
qcsvbenchmarklogger.cpp QTestLib: Fix class declarations/structure 2019-07-11 14:42:04 +02:00
qcsvbenchmarklogger_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qjunittestlogger.cpp testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
qjunittestlogger_p.h testlib: Track current test suite in JUnit test logger 2020-07-22 23:23:32 +02:00
qplaintestlogger.cpp Output QSysInfo::productType() and productVersion() in test config line 2020-09-18 16:07:20 +02:00
qplaintestlogger_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qsignaldumper.cpp Deprecate the static int based API in QMetaType 2020-08-24 00:19:05 +02:00
qsignaldumper_p.h testlib: Defer signal dumper start until tests are ready to run 2020-07-22 23:23:16 +02:00
qsignalspy.h QSignalSpy: Use QMetaType instead of metatype id in initArgs 2020-11-10 11:23:55 +01:00
qsignalspy.qdoc Doc: Correct non-link related qdoc compilation errors 2020-01-14 16:38:48 +00:00
qt_cmdline.cmake CMake: Re-implement configure/qmake's command line handling in CMake 2020-08-17 08:08:20 +02:00
qtaptestlogger.cpp QTestLib: Fix class declarations/structure 2019-07-11 14:42:04 +02:00
qtaptestlogger_p.h Remove unnecessary ; after function implementations 2020-07-06 11:46:39 +02:00
qteamcitylogger.cpp QTestLib: Fix various clang warnings 2019-07-29 20:43:26 +02:00
qteamcitylogger_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qtest.h Remove unnecessary cast-to-int for parameter to QBitArray 2020-11-02 16:35:57 +01:00
qtest_gui.h Port from devicePixelRatioF() to devicePixelRatio() 2020-09-10 17:28:11 +02:00
qtest_network.h doc: fix signatures and missing module headers 2017-12-14 13:37:51 +00:00
qtest_widgets.h
qtestaccessible.h QTestLib: Replace typedef by 'using' 2019-06-29 21:51:15 +02:00
qtestassert.h Fix modernize-use-bool-literals issues 2017-07-08 11:49:55 +00:00
qtestblacklist.cpp Doc: explain how to blacklist QML tests on certain platforms 2020-09-10 17:32:34 +02:00
qtestblacklist_p.h Bring QTestPrivate::checkBlackLists() back 2018-10-15 17:30:57 +00:00
qtestcase.cpp testlib: Spit out crash backtraces to stderr 2020-10-23 20:19:28 +02:00
qtestcase.h Make QTRY_IMPL() exit its loop if the test fails 2020-09-14 09:47:50 +02:00
qtestcase.qdoc Fix a few qdoc warnings 2020-11-06 22:03:52 +01:00
qtestcoreelement_p.h QTestLib: Use member initialization 2019-07-11 14:40:29 +02:00
qtestcorelist_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
qtestdata.cpp Deprecate the static int based API in QMetaType 2020-08-24 00:19:05 +02:00
qtestdata.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestelement.cpp QTestLib: Use member initialization 2019-07-11 14:40:29 +02:00
qtestelement_p.h QTestLib: Use member initialization 2019-07-11 14:40:29 +02:00
qtestelementattribute.cpp testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
qtestelementattribute_p.h testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
qtestevent.h Use Q_DECL_UNUSED_MEMBER instead of Q_UNUSED 2020-07-06 11:29:39 +02:00
qtestevent.qdoc Doc: Fix linking errors qtbase 2019-01-03 09:45:23 +00:00
qtesteventloop.h Fix ### Qt 6 comment 2020-09-10 11:24:20 +02:00
qtesthelpers_p.h testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qtestjunitstreamer.cpp testlib: Output JUnitXML attributes in right order 2020-07-24 00:51:54 +02:00
qtestjunitstreamer_p.h testlib: Clarify that our XUnit reporter is actually a JUnit reporter 2020-02-03 13:48:25 +01:00
qtestkeyboard.h Replace Q_DECL_UNUSED with [[maybe_unused]] 2020-10-03 11:58:08 +02:00
qtestlog.cpp testlib: Add private API to add test logger 2020-10-31 16:02:41 +01:00
qtestlog_p.h testlib: Add private API to add test logger 2020-10-31 16:02:41 +01:00
qtestmouse.cpp Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtestmouse.h Refactor pointer event hierarchy 2020-07-10 14:32:56 +02:00
qtestresult.cpp QTestResult: Don't pass a nullptr file to addFailure() 2020-09-30 16:20:29 +02:00
qtestresult_p.h QTestLib: Speed up QCOMPARE for QString 2019-08-01 13:51:23 +02:00
qtestspontaneevent.h Cleanup qtestspontaneevent.h for Qt 6 2020-07-06 09:30:22 +00:00
qtestsystem.h testlib: Move qtestsystem helpers to their respective modules 2018-07-16 15:30:30 +00:00
qtesttable.cpp QTestLib: Introduce nullptr 2019-07-11 14:41:50 +02:00
qtesttable_p.h Testlib: Rename qtest_global.h to qttestglobal.h 2018-03-21 10:31:01 +00:00
qtesttouch.h Refactor testlib touch functions into qtestsupport_gui and _widgets 2020-09-08 08:02:15 +02:00
qtestutil_macos.mm testlib: Be more selective in choosing to show stacktraces on macOS 2020-02-06 23:42:55 +01:00
qtestutil_macos_p.h testlib: Be more selective in choosing to show stacktraces on macOS 2020-02-06 23:42:55 +01:00
qttestglobal.h Testlib: Add a feature for the item model tester 2018-03-21 10:31:08 +00:00
qxctestlogger.mm Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qxctestlogger_p.h Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qxmltestlogger.cpp QTestLib: Fix various clang warnings 2019-07-29 20:43:26 +02:00
qxmltestlogger_p.h More nullptr usage in headers 2019-03-14 07:37:52 +00:00
selfcover.cmake CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
selfcover.pri Add a feature to enable CodeCoverage analysis of testlib 2019-01-24 15:51:13 +00:00
testlib.pro testlib: Be more selective in choosing to show stacktraces on macOS 2020-02-06 23:42:55 +01:00