Bug 525550 – GTK+ 2.13.0 GtkCurve test fails

2008-11-12  Christian Dywan  <christian@imendio.com>

	Bug 525550 – GTK+ 2.13.0 GtkCurve test fails

	* gtk/tests/object.c (list_ignore_properties),
	(object_test_property), (main): Ignore GtkCurve when testing

svn path=/trunk/; revision=21784
This commit is contained in:
Christian Dywan
2008-11-12 15:15:02 +00:00
committed by Christian Dywan
parent b81b90949b
commit f95709b394
2 changed files with 14 additions and 10 deletions

View File

@ -1,3 +1,10 @@
2008-11-12 Christian Dywan <christian@imendio.com>
Bug 525550 GTK+ 2.13.0 GtkCurve test fails
* gtk/tests/object.c (list_ignore_properties),
(object_test_property), (main): Ignore GtkCurve when testing
2008-11-12 Richard Hult <richard@imendio.com>
Bug 550942 [patch] Rework of gdkeventloop-quartz.c

View File

@ -55,6 +55,7 @@ list_ignore_properties (gboolean buglist)
{
/* currently untestable properties */
static const IgnoreProperty ignore_properties[] = {
{ "GtkCurve", "", NULL, }, /* Just ignore it, not worth fixing */
{ "GtkContainer", "child", NULL, }, /* needs working child widget */
{ "GtkRadioMenuItem", "group", NULL, }, /* needs working sibling */
{ "GtkWidget", "parent", NULL, }, /* needs working parent widget */
@ -89,11 +90,6 @@ list_ignore_properties (gboolean buglist)
static const IgnoreProperty bug_properties[] = {
{ "GtkComboBox", "active", (void*) MATCH_ANY_VALUE }, /* FIXME: triggers NULL model bug */
{ "GtkCTree", "spacing", (void*) MATCH_ANY_VALUE }, /* FIXME: triggers signedness bug */
{ "GtkCurve", "curve-type", (void*) MATCH_ANY_VALUE }, /* FIXME: triggers OOM */
{ "GtkCurve", "min-x", (void*) 0x80000000 }, /* FIXME: triggers coordinate OOB */
{ "GtkCurve", "min-y", (void*) 0x80000000 }, /* FIXME: triggers coordinate OOB */
{ "GtkCurve", "max-x", (void*) 0x80000000 }, /* FIXME: triggers coordinate OOB */
{ "GtkCurve", "max-y", (void*) 0x80000000 }, /* FIXME: triggers coordinate OOB */
{ "GtkFileChooserButton", "local-only", (void*) MATCH_ANY_VALUE }, /* FIXME: triggers NULL path assertion */
{ "GtkFileChooserDialog", "local-only", (void*) MATCH_ANY_VALUE }, /* FIXME: triggers NULL path assertion */
{ "GtkFileChooserWidget", "local-only", (void*) MATCH_ANY_VALUE }, /* FIXME: triggers NULL path assertion */
@ -227,7 +223,8 @@ object_test_property (GObject *object,
/* ignore untestable properties */
ignore_properties = list_ignore_properties (FALSE);
for (i = 0; ignore_properties[i].name; i++)
if (g_type_is_a (G_OBJECT_TYPE (object), g_type_from_name (ignore_properties[i].type_name)) &&
if (g_strcmp0 ("", ignore_properties[i].name) ||
g_type_is_a (G_OBJECT_TYPE (object), g_type_from_name (ignore_properties[i].type_name)) &&
strcmp (pspec->name, ignore_properties[i].name) == 0 &&
(MATCH_ANY_VALUE == ignore_properties[i].value ||
value_as_pointer (&value) == ignore_properties[i].value ||