From e0072d45988b1154a19ea46a6f93c5ccc66cb9c1 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Fri, 15 Jan 2010 16:32:38 -0500 Subject: tests: apply style fixes suggested by Xan --- tests/testephylocationentry.c | 40 ++++++++++++++++------------------------ tests/testephysearchentry.c | 10 ++++------ tests/testephyzoomcontrol.c | 15 ++++++--------- 3 files changed, 26 insertions(+), 39 deletions(-) (limited to 'tests') diff --git a/tests/testephylocationentry.c b/tests/testephylocationentry.c index 5b691c432..099629bc6 100644 --- a/tests/testephylocationentry.c +++ b/tests/testephylocationentry.c @@ -142,30 +142,22 @@ main (int argc, char *argv[]) { gtk_test_init (&argc, &argv); - g_test_add_func ( - "/lib/widgets/ephy-location-entry/new", - test_entry_new); - g_test_add_func ( - "/lib/widgets/ephy-location-entry/get_entry", - test_entry_get_entry); - g_test_add_func ( - "/lib/widgets/ephy-location-entry/set_location", - test_entry_set_location); - g_test_add_func ( - "/lib/widgets/ephy-location-entry/get_location", - test_entry_get_location); - g_test_add_func ( - "/lib/widgets/ephy-location-entry/set_location_null", - test_entry_set_location_null); - g_test_add_func ( - "/lib/widgets/ephy-location-entry/get_location_empty", - test_entry_get_location_empty); - g_test_add_func ( - "/lib/widgets/ephy-location-entry/can_undo", - test_entry_can_undo); - g_test_add_func ( - "/lib/widgets/ephy-location-entry/can_redo", - test_entry_can_redo); + g_test_add_func ("/lib/widgets/ephy-location-entry/new", + test_entry_new); + g_test_add_func ("/lib/widgets/ephy-location-entry/get_entry", + test_entry_get_entry); + g_test_add_func ("/lib/widgets/ephy-location-entry/set_location", + test_entry_set_location); + g_test_add_func ("/lib/widgets/ephy-location-entry/get_location", + test_entry_get_location); + g_test_add_func ("/lib/widgets/ephy-location-entry/set_location_null", + test_entry_set_location_null); + g_test_add_func ("/lib/widgets/ephy-location-entry/get_location_empty", + test_entry_get_location_empty); + g_test_add_func ("/lib/widgets/ephy-location-entry/can_undo", + test_entry_can_undo); + g_test_add_func ("/lib/widgets/ephy-location-entry/can_redo", + test_entry_can_redo); return g_test_run (); } diff --git a/tests/testephysearchentry.c b/tests/testephysearchentry.c index 1f6575c5d..2ed4e72ca 100644 --- a/tests/testephysearchentry.c +++ b/tests/testephysearchentry.c @@ -65,12 +65,10 @@ main (int argc, char *argv[]) { gtk_test_init (&argc, &argv); - g_test_add_func ( - "/lib/widgets/ephy-search-entry/new", - test_entry_new); - g_test_add_func ( - "/lib/widgets/ephy-search-entry/clear", - test_entry_clear); + g_test_add_func ("/lib/widgets/ephy-search-entry/new", + test_entry_new); + g_test_add_func ("/lib/widgets/ephy-search-entry/clear", + test_entry_clear); return g_test_run (); } diff --git a/tests/testephyzoomcontrol.c b/tests/testephyzoomcontrol.c index c74e151d3..02c628d0f 100644 --- a/tests/testephyzoomcontrol.c +++ b/tests/testephyzoomcontrol.c @@ -67,15 +67,12 @@ main (int argc, char *argv[]) { gtk_test_init (&argc, &argv); - g_test_add_func ( - "/lib/widgets/ephy-zoom-control/new", - test_new); - g_test_add_func ( - "/lib/widgets/ephy-zoom-control/set_zoom_level", - test_set_zoom_level); - g_test_add_func ( - "/lib/widgets/ephy-zoom-control/get_zoom_level", - test_get_zoom_level); + g_test_add_func ("/lib/widgets/ephy-zoom-control/new", + test_new); + g_test_add_func ("/lib/widgets/ephy-zoom-control/set_zoom_level", + test_set_zoom_level); + g_test_add_func ("/lib/widgets/ephy-zoom-control/get_zoom_level", + test_get_zoom_level); return g_test_run (); } -- cgit v1.2.3