diff options
| author | Ivan Solovev <ivan.solovev@qt.io> | 2025-07-15 16:00:18 +0200 |
|---|---|---|
| committer | Ivan Solovev <ivan.solovev@qt.io> | 2025-07-17 18:07:57 +0200 |
| commit | aa8d2c237a6930fca8a5741a5589a0d58e198d20 (patch) | |
| tree | 2ac750db282d0620f378d5f4cb73bbca456ab146 /src/corelib/doc/snippets | |
| parent | 9fd9845d1f631169b46457cfa3f7e8aee5347459 (diff) | |
QDBusPendingReply: add tests for proper copy/move operations
Constructing a QDBusPendingReply from a QDBusPendingCall involves some
extra steps on the d_ptr. Specifically, it populates the expected reply
signature based on the provided types.
Add tests that make sure that these extra steps are actually executed,
and also check that copy/move of QDBusPedningReply does not invalidate
this reply signature.
These tests are prerequisites for the QDBusPendingReply SMF refactoring.
The tests access the internals of QDBusPendingCallPrivate, so we have
to link to QtDBusPrivate and add tst_QDBusPendingReply as a friend to
QDBusPendigCall.
Pick-to: 6.10
Change-Id: I8a2cae603321a5faa0dd1caf9401b84018617c9f
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets')
0 files changed, 0 insertions, 0 deletions
