summaryrefslogtreecommitdiff
path: root/tests/webchannel/tst_webchannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/webchannel/tst_webchannel.cpp')
-rw-r--r--tests/webchannel/tst_webchannel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/webchannel/tst_webchannel.cpp b/tests/webchannel/tst_webchannel.cpp
index 698b5e2..3b90744 100644
--- a/tests/webchannel/tst_webchannel.cpp
+++ b/tests/webchannel/tst_webchannel.cpp
@@ -164,6 +164,7 @@ void TestWebChannel::testInfoForObject()
QJsonArray expected;
{
QJsonArray property;
+ property.append(obj.metaObject()->indexOfProperty("objectName"));
property.append(QStringLiteral("objectName"));
{
QJsonArray signal;
@@ -176,6 +177,7 @@ void TestWebChannel::testInfoForObject()
}
{
QJsonArray property;
+ property.append(obj.metaObject()->indexOfProperty("foo"));
property.append(QStringLiteral("foo"));
{
QJsonArray signal;
@@ -186,6 +188,7 @@ void TestWebChannel::testInfoForObject()
}
{
QJsonArray property;
+ property.append(obj.metaObject()->indexOfProperty("asdf"));
property.append(QStringLiteral("asdf"));
{
QJsonArray signal;
@@ -198,6 +201,7 @@ void TestWebChannel::testInfoForObject()
}
{
QJsonArray property;
+ property.append(obj.metaObject()->indexOfProperty("bar"));
property.append(QStringLiteral("bar"));
{
QJsonArray signal;