qt5base-lts/tests/auto
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
..
bic/data Add BiC data for the new way to do BiC testing 2022-05-12 13:33:41 +03:00
cmake CMake: Support big resources in qt_add_resources 2022-08-09 15:21:52 +02:00
concurrent Add license headers to cmake files 2022-08-03 17:14:55 +02:00
corelib Remove assertion from ownMethodIndex that breaks tests 2022-08-10 00:48:31 +02:00
dbus Add license headers to cmake files 2022-08-03 17:14:55 +02:00
gui Wayland: Remove XFAIL after underlying bug was fixed 2022-08-09 12:57:13 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network qputenv: port to QByteArrayView 2022-08-06 14:21:46 +00:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other qputenv: port to QByteArrayView 2022-08-06 14:21:46 +00:00
printsupport qputenv: port to QByteArrayView 2022-08-06 14:21:46 +00:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql Add license headers to cmake files 2022-08-03 17:14:55 +02:00
testlib Add some testing of QTestEventLoop 2022-08-08 20:49:03 +02:00
tools moc: handle attributes in class declarations 2022-08-03 20:14:42 +02:00
wasm Add license headers to cmake files 2022-08-03 17:14:55 +02:00
widgets qputenv: port to QByteArrayView 2022-08-06 14:21:46 +00:00
xml QDomDocument: Add a way to enable spacing-only text nodes 2022-08-04 22:17:05 +02:00
CMakeLists.txt Add license headers to cmake files 2022-08-03 17:14:55 +02:00
network-settings.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00