[epiphany] tests: apply style fixes suggested by Xan



commit e0072d45988b1154a19ea46a6f93c5ccc66cb9c1
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Fri Jan 15 16:32:38 2010 -0500

    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(-)
---
diff --git a/tests/testephylocationentry.c b/tests/testephylocationentry.c
index 5b691c4..099629b 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 1f6575c..2ed4e72 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 c74e151..02c628d 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 ();
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]