NetworkManager/libnm-core/tests
Dan Winship 002b19f4f1 libnm-core: add dbus-only properties to NMSettingClass
Add _nm_setting_class_add_dbus_only_property(), for declaring
properties that appear in the D-Bus serialization, but which don't
correspond to GObject properties.

Since some property overrides will require examining settings other
than the setting that they are on (eg, the value of
802-11-wireless.security depends on whether an
NMSettingWirelessSecurity setting is present, and
NMSettingConnection:interface-name might sometimes be set from, eg,
bond.interface-name), we also update _nm_setting_to_dbus() to take the
full NMConnection as an argument, and _nm_setting_new_from_dbus() to
take the full connection hash.

Additionally, with some deprecated properties, we'll want to validate
them on construction, but we don't need to keep the value around after
that. So allow _nm_setting_new_from_dbus() to return a verification
error directly, so we don't need to store the value until the verify()
call.
2014-09-04 09:17:37 -04:00
..
Makefile.am libnm-core, libnm-util: convert test-crypto, test-setting-8021x.c to gtestutils 2014-08-07 15:57:19 -04:00
test-crypto.c libnm-core, libnm-util: convert test-crypto, test-setting-8021x.c to gtestutils 2014-08-07 15:57:19 -04:00
test-general.c libnm-core: add dbus-only properties to NMSettingClass 2014-09-04 09:17:37 -04:00
test-secrets.c libnm-core: rename NMConnection to/from_hash methods 2014-09-04 09:17:36 -04:00
test-setting-8021x.c libnm-core, libnm-util: convert test-crypto, test-setting-8021x.c to gtestutils 2014-08-07 15:57:19 -04:00
test-setting-dcb.c libnm: add libnm/libnm-core (part 2) 2014-08-01 14:34:04 -04:00
test-settings-defaults.c libnm: add libnm/libnm-core (part 2) 2014-08-01 14:34:04 -04:00