NetworkManager/src/libnm-core-impl/tests
Thomas Haller 7e7d2d173a
libnm: add compare_fcn() to property meta data
So far, we only have NMSettingClass.compare_property() hook.
The ugliness is that this hook is per-setting, when basically
all implementations only compare one property.

It feels cleaner to have a per-property hook and call that consistently.

In step one, we give all properties (the same) compare_fcn() implementation,
which delegates to the existing NMSettingClass.compare_property().
In a second step, this will be untangled.

There is one problem with this approach: NMSettInfoPropertType grows by
one pointer size, and we have potentially many such types. That should
be addressed by unifying types in the future.
2021-07-16 13:31:57 +02:00
..
certs build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
meson.build build: fix linking libnm-log-null into different test programs 2021-07-05 14:51:27 +02:00
nm-core-tests-enum-types.c.template build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-core-tests-enum-types.h.template build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
test-compare.c shared: move "nm-test-utils.h" to "src/libnm-glib-aux/" 2021-02-24 12:48:33 +01:00
test-crypto.c shared: move "nm-test-utils.h" to "src/libnm-glib-aux/" 2021-02-24 12:48:33 +01:00
test-general-enums.h build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
test-general.c all: add a new ipv{4,6}.required-timeout property 2021-07-05 15:15:44 +02:00
test-keyfile.c libnm/trivial: rename _nm_keyfile_equals() to _nm_keyfile_equal() 2021-05-27 09:56:41 +02:00
test-secrets.c all: use nm_g_variant_singleton_a*() helpers 2021-04-16 11:44:19 +02:00
test-setting.c libnm: add compare_fcn() to property meta data 2021-07-16 13:31:57 +02:00
test-settings-defaults.c shared: move "nm-test-utils.h" to "src/libnm-glib-aux/" 2021-02-24 12:48:33 +01:00