NetworkManager/src/tests
Thomas Haller c48a19b7c6 device: keep NMNetns instance per device
This also ensures that we own a reference to the
NMPlatform, NMRouteManager and NMDefaultRouteManager
instances. See bug rh#1440089 where we might access
the singleton getter after destroing the singleton
instance of NMRouteManager. This is prevented by
keeping a reference to those instances -- indirectly
via the netns instance.

Later, we may add support for multiple namespaces. Then it might
make sense to swap the NMNetns instance of a device when moving
the device between namespaces.

Also, drop the use of singelton instances.

https://bugzilla.redhat.com/show_bug.cgi?id=1440089
2017-04-18 15:49:14 +02:00
..
config config: drop nm_config_get_dhcp_client() and access config directly 2016-11-25 18:02:38 +01:00
test-dcb.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
test-general-with-expect.c all: use "unsigned long" instead of "long unsigned" 2017-03-14 11:23:46 +01:00
test-general.c tests/general: allow error margin on comparing floats 2017-03-28 13:52:27 +02:00
test-ip4-config.c build: don't add subdirectories to include search path but require qualified include 2016-11-21 14:26:37 +01:00
test-ip6-config.c platform: support preferred source option for IPv6 routes 2017-03-06 15:20:25 +01:00
test-resolvconf-capture.c build: don't add subdirectories to include search path but require qualified include 2016-11-21 14:26:37 +01:00
test-route-manager.c device: keep NMNetns instance per device 2017-04-18 15:49:14 +02:00
test-secret-agent.py python: make test-secret-agent.py python3 ready 2016-12-14 19:00:42 +01:00
test-systemd.c logging: log device and connection along with the message 2017-03-24 12:42:09 +01:00
test-utils.c core: add assertions for network_id/stable_type 2017-01-09 14:50:33 +01:00
test-wired-defname.c build: don't add subdirectories to include search path but require qualified include 2016-11-21 14:26:37 +01:00