qt5base-lts/tests/auto/corelib
Assam Boudjelthia deca7cd730 Fix registerNativeMethods for good
The initial implementation and the commit
c00ab6f8ea was wrong:
* env->findClass() in fact returns a global reference, and in any
case we shouldn't be calling that, instead QJniObject would be
enough.
* The size param provided to env->RegisterNatives was wrong.
* A test for registerNativeMethods() is added to ensure such break
is not repeated again.

Task-number: QTBUG-89633
Pick-to: 6.1
Change-Id: I4d3a6a9270755f465c40add25521fb750dd4de0a
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
2021-02-11 14:03:50 +00:00
..
animation Port QPauseAnimation to the new property system 2021-01-26 21:47:47 +01:00
global Remove the QT_CMAKE_BUILD preprocessor define 2021-01-22 19:22:15 +01:00
io Split up the QMetaType unit test 2021-02-09 14:27:20 +01:00
itemmodels Make sure QMimeData is fully declared 2021-01-11 16:57:41 +01:00
kernel Fix registerNativeMethods for good 2021-02-11 14:03:50 +00:00
mimetypes Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
plugin Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
serialization QJsonObject::take: add missing detach() call 2021-01-27 05:11:39 +00:00
text macOS: Be honest about the system locale 2021-02-11 15:01:45 +01:00
thread Revert "Port QThreadPool to the new property system" 2021-01-29 10:55:42 +00:00
time Make QDate's text round-trip test do actual comparisons 2021-02-11 11:46:04 +01:00
tools Restore pre-Qt6 QList::fill() behavior 2021-02-10 10:36:59 +01:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00