NetworkManager/libnm-core
Thomas Haller d19a403faa libnm/test: add unit test with consistency checks about NMSetting type info
Add test for checking the meta data for expected consistency.

This is also useful if you want to check something about the meta data
programatically.

For example, if you have the question which (if any) properties
are GObject based but also implement a to_dbus_fcn() function. Then you
can extend this code with some simple printf debugging to get a list of
those.

Or, if you want to find how many NMSettInfoProperty instances are in
static data (e.g. to determine how much memory is used). You can easily
modify this code to count them (and find 447 properties). Out of these,
326 are plain GObject based properties. Meaning, we could refactor the
code to create smaller NMSettInfoProperty instances for those, saving
thus (326 * 4 * sizeof (gpointer)) bytes (10K).

Such questions are interesting when refactoring the code.
2019-09-21 22:01:29 +02:00
..
tests libnm/test: add unit test with consistency checks about NMSetting type info 2019-09-21 22:01:29 +02:00
meson.build libnm-core: add ovs-dpdk setting 2019-06-14 12:10:20 +02:00
nm-connection-private.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-connection.c setting-gsm: add auto-config property 2019-09-11 14:32:05 +02:00
nm-connection.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-core-enum-types.c.template libnm-core: add ovs-dpdk setting 2019-06-14 12:10:20 +02:00
nm-core-enum-types.h.template build: use template files for enum types' sources generation 2017-12-18 11:25:06 +01:00
nm-core-internal.h libnm/test: add unit test with consistency checks about NMSetting type info 2019-09-21 22:01:29 +02:00
nm-core-types-internal.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-core-types.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-crypto-gnutls.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-crypto-impl.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-crypto-nss.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-crypto.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-crypto.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dbus-interface.h libnm: export reload flags 2019-09-17 09:30:18 +02:00
nm-dbus-utils.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-errors.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-errors.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-json.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-json.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-keyfile-internal.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-keyfile-utils.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-keyfile-utils.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-keyfile.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-property-compare.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-property-compare.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-6lowpan.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-6lowpan.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-8021x.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-8021x.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-adsl.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-adsl.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-bluetooth.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-bluetooth.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-bond.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-bond.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-bridge-port.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-bridge-port.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-bridge.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-bridge.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-cdma.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-cdma.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-connection.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-connection.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-dcb.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-dcb.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-dummy.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-dummy.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ethtool.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ethtool.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-generic.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-generic.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-gsm.c setting-gsm: allow empty apn property in verify() 2019-09-11 14:32:05 +02:00
nm-setting-gsm.h setting-gsm: add auto-config property 2019-09-11 14:32:05 +02:00
nm-setting-infiniband.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-infiniband.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ip-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ip-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ip-tunnel.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ip-tunnel.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ip4-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ip4-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ip6-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ip6-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-macsec.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-macsec.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-macvlan.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-macvlan.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-match.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-match.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-olpc-mesh.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-olpc-mesh.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ovs-bridge.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ovs-bridge.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ovs-dpdk.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ovs-dpdk.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ovs-interface.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ovs-interface.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ovs-patch.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ovs-patch.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ovs-port.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ovs-port.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ppp.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-ppp.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-pppoe.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-pppoe.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-private.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-proxy.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-proxy.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-serial.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-serial.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-sriov.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-sriov.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-tc-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-tc-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-team-port.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-team-port.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-team.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-team.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-tun.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-tun.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-user.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-user.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-vlan.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-vlan.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-vpn.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-vpn.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-vxlan.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-vxlan.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wifi-p2p.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wifi-p2p.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wimax.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wimax.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wired.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wired.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wireguard.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wireguard.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wireless-security.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wireless-security.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wireless.c libnm-core: support SAE when determining AP compatibility 2019-09-20 13:18:18 +02:00
nm-setting-wireless.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wpan.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting-wpan.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-setting.c libnm/test: add unit test with consistency checks about NMSetting type info 2019-09-21 22:01:29 +02:00
nm-setting.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-simple-connection.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-simple-connection.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-team-utils.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-team-utils.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-utils-private.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-utils.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-utils.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-version.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-vpn-dbus-interface.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-vpn-editor-plugin.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-vpn-editor-plugin.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-vpn-plugin-info.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-vpn-plugin-info.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00