diff options
author | Thomas Haller <thaller@redhat.com> | 2015-12-21 10:22:33 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-12-24 11:42:37 +0100 |
commit | bc06dd9332f557fb1848b3c50a102e0d35ad9205 (patch) | |
tree | ed47c2fef46e0fb613fc810ee9f311e16ad206d4 /libnm/tests/test-remote-settings-client.c | |
parent | fa3093e16721b1617b6e5fcb2cd36c5eff13e2eb (diff) | |
download | NetworkManager-bc06dd9332f557fb1848b3c50a102e0d35ad9205.tar.gz |
libnm/tests: rename test functions to follow common pattern
Like the test utility functions in nm-test-utils.h and
platform's common.h, rename the helper functions to have
a nmtst(c) prefix.
Diffstat (limited to 'libnm/tests/test-remote-settings-client.c')
-rw-r--r-- | libnm/tests/test-remote-settings-client.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libnm/tests/test-remote-settings-client.c b/libnm/tests/test-remote-settings-client.c index 613287bca5..1a3c7988a2 100644 --- a/libnm/tests/test-remote-settings-client.c +++ b/libnm/tests/test-remote-settings-client.c @@ -24,14 +24,9 @@ #include <sys/types.h> #include <signal.h> -#include <NetworkManager.h> - -#include "nm-default.h" #include "nm-test-libnm-utils.h" -#include "nm-test-utils.h" - -static NMTestServiceInfo *sinfo; +static NMTstcServiceInfo *sinfo; static NMClient *client = NULL; GDBusConnection *bus = NULL; NMRemoteConnection *remote = NULL; @@ -517,7 +512,7 @@ main (int argc, char **argv) bus = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error); g_assert_no_error (error); - sinfo = nm_test_service_init (); + sinfo = nmtstc_service_init (); client = nm_client_new (NULL, &error); g_assert_no_error (error); @@ -536,7 +531,7 @@ main (int argc, char **argv) ret = g_test_run (); - nm_test_service_cleanup (sinfo); + nmtstc_service_cleanup (sinfo); g_object_unref (client); g_object_unref (bus); |