qt5base-lts/tests/auto
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
..
cmake Fix qt_add_big_resources with namespace builds 2021-01-19 14:17:55 +01:00
concurrent Fix a few compiler warnings in tests 2021-02-02 12:06:05 +01:00
corelib Fix registerNativeMethods for good 2021-02-11 14:03:50 +00:00
dbus dbus: Fix missing QVersionNumber include 2021-01-25 12:09:17 +01:00
gui Fix recently added auto test of text layout overflow 2021-02-10 21:17:09 +01:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network Fix a few compiler warnings in tests 2021-02-02 12:06:05 +01:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Split up the QMetaType unit test 2021-02-09 14:27:20 +01:00
printsupport Remove the qmake project files 2021-01-07 15:32:28 +01:00
shared Remove false Q_UNREACHABLE from shaping code 2021-02-03 09:44:44 +01:00
sql Fix a few compiler warnings in tests 2021-02-02 12:06:05 +01:00
testlib QTestlib/JUnit XML: Log most messages to standard output instead of error output 2021-01-15 18:05:40 +01:00
tools Remove blacklisting for b2qt tests that now pass 2021-01-28 09:27:14 +02:00
widgets QPlainTextEdit: adjust scroll bars when showing up 2021-02-09 20:00:59 +08:00
xml tst_qdom: clean-up the code enabled only before Qt 6 2021-01-15 15:22:08 +01:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
network-settings.h Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00