[gtk/listview-for-merge: 173/180] testsuite: Skip some GtkDropDown properties
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/listview-for-merge: 173/180] testsuite: Skip some GtkDropDown properties
- Date: Sat, 30 May 2020 13:16:14 +0000 (UTC)
commit 9a3d8234d5d04b78ae1d8b71663626a9482a783e
Author: Matthias Clasen <mclasen redhat com>
Date: Fri May 29 22:20:18 2020 -0400
testsuite: Skip some GtkDropDown properties
The ::factory and ::selected properties need to
be skipped.
testsuite/gtk/defaultvalue.c | 4 ++++
testsuite/gtk/notify.c | 5 +++++
2 files changed, 9 insertions(+)
---
diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c
index 79ed6179f3..98f6dc7b43 100644
--- a/testsuite/gtk/defaultvalue.c
+++ b/testsuite/gtk/defaultvalue.c
@@ -411,6 +411,10 @@ G_GNUC_END_IGNORE_DEPRECATIONS
strcmp (pspec->name, "adjustment") == 0)
continue;
+ if (g_type_is_a (type, GTK_TYPE_DROP_DOWN) &&
+ strcmp (pspec->name, "factory") == 0)
+ continue;
+
/* All the icontheme properties depend on the environment */
if (g_type_is_a (type, GTK_TYPE_ICON_THEME))
continue;
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index 62c22f2920..a5944a2b5c 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -647,6 +647,11 @@ test_type (gconstpointer data)
g_str_equal (pspec->name, "selected-item")))
continue;
+ /* can't select items without an underlying, populated model */
+ if (g_type_is_a (type, GTK_TYPE_DROP_DOWN) &&
+ g_str_equal (pspec->name, "selected"))
+ continue;
+
/* can't set position without a notebook */
if (g_type_is_a (type, GTK_TYPE_NOTEBOOK_PAGE) &&
g_str_equal (pspec->name, "position"))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]