diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-07-16 15:55:42 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-07-27 21:09:58 -0700 |
commit | 990c18d9c7e532e2a10072f54b0f36dbad5b2f41 (patch) | |
tree | ed897722fc4528b06209c37f48d1dee03369908e /src | |
parent | b01051dda76f45e838ead08dc9ba10c449781067 (diff) |
tst_QMetaObject: add a test for using Q_ARG with a non-const ref
This is in use in tst_qdbusinterface.cpp, so let's have it here to make
sure it works:
QVERIFY(QMetaObject::invokeMethod(&iface, "ping",
Q_RETURN_ARG(QDBusVariant, retArg),
Q_ARG(QDBusVariant, arg),
Q_ARG(QDBusVariant, arg2),
Q_ARG(QDBusVariant&, retArg2)));
Change-Id: I36b24183fbd041179f2ffffd170271424c048292
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions