summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <[email protected]>2023-02-06 16:51:10 -0800
committerQt Cherry-pick Bot <[email protected]>2023-02-08 03:47:42 +0000
commit87370869563553ad9d33387d15af92b7758573d5 (patch)
tree4a4e444eb5e73cc45f3ef91a59fcad78b230a325
parentd0783c2c0c9e6b19a0fbf773b4ea9e86f2030e09 (diff)
tst_qdbusxml2cpp: test the old-style QDBusReply interface output too
Change-Id: I9671dee8ceb64aa9b9cafffd17416487c07f148a Reviewed-by: David Faure <[email protected]> (cherry picked from commit 0128c3742e92cd38e6bb5fadddae57f31cd01690) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
-rw-r--r--tests/auto/tools/qdbusxml2cpp/tst_qdbusxml2cpp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/tools/qdbusxml2cpp/tst_qdbusxml2cpp.cpp b/tests/auto/tools/qdbusxml2cpp/tst_qdbusxml2cpp.cpp
index 10bb410bd2f..f75790da6e9 100644
--- a/tests/auto/tools/qdbusxml2cpp/tst_qdbusxml2cpp.cpp
+++ b/tests/auto/tools/qdbusxml2cpp/tst_qdbusxml2cpp.cpp
@@ -234,7 +234,8 @@ void tst_qdbusxml2cpp::process_data()
"<arg type=\"s\" direction=\"out\"/>"
"<arg type=\"s\" direction=\"out\"/>"
"</method>"
- << QRegularExpression("Q_SLOTS:.*QDBusPendingReply<QString, QString> Method\\(const QString &\\w*, const QString &",
+ << QRegularExpression("Q_SLOTS:.*QDBusPendingReply<QString, QString> Method\\(const QString &\\w*, const QString &\\w*\\)"
+ ".*inline QDBusReply<QString> Method\\(const QString &\\w*, const QString &\\w*, QString &\\w*\\)",
QRegularExpression::DotMatchesEverythingOption)
<< QRegularExpression("Q_SLOTS:.*QString Method\\(const QString &\\w*, const QString &\\w*, QString &",
QRegularExpression::DotMatchesEverythingOption);