QCoapReply: add test for a chunked read


QCoapReply is a QIODevice, but it was not obvious if readData() is
implemented properly, or if it also needed to update pos().

This patch adds a unit test that checks a chunked read from the reply.
The test passes, so nothing needs to be fixed in the implementation.

Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I0642718f21a31cf978a733bc3bc742ad1eb47b3a
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
commitf310b4a5a296cc4ec8d3a3d81856cb9e4d74bd6a
parenta292490ba6c5768acac173f1159e9b51084a079e
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeWed, 30 Jul 2025 09:32:54 +0200