forked from AuroraMiddleware/gtk
tests: Update property tests
The pages property must be skipped.
This commit is contained in:
parent
27f008de44
commit
3eda783d0a
@ -165,6 +165,10 @@ test_type (gconstpointer data)
|
||||
(strcmp (pspec->name, "pages") == 0)) /* pages always gets a non-NULL value */
|
||||
continue;
|
||||
|
||||
if (g_type_is_a (type, GTK_TYPE_NOTEBOOK) &&
|
||||
(strcmp (pspec->name, "pages") == 0)) /* pages always gets a non-NULL value */
|
||||
continue;
|
||||
|
||||
if (g_type_is_a (type, GTK_TYPE_POPOVER) &&
|
||||
(strcmp (pspec->name, "pointing-to") == 0))
|
||||
continue;
|
||||
|
@ -617,6 +617,11 @@ test_type (gconstpointer data)
|
||||
g_str_equal (pspec->name, "selected-item")))
|
||||
continue;
|
||||
|
||||
/* can't set position without a notebook */
|
||||
if (g_type_is_a (type, GTK_TYPE_NOTEBOOK_PAGE) &&
|
||||
g_str_equal (pspec->name, "position"))
|
||||
continue;
|
||||
|
||||
if (g_test_verbose ())
|
||||
g_print ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user