qt6-bb10/tests/auto
Marc Mutz e2ffa8ddf6 Port tst_QFormDataBuilder to new style [6/6]: picksUtf8NameEncodingIfAsciiDoesNotSuffice()
We don't want to have to rely on QDebug:toString() and the private
QFormDataPartBuilder::build() function for checks, so use the
framework originally introduced by Máté for the the moveSemantics()
test for picksUtf8NameEncodingIfAsciiDoesNotSuffice(), too.

Requires to revert the needles from QString back to QByteArray.

This completes the port away from QFormDataPartBuilder::build() use in
the tests, allowing us to remove the tst_QFormDataBuilder friend
declaration and unexport build().

Task-number: QTBUG-125985
Change-Id: Icae84f54c6f768e097b36b4c4f964eeb6d676809
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
(cherry picked from commit d0b0fe76663a4c7fe007cb66afa936ea7fe3d918)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-06-20 23:11:01 +00:00
..
bic/data Add binary compatibility file for 6.7.0 2024-04-17 10:18:37 +00:00
cmake Remove GENERATE_CPP_EXPORTS argument 2024-06-13 14:39:17 +00:00
concurrent Fix truncation warning in generation_helpers 2024-03-18 20:10:34 +01:00
corelib Skip tst_QFuture::whenAllDifferentTypes and whenAnyDifferentTypes on VxWorks 2024-06-20 19:30:41 +00:00
dbus QDBusSignature: accept empty strings as valid 2024-05-10 13:17:20 -07:00
gui QTextHtmlParser: parse border color correctly 2024-06-20 22:59:08 +00:00
guiapplauncher Convert "Color Editor Factory" Example to snippets 2024-04-19 13:39:41 +02:00
network Port tst_QFormDataBuilder to new style [6/6]: picksUtf8NameEncodingIfAsciiDoesNotSuffice() 2024-06-20 23:11:01 +00:00
opengl tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
other a11y: Notify of name change when setting window title used as a11y name 2024-05-22 08:50:31 +02:00
printsupport Change license for tests files 2024-02-04 09:56:42 +01:00
shared Introduce flag to use typographical line metrics for fonts 2024-05-31 19:30:53 +02:00
sql SQL/IBase: add partial support for SQL_INT128 datatype 2024-06-05 13:16:46 +00:00
testlib Fix misspelled QTEST_THROW_ON_FAILURE 2024-06-17 23:17:50 +00:00
tools tst_moc: fix 'inline function used but never defined' GCC warning 2024-06-18 08:09:09 +00:00
wasm Add copyright and licensing to build system files missing it 2024-05-21 17:23:21 +02:00
widgets Let QWindowContainer know when its top level is about to be destroyed 2024-06-20 19:30:49 +00:00
xml Add copyright and licensing to build system files missing it 2024-05-21 17:23:21 +02:00
CMakeLists.txt wasm: Enable qstandardpaths test 2024-05-06 16:01:28 +02:00
network-settings.h Change license for tests files 2024-02-04 09:56:42 +01:00