NetworkManager/libnm-core/tests
Thomas Haller 60800b33b4
all: drop unnecessary cast of g_object_new()
Our cast macros (like NM_AUTH_SUBJECT()) are plain C pointer casts,
unless when building with more asserts enabled.

Still, they are unnecessary and even their ability to check the type
(with more asserts) is not needed, because we must trust glib's
g_object_new() to return reasonable objects. That is a basic
requirement, that we don't need to assert against.

Also, in the majority of cases we don't do this either.
2021-02-08 17:02:09 +01:00
..
certs libnm/crypto: accept TPM2-wrapped PEM keys 2019-07-10 17:31:48 +02:00
meson.build build/meson: cleanup "libnm-core/tests/meson.build" 2021-01-27 21:20:35 +01:00
nm-core-tests-enum-types.c.template build: use template files for enum types' sources generation 2017-12-18 11:25:06 +01:00
nm-core-tests-enum-types.h.template build: use template files for enum types' sources generation 2017-12-18 11:25:06 +01:00
test-compare.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
test-crypto.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
test-general-enums.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
test-general.c all: drop unnecessary cast of g_object_new() 2021-02-08 17:02:09 +01:00
test-keyfile.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
test-secrets.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
test-setting.c libnm,shared: move nm-ethtool helper to "libnm-base" 2021-01-15 11:32:41 +01:00
test-settings-defaults.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00