summaryrefslogtreecommitdiff
path: root/src/libnm-core-impl/tests/test-setting.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnm-core-impl/tests/test-setting.c')
-rw-r--r--src/libnm-core-impl/tests/test-setting.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libnm-core-impl/tests/test-setting.c b/src/libnm-core-impl/tests/test-setting.c
index 6a342bcca8..0572de1412 100644
--- a/src/libnm-core-impl/tests/test-setting.c
+++ b/src/libnm-core-impl/tests/test-setting.c
@@ -4402,6 +4402,11 @@ check_done:;
if (sip->property_type->typdata_to_dbus.gprop_type
!= NM_SETTING_PROPERTY_TO_DBUS_FCN_GPROP_TYPE_DEFAULT)
g_assert(!sip->to_dbus_data.gprop_to_dbus_fcn);
+ } else if (sip->property_type->to_dbus_fcn
+ == _nm_setting_property_to_dbus_fcn_get_boolean) {
+ g_assert(sip->param_spec);
+ g_assert(sip->param_spec->value_type == G_TYPE_BOOLEAN);
+ g_assert(sip->to_dbus_data.get_boolean);
}
g_assert(!sip->property_type->from_dbus_fcn