testsuite: Add a treelistmodel test
authorBenjamin Otte <otte@redhat.com>
Sun, 19 Mar 2023 22:24:42 +0000 (23:24 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 21 Mar 2023 13:10:17 +0000 (14:10 +0100)
commitfb2a17a97223e6402ab6697e3a4f3166b1926775
tree6304e7e3809c325eea906634a8376f96213b30ae
parent1c64438b122870e085ffc19d914fe7a274871c5d
testsuite: Add a treelistmodel test

This one exhaustively tests reusing the same model as a child model for
many nodes.
This tracks that multiple items-changed signals emitted at the same time
(or multiple handlers for one such signal) doesn't put the treelistmodel
in an inconsistent state while it is handling all of them.

I'm not sure this (ab)use of treelistmodel should be officially
supported, but it works today, so let's test it to see if we can keep it
working.
testsuite/gtk/treelistmodel.c