From a83eb773cea118fb4b2b6c3bce03316f73b29b61 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sun, 2 Oct 2016 18:22:50 +0200 Subject: all: modify line separator comments to be 80 chars wide sed 's#^/\*\{5\}\*\+/$#/*****************************************************************************/#' $(git grep -l '\*\{5\}' | grep '\.[hc]$') -i --- libnm/tests/test-nm-client.c | 16 ++++++++-------- libnm/tests/test-remote-settings-client.c | 16 ++++++++-------- libnm/tests/test-secret-agent.c | 14 +++++++------- 3 files changed, 23 insertions(+), 23 deletions(-) (limited to 'libnm/tests') diff --git a/libnm/tests/test-nm-client.c b/libnm/tests/test-nm-client.c index 3a7c4d5dde..a45d47c2a7 100644 --- a/libnm/tests/test-nm-client.c +++ b/libnm/tests/test-nm-client.c @@ -29,7 +29,7 @@ static GMainLoop *loop = NULL; static NMTstcServiceInfo *sinfo; -/*******************************************************************/ +/*****************************************************************************/ static gboolean loop_quit (gpointer user_data) @@ -38,7 +38,7 @@ loop_quit (gpointer user_data) return G_SOURCE_REMOVE; } -/*******************************************************************/ +/*****************************************************************************/ static void devices_notify_cb (NMClient *c, @@ -107,7 +107,7 @@ test_device_added (void) g_clear_pointer (&sinfo, nmtstc_service_cleanup); } -/*******************************************************************/ +/*****************************************************************************/ typedef enum { SIGNAL_FIRST = 0x01, @@ -206,7 +206,7 @@ test_device_added_signal_after_init (void) g_clear_pointer (&sinfo, nmtstc_service_cleanup); } -/*******************************************************************/ +/*****************************************************************************/ static const char *expected_bssid = "66:55:44:33:22:11"; @@ -405,7 +405,7 @@ test_wifi_ap_added_removed (void) g_clear_pointer (&sinfo, nmtstc_service_cleanup); } -/*******************************************************************/ +/*****************************************************************************/ static const char *expected_nsp_name = "Clear"; @@ -604,7 +604,7 @@ test_wimax_nsp_added_removed (void) g_clear_pointer (&sinfo, nmtstc_service_cleanup); } -/*******************************************************************/ +/*****************************************************************************/ typedef struct { GMainLoop *loop; @@ -1228,7 +1228,7 @@ test_device_connection_compatibility (void) g_clear_pointer (&sinfo, nmtstc_service_cleanup); } -/*******************************************************************/ +/*****************************************************************************/ static gboolean _test_connection_invalid_find_connections (gpointer element, gpointer needle, gpointer user_data) @@ -1568,7 +1568,7 @@ test_connection_invalid (void) #undef ASSERT_IDX } -/*******************************************************************/ +/*****************************************************************************/ NMTST_DEFINE (); diff --git a/libnm/tests/test-remote-settings-client.c b/libnm/tests/test-remote-settings-client.c index 8f59656d75..fda943c804 100644 --- a/libnm/tests/test-remote-settings-client.c +++ b/libnm/tests/test-remote-settings-client.c @@ -31,7 +31,7 @@ static NMClient *client = NULL; GDBusConnection *bus = NULL; NMRemoteConnection *remote = NULL; -/*******************************************************************/ +/*****************************************************************************/ static void add_cb (GObject *s, @@ -87,7 +87,7 @@ test_add_connection (void) g_object_unref (connection); } -/*******************************************************************/ +/*****************************************************************************/ static void set_visible_cb (GObject *proxy, @@ -194,7 +194,7 @@ test_make_invisible (void) g_object_unref (proxy); } -/*******************************************************************/ +/*****************************************************************************/ static void vis_new_connection_cb (NMClient *foo, @@ -271,7 +271,7 @@ test_make_visible (void) g_object_unref (proxy); } -/*******************************************************************/ +/*****************************************************************************/ static void deleted_cb (GObject *proxy, @@ -354,7 +354,7 @@ test_remove_connection (void) g_object_unref (proxy); } -/*******************************************************************/ +/*****************************************************************************/ #define TEST_ADD_REMOVE_ID "add-remove-test-connection" @@ -413,7 +413,7 @@ test_add_remove_connection (void) g_object_unref (connection); } -/*******************************************************************/ +/*****************************************************************************/ static void add_bad_cb (GObject *s, @@ -456,7 +456,7 @@ test_add_bad_connection (void) g_assert (remote == NULL); } -/*******************************************************************/ +/*****************************************************************************/ static void save_hostname_cb (GObject *s, @@ -495,7 +495,7 @@ test_save_hostname (void) g_assert (remote == NULL); } -/*******************************************************************/ +/*****************************************************************************/ NMTST_DEFINE (); diff --git a/libnm/tests/test-secret-agent.c b/libnm/tests/test-secret-agent.c index 9756186681..e4ebe3e0e9 100644 --- a/libnm/tests/test-secret-agent.c +++ b/libnm/tests/test-secret-agent.c @@ -28,7 +28,7 @@ #include "nm-test-libnm-utils.h" -/*******************************************************************/ +/*****************************************************************************/ enum { SECRET_REQUESTED, @@ -176,7 +176,7 @@ test_secret_agent_new (void) return agent; } -/*******************************************************************/ +/*****************************************************************************/ typedef struct { NMTstcServiceInfo *sinfo; @@ -341,7 +341,7 @@ test_cleanup (TestSecretAgentData *sadata, gconstpointer test_data) g_free (sadata->con_id); } -/*******************************************************************/ +/*****************************************************************************/ static void connection_activated_none_cb (GObject *c, @@ -371,7 +371,7 @@ test_secret_agent_none (TestSecretAgentData *sadata, gconstpointer test_data) g_main_loop_run (sadata->loop); } -/*******************************************************************/ +/*****************************************************************************/ static char * secrets_requested_no_secrets_cb (TestSecretAgent *agent, @@ -422,7 +422,7 @@ test_secret_agent_no_secrets (TestSecretAgentData *sadata, gconstpointer test_da g_assert_cmpint (sadata->secrets_requested, ==, 1); } -/*******************************************************************/ +/*****************************************************************************/ static void connection_activated_cancel_cb (GObject *c, @@ -473,7 +473,7 @@ test_secret_agent_cancel (TestSecretAgentData *sadata, gconstpointer test_data) g_assert_cmpint (sadata->secrets_requested, ==, 1); } -/*******************************************************************/ +/*****************************************************************************/ static void connection_activated_good_cb (GObject *c, @@ -618,7 +618,7 @@ test_secret_agent_auto_register (void) g_main_loop_unref (loop); } -/*******************************************************************/ +/*****************************************************************************/ NMTST_DEFINE (); -- cgit v1.2.1