NetworkManager/libnm-core/tests
Dan Winship ca9938f458 libnm-core: drop NMParamSpecSpecialized, add nm_property_compare()
NMParamSpecSpecialized existed basically to provide a version of
GParamSpecBoxed that could compare dbus-glib-valued properties
correctly.

However, g_param_values_cmp() was only used by NM directly in one
place (NMSetting's compare_property()), and we don't actually need to
indirect through GParamSpec there; we could just call
NMParamSpecSpecialized's value-comparison function directly.

So, change all NMParamSpecSpecialized properties to GParamSpecBoxed,
rename the _gvalues_compare() function it used to
"nm_property_compare()", and use that from NMSetting.

(g_param_values_cmp() also gets used internally by
g_param_value_defaults(), but all NMParamSpecSpecialized properties
have a default value of NULL, so GParamSpecBoxed's pointer-equality
check will do the job just fine there.)
2014-09-04 09:20:10 -04:00
..
Makefile.am libnm-core: fix up the new property-comparison test program 2014-09-04 09:20:09 -04:00
test-compare.c libnm-core: drop NMParamSpecSpecialized, add nm_property_compare() 2014-09-04 09:20:10 -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: drop :interface-name properties on virtual NMSetting types 2014-09-04 09:18:44 -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