qt5base-lts/tests/auto/corelib/kernel
Sami Shalayel cec3b3b4f9 Remove assertion from ownMethodIndex that breaks tests
ownMethodIndex works for all kind of methods, also for constructors.
Therefore, remove the assertion there (that checks for non constructors)
and add a test in qtbase so it does not happen again.

The test broken by the assertion is in qtdeclarative:
tst_QJSEngine::newQMetaObject().

Also rename QMetaMethodPrivate::ownConstructorIndex() to
ownConstructorMethodIndex() as the previous naming implied that
ownMethodIndex() could not be used for constructors.

amends b73ab954df

Task-number: QTBUG-105360
Change-Id: I0244993ed79bee055645b5443f5d02e1c089a6c6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-08-10 00:48:31 +02:00
..
qapplicationstatic Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qcoreapplication Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qdeadlinetimer Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qelapsedtimer Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qeventdispatcher Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qeventloop Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qjnienvironment Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qjniobject Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qjnitypes Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qmath Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qmetacontainer Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qmetaenum Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qmetamethod Remove assertion from ownMethodIndex that breaks tests 2022-08-10 00:48:31 +02:00
qmetaobject Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qmetaobjectbuilder Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qmetaproperty Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qmetatype Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qmimedata Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qobject Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qpointer Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qproperty Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qsharedmemory Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qsignalblocker Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qsignalmapper Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qsocketnotifier Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qsystemsemaphore Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qtimer Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qtranslator Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qvariant Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qwineventnotifier Add license headers to cmake files 2022-08-03 17:14:55 +02:00
CMakeLists.txt Add license headers to cmake files 2022-08-03 17:14:55 +02:00