From 9711c5497509a567166ed785563373e5152aec04 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 5 Aug 2005 06:57:27 +0000 Subject: [PATCH] cosmetic fixes Original commit message from CVS: cosmetic fixes --- check/gst-libs/controller.c | 17 +++++++++-------- tests/check/libs/controller.c | 17 +++++++++-------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/check/gst-libs/controller.c b/check/gst-libs/controller.c index a22a4abeda..5fde800069 100644 --- a/check/gst-libs/controller.c +++ b/check/gst-libs/controller.c @@ -163,7 +163,8 @@ GST_PLUGIN_DEFINE_STATIC (GST_VERSION_MAJOR, gst_controller_init (NULL, NULL); } -GST_END_TEST +GST_END_TEST; + /* tests for an element with no controlled params */ GST_START_TEST (controller_new_fail) { @@ -172,7 +173,7 @@ GST_START_TEST (controller_new_fail) elem = gst_element_factory_make ("fakesrc", "test_source"); - /* that property should not exists */ + /* that property should not exist */ ctrl = gst_controller_new (G_OBJECT (elem), "_schrompf_", NULL); fail_unless (ctrl == NULL, NULL); @@ -183,7 +184,8 @@ GST_START_TEST (controller_new_fail) g_object_unref (elem); } -GST_END_TEST +GST_END_TEST; + /* tests for an element with controlled params */ GST_START_TEST (controller_new_okay) { @@ -200,17 +202,16 @@ GST_START_TEST (controller_new_okay) g_object_unref (elem); } -GST_END_TEST +GST_END_TEST; + /* @TODO write more tests (using an internal element that has controlable params) */ - Suite * gst_controller_suite (void) +Suite * +gst_controller_suite (void) { Suite *s = suite_create ("Controller"); TCase *tc = tcase_create ("general"); - /* turn off timeout */ - tcase_set_timeout (tc, 60); - suite_add_tcase (s, tc); tcase_add_test (tc, controller_init); tcase_add_test (tc, controller_new_fail); diff --git a/tests/check/libs/controller.c b/tests/check/libs/controller.c index a22a4abeda..5fde800069 100644 --- a/tests/check/libs/controller.c +++ b/tests/check/libs/controller.c @@ -163,7 +163,8 @@ GST_PLUGIN_DEFINE_STATIC (GST_VERSION_MAJOR, gst_controller_init (NULL, NULL); } -GST_END_TEST +GST_END_TEST; + /* tests for an element with no controlled params */ GST_START_TEST (controller_new_fail) { @@ -172,7 +173,7 @@ GST_START_TEST (controller_new_fail) elem = gst_element_factory_make ("fakesrc", "test_source"); - /* that property should not exists */ + /* that property should not exist */ ctrl = gst_controller_new (G_OBJECT (elem), "_schrompf_", NULL); fail_unless (ctrl == NULL, NULL); @@ -183,7 +184,8 @@ GST_START_TEST (controller_new_fail) g_object_unref (elem); } -GST_END_TEST +GST_END_TEST; + /* tests for an element with controlled params */ GST_START_TEST (controller_new_okay) { @@ -200,17 +202,16 @@ GST_START_TEST (controller_new_okay) g_object_unref (elem); } -GST_END_TEST +GST_END_TEST; + /* @TODO write more tests (using an internal element that has controlable params) */ - Suite * gst_controller_suite (void) +Suite * +gst_controller_suite (void) { Suite *s = suite_create ("Controller"); TCase *tc = tcase_create ("general"); - /* turn off timeout */ - tcase_set_timeout (tc, 60); - suite_add_tcase (s, tc); tcase_add_test (tc, controller_init); tcase_add_test (tc, controller_new_fail);