[gtk+] icon-theme: Add another lookup order test



commit 86d2315b27405da833b8c077b2a0c83e16342b5d
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jun 25 13:52:18 2014 -0400

    icon-theme: Add another lookup order test
    
    This tests rtl lookup order for non-symbolic icons.

 testsuite/gtk/icontheme.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/gtk/icontheme.c b/testsuite/gtk/icontheme.c
index 0186b51..b7a44aa 100644
--- a/testsuite/gtk/icontheme.c
+++ b/testsuite/gtk/icontheme.c
@@ -201,6 +201,18 @@ test_lookup_order (void)
                        "foo-bar",
                        "foo",
                        NULL);
+  assert_lookup_order ("foo-bar-baz", 16, GTK_ICON_LOOKUP_GENERIC_FALLBACK|GTK_ICON_LOOKUP_DIR_RTL,
+                       "foo-bar-baz-rtl",
+                       "foo-bar-baz",
+                       "foo-bar-rtl",
+                       "foo-bar",
+                       "foo-rtl",
+                       "foo",
+                       NULL);
+  assert_lookup_order ("foo-bar-baz", 16, GTK_ICON_LOOKUP_DIR_RTL,
+                       "foo-bar-baz-rtl",
+                       "foo-bar-baz",
+                       NULL);
   assert_lookup_order ("foo-bar-baz-symbolic", 16, GTK_ICON_LOOKUP_GENERIC_FALLBACK,
                        "foo-bar-baz-symbolic",
                        "foo-bar-symbolic",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]