[libadwaita/wip/exalm/new-glib: 7/8] carousel: Test child removal on dispose
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/new-glib: 7/8] carousel: Test child removal on dispose
- Date: Tue, 2 Nov 2021 21:15:46 +0000 (UTC)
commit c83715dac57f2cf710690b5d330c73c576f7bdd3
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Nov 3 00:01:30 2021 +0500
carousel: Test child removal on dispose
We were manually removing all children in the test for no good reason.
tests/test-carousel.c | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/tests/test-carousel.c b/tests/test-carousel.c
index 017fec78..e8b22ff3 100644
--- a/tests/test-carousel.c
+++ b/tests/test-carousel.c
@@ -53,10 +53,6 @@ test_adw_carousel_add_remove (void)
g_assert_cmpuint (adw_carousel_get_n_pages (carousel), ==, 1);
g_assert_cmpint (notified, ==, 5);
- adw_carousel_remove (carousel, child3);
- g_assert_cmpuint (adw_carousel_get_n_pages (carousel), ==, 0);
- g_assert_cmpint (notified, ==, 6);
-
g_assert_finalize_object (carousel);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]