> Would it be possible for the check-api-doc-consistency.pl to tell if a > given function has unit tests defined (at least one) in torture/unit, > and the number of tests?
Yes, it is possible. I only need to be 100% sure that a function named 'pdf_bla' has its unit tests defined in a file named 'pdf_bla.c' at "torture/unit/...". I believe we're using that norm for every test case but I'm not 100% sure. Yes, we are. Also, the unit tests for a given function pdf_bla are always named pdf_bla_NNN where NNN is a number.