qt6-bb10/tests/auto
Volker Hilsheimer 5797326b16 JNI: Constrain QJniArray::toContainer to compatible target containers
We can populate a container with the contents of the Java array as long
as the element types are convertible without narrowing (taking various
special cases into account, such as jstring to QString). The container
has to be either support emplace_back, or be a contiguous container
if a primitive element type.

The template helpers need to be in QJniArrayBase in order for qdoc to
accept the input.

Add test coverage, including static compile time tests.

Change-Id: Id9372deed5cf33446ee1969dc284a88991db2aee
Reviewed-by: Petri Virkkunen <petri.virkkunen@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit 8f04defa1e3973faec19a9cb1ab9bbf1ea7fb031)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-07-20 01:13:40 +00:00
..
bic/data Add binary compatibility file for 6.7.0 2024-04-17 10:18:37 +00:00
cmake Use add_compile_definitions instead of add_definitions 2024-07-05 15:55:31 +00:00
concurrent tst_QtConcurrentThreadEngine: fix UB (uninitialized boolean) 2024-07-06 10:17:50 +00:00
corelib JNI: Constrain QJniArray::toContainer to compatible target containers 2024-07-20 01:13:40 +00:00
dbus QDBusSignature: accept empty strings as valid 2024-05-10 13:17:20 -07:00
gui Logging: use qCDebug/Warning/Info when for categorized logging 2024-07-17 01:49:15 +00:00
guiapplauncher Convert "Color Editor Factory" Example to snippets 2024-04-19 13:39:41 +02:00
network QHttp2Connection: Add test for CONTINUATION frames 2024-07-17 10:32:58 +00:00
opengl tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
other Fix accessibility of list views with underlying multi-column model 2024-06-26 22:52:30 +00:00
printsupport PDF: add support for PDF/X-4 2024-07-08 12:46:00 +00:00
shared Introduce flag to use typographical line metrics for fonts 2024-05-31 19:30:53 +02:00
sql Tests/QSqlQuery: misc fixes for MsSQL ODBC Server 2024-07-05 15:55:30 +00:00
testlib QtTest 3rdparty: isolate Catch2 part as a 3rdparty component 2024-07-12 13:45:55 +02:00
tools tst_macdeployqt: Only pass -use-debug-libs for debug-and-release builds 2024-07-19 13:42:22 +00:00
wasm Add copyright and licensing to build system files missing it 2024-05-21 17:23:21 +02:00
widgets Revert "Update window state in QWindowsWindow and QXcbWindow geometry setters" 2024-07-17 01:49:09 +00:00
xml Add copyright and licensing to build system files missing it 2024-05-21 17:23:21 +02:00
CMakeLists.txt tst_QSettings: port to QTEST_THROW_ON_FAIL 2024-06-27 06:06:02 +00:00
network-settings.h Change license for tests files 2024-02-04 09:56:42 +01:00