From 36f712f2721f2f467fc97fdc31141ffb9dcc2603 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Sat, 20 Aug 2011 10:59:36 +0200 Subject: [PATCH] Add some notes on how filter model testing can be made (even) more thorough --- gtk/tests/filtermodel.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gtk/tests/filtermodel.c b/gtk/tests/filtermodel.c index 41ed8583f7..98bce83e93 100644 --- a/gtk/tests/filtermodel.c +++ b/gtk/tests/filtermodel.c @@ -26,6 +26,16 @@ * - Proper coverage checking to see if the unit tests cover * all possible cases. * - Check if the iterator stamp is incremented at the correct times. + * + * For more thorough testing: + * - Test with randomized models. + * - Extensively test a filter model wrapping a sort model, + * or a sort model wrapping a filter model by: + * # Checking structure. + * # Checking for correct signals emissions. + * # Checking correct reference counting. + * # Tests should be done with the sort and filter model + * in various filtering and sorting states. */