[gtk/stack-fixes: 2/7] testsuite: omit some selection properties
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/stack-fixes: 2/7] testsuite: omit some selection properties
- Date: Sun, 10 Feb 2019 03:59:00 +0000 (UTC)
commit 977c501cb3262478a2a66a037d65a780b9a4fed2
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 9 22:54:37 2019 -0500
testsuite: omit some selection properties
The selected property of GtkSingleSelection is not
freely settable, so omit it from notification tests.
testsuite/gtk/notify.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index 228195b2d3..20315b22f2 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -611,6 +611,12 @@ test_type (gconstpointer data)
g_str_equal (pspec->name, "expanded"))
continue;
+ /* can't select items without an underlying, populated model */
+ if (g_type_is_a (type, GTK_TYPE_SINGLE_SELECTION) &&
+ (g_str_equal (pspec->name, "selected") ||
+ g_str_equal (pspec->name, "selected-item")))
+ continue;
+
if (g_test_verbose ())
g_print ("Property %s.%s\n", g_type_name (pspec->owner_type), pspec->name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]