icon-theme: Add another lookup order test

This tests rtl lookup order for non-symbolic icons.
This commit is contained in:
Matthias Clasen 2014-06-25 13:52:18 -04:00
parent c1d8ba930b
commit 86d2315b27

View File

@ -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",