[gtk/matthiasc/for-main: 2/5] sortlistmodel: Add more tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-main: 2/5] sortlistmodel: Add more tests
- Date: Mon, 18 Jul 2022 12:08:45 +0000 (UTC)
commit 64193ae7067e938ed6fdcfbae08bc86ca3cdd48c
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jul 17 09:10:08 2022 -0400
sortlistmodel: Add more tests
testsuite/gtk/sortlistmodel.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/testsuite/gtk/sortlistmodel.c b/testsuite/gtk/sortlistmodel.c
index 454cae32e1..11da526f5a 100644
--- 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]