[gtk/stack-fixes: 20/26] testsuite: omit some selection properties
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/stack-fixes: 20/26] testsuite: omit some selection properties
- Date: Sun, 10 Feb 2019 23:56:49 +0000 (UTC)
commit ccb0a0fdfebcb5e9350a124a188c2cdcc182ca00
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]