[gtk+] test: Skip GtkScrolledWindow::max-content- properties
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] test: Skip GtkScrolledWindow::max-content- properties
- Date: Wed, 8 Jun 2016 13:04:41 +0000 (UTC)
commit 023f406c9617284ee3b88727df489f20cd066fd6
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 8 09:03:12 2016 -0400
test: Skip GtkScrolledWindow::max-content- properties
The allowed values for the max-content- properties depend
on the value of the min-content- properties, in a way that
our simple test is not prepared to deal with. Just skip
them for now.
testsuite/gtk/notify.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/gtk/notify.c b/testsuite/gtk/notify.c
index 49e5673..4761988 100644
--- a/testsuite/gtk/notify.c
+++ b/testsuite/gtk/notify.c
@@ -674,6 +674,12 @@ test_type (gconstpointer data)
g_str_equal (pspec->name, "font-name"))
continue;
+ /* these depend on the min-content- properties in a way that breaks our test */
+ if (g_type_is_a (type, GTK_TYPE_SCROLLED_WINDOW) &&
+ (g_str_equal (pspec->name, "max-content-width") ||)
+ g_str_equal (pspec->name, "max-content-height"))
+ 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]