projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4682eb2
)
sortlistmodel: Add more tests
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 17 Jul 2022 13:10:08 +0000
(09:10 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 18 Jul 2022 12:08:01 +0000
(07:08 -0500)
testsuite/gtk/sortlistmodel.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/sortlistmodel.c
b/testsuite/gtk/sortlistmodel.c
index 454cae32e1ad2b0247faf54364ed5d0748f454c1..11da526f5abb65c2532fa2376f4bcb4615074e1c 100644
(file)
--- a/
testsuite/gtk/sortlistmodel.c
+++ b/
testsuite/gtk/sortlistmodel.c
@@
-268,6
+268,10
@@
test_create (void)
assert_model (sort, "2 4 6 8 10");
assert_changes (sort, "");
+ g_assert_false (gtk_sort_list_model_get_incremental (sort));
+ g_assert_true (g_list_model_get_item_type (G_LIST_MODEL (sort)) == G_TYPE_OBJECT);
+ g_assert_nonnull (gtk_sort_list_model_get_sorter (sort));
+
g_object_unref (sort);
}