From 3a08d90ec7e043a29ae471fa291b2db5e8e7fc62 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sun, 1 Jan 2012 20:43:51 +0100 Subject: [PATCH] controller: remove nonsense parts from test object property descriptions --- tests/check/gst/gstcontroller.c | 15 +++++++-------- tests/check/libs/controller.c | 15 +++++++-------- tests/examples/controller/control-sources.c | 8 ++++---- 3 files changed, 18 insertions(+), 20 deletions(-) diff --git a/tests/check/gst/gstcontroller.c b/tests/check/gst/gstcontroller.c index 9c1fb51..393894a 100644 --- a/tests/check/gst/gstcontroller.c +++ b/tests/check/gst/gstcontroller.c @@ -134,43 +134,42 @@ gst_test_obj_class_init (GstTestObjClass * klass) g_object_class_install_property (gobject_class, PROP_INT, g_param_spec_int ("int", "int prop", - "int number parameter for the test_mono_source", + "int number parameter", 0, 100, 0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_FLOAT, g_param_spec_float ("float", "float prop", - "float number parameter for the test_mono_source", + "float number parameter", 0.0, 100.0, 0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_DOUBLE, g_param_spec_double ("double", "double prop", - "double number parameter for the test_mono_source", + "double number parameter", 0.0, 100.0, 0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_BOOLEAN, g_param_spec_boolean ("boolean", "boolean prop", - "boolean parameter for the test_mono_source", + "boolean parameter", FALSE, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_READONLY, g_param_spec_int ("readonly", "readonly prop", - "readonly parameter for the test_mono_source", + "readonly parameter", 0, G_MAXINT, 0, G_PARAM_READABLE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_STATIC, g_param_spec_int ("static", "static prop", - "static parameter for the test_mono_source", - 0, G_MAXINT, 0, G_PARAM_READWRITE)); + "static parameter", 0, G_MAXINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_CONSTRUCTONLY, g_param_spec_int ("construct-only", "construct-only prop", - "construct-only parameter for the test_mono_source", + "construct-only parameter", 0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } diff --git a/tests/check/libs/controller.c b/tests/check/libs/controller.c index a37d8c9..d07f122 100644 --- a/tests/check/libs/controller.c +++ b/tests/check/libs/controller.c @@ -136,43 +136,42 @@ gst_test_obj_class_init (GstTestObjClass * klass) g_object_class_install_property (gobject_class, PROP_INT, g_param_spec_int ("int", "int prop", - "int number parameter for the test_mono_source", + "int number parameter", 0, 100, 0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_FLOAT, g_param_spec_float ("float", "float prop", - "float number parameter for the test_mono_source", + "float number parameter", 0.0, 100.0, 0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_DOUBLE, g_param_spec_double ("double", "double prop", - "double number parameter for the test_mono_source", + "double number parameter", 0.0, 100.0, 0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_BOOLEAN, g_param_spec_boolean ("boolean", "boolean prop", - "boolean parameter for the test_mono_source", + "boolean parameter", FALSE, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_READONLY, g_param_spec_int ("readonly", "readonly prop", - "readonly parameter for the test_mono_source", + "readonly parameter", 0, G_MAXINT, 0, G_PARAM_READABLE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_STATIC, g_param_spec_int ("static", "static prop", - "static parameter for the test_mono_source", - 0, G_MAXINT, 0, G_PARAM_READWRITE)); + "static parameter", 0, G_MAXINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_CONSTRUCTONLY, g_param_spec_int ("construct-only", "construct-only prop", - "construct-only parameter for the test_mono_source", + "construct-only parameter", 0, G_MAXINT, 0, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); } diff --git a/tests/examples/controller/control-sources.c b/tests/examples/controller/control-sources.c index 30aa482..e1e19b5 100644 --- a/tests/examples/controller/control-sources.c +++ b/tests/examples/controller/control-sources.c @@ -117,25 +117,25 @@ gst_test_obj_class_init (GstTestObjClass * klass) g_object_class_install_property (gobject_class, PROP_INT, g_param_spec_int ("int", "int prop", - "int number parameter for the TEST_OBJ", + "int number parameter", 0, 100, 0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_FLOAT, g_param_spec_float ("float", "float prop", - "float number parameter for the TEST_OBJ", + "float number parameter", 0.0, 100.0, 0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_DOUBLE, g_param_spec_double ("double", "double prop", - "double number parameter for the TEST_OBJ", + "double number parameter", 0.0, 100.0, 0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, PROP_BOOLEAN, g_param_spec_boolean ("boolean", "boolean prop", - "boolean parameter for the TEST_OBJ", + "boolean parameter", FALSE, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); } -- 2.7.4