[gtk+] Add some notes on how filter model testing can be made (even) more thorough



commit 36f712f2721f2f467fc97fdc31141ffb9dcc2603
Author: Kristian Rietveld <kris gtk org>
Date:   Sat Aug 20 10:59:36 2011 +0200

    Add some notes on how filter model testing can be made (even) more thorough

 gtk/tests/filtermodel.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/gtk/tests/filtermodel.c b/gtk/tests/filtermodel.c
index 41ed858..98bce83 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.
  */
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]