qt5base-lts/tests/auto/dbus/qdbuspendingreply
Thiago Macieira dc131e3a53 Make QDBusPendingReply behave like QDBusReply when dealing with errors
QDBusReply allows one to extract a QVariant and the type reply from an
error reply and getting a default-constructed value. This is useful when
a valid reply can never contain the default-constructed value (0, false,
empty strings, empty arrays, etc.), so it simplifies error checking.

More importantly, qdbusxml2cpp was changed a while ago from generating
QDBusReply to generating QDBusPendingReply, so we need to have the same
behavior.

Task-number: QTBUG-29046
Change-Id: Ia873b9fd4311c0d4e94f0ef623ba405c20bc0e8c
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2013-01-14 13:03:50 +01:00
..
.gitignore Moved dbus autotests into new directory structure 2011-09-01 09:37:08 +02:00
qdbuspendingreply.pro Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
tst_qdbuspendingreply.cpp Make QDBusPendingReply behave like QDBusReply when dealing with errors 2013-01-14 13:03:50 +01:00