qt5base-lts/tests/auto/corelib/kernel
Volker Hilsheimer 536fd29bdf JNI: Add convenience overloads for registerNativeMethods
Add a template overload for the QJniEnvironment member function so that
a declared type can be used.

And add a static registerNativeMethods class member function to declared
types.

As a drive-by, document the initializer_list overloads. The
"template <typename Class>" convenience wrappers are currently all
undocumented, as we first need to document the QtJniTypes type system
and declaration macros.

Change-Id: I8ff9edc4e493694e6d2c26d4bc7b06bd8e05bf0c
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
2023-11-13 22:35:27 +01:00
..
qapplicationstatic CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qcoreapplication CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qdeadlinetimer CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qelapsedtimer CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qeventdispatcher tst_qeventdispatcher: port to QDeadlineTimer 2023-09-04 22:40:35 +03:00
qeventloop qcore_unix: port qt_safe_poll to QDeadlineTimer 2023-10-24 18:29:45 +03:00
qjniarray JNI: add QJniArray class for easier working with arrays 2023-10-16 18:43:16 +02:00
qjnienvironment JNI: Silence and harden QJniEnvironment test 2023-10-05 19:50:33 +02:00
qjniobject JNI: Add convenience overloads for registerNativeMethods 2023-11-13 22:35:27 +01:00
qjnitypes JNI: allow QString as a parameter to native methods 2023-11-07 01:59:51 +08:00
qmath CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qmetacontainer CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qmetaenum tst_QMetaEnum: add round-trip testing to valueToKeys() 2023-10-19 12:22:42 +00:00
qmetamethod CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qmetaobject QMetaEnum: refactor keysToValue 2023-10-31 19:36:00 +02:00
qmetaobjectbuilder CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qmetaproperty CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qmetatype QMetaType: fix recursive detection of std::optional operators 2023-07-31 18:43:55 -07:00
qmimedata tests/auto/*: port Q_FOREACH to ranged-for 2023-08-19 16:29:09 +03:00
qobject Extend QTestPrivate property tests - actual implementation [2/2] 2023-11-01 22:05:38 +02:00
qpermission Constrain QCoreApplication::requestPermission to compatible functors 2023-09-01 03:30:50 +02:00
qpointer QPointer: ensure construction from nullptr is constinit'able 2023-10-05 20:19:40 +02:00
qproperty QProperty: Steal currentCompatProperty while evaluating a different one 2023-09-27 09:31:41 +00:00
qsignalblocker Implement QSignalBlocker::dismiss() 2023-08-31 22:11:51 +00:00
qsignalmapper CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qsocketnotifier QAbstractSocketEngine: port to QDeadlineTimer 2023-10-07 02:28:12 +03:00
qtimer QTimer: extend property tests and fix binding loop 2023-09-03 18:20:51 +02:00
qtranslator Give QLocale::uiLanguages() a separator parameter 2023-08-16 16:25:48 +02:00
qvariant QVariant: add fromMetaType 2023-09-20 00:05:53 +02:00
qwineventnotifier CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qwinregistrykey CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt JNI: add QJniArray class for easier working with arrays 2023-10-16 18:43:16 +02:00