aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/client/convertertest.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/client/convertertest.cpp b/tests/client/convertertest.cpp
index 89e1de4..32d6091 100644
--- a/tests/client/convertertest.cpp
+++ b/tests/client/convertertest.cpp
@@ -177,6 +177,12 @@ private Q_SLOTS:
QVERIFY(compare(QVariantMap({{"fooBar", 0xdeadbeef}}), G_VARIANT_TYPE_VARDICT));
}
+ void testListToGVariant()
+ {
+ // List
+ QVERIFY(compare(QVariantList({"42", 53}), G_VARIANT_TYPE("(si)")));
+ }
+
void testBooleanToQVariant()
{
// Boolean