[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pdf-devel] Re: Improvements for the API consistency report
From: |
jemarch |
Subject: |
[pdf-devel] Re: Improvements for the API consistency report |
Date: |
Sat, 03 Jan 2009 16:32:51 +0100 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
> Date: Sun, 28 Dec 2008 22:18:44 +0100
> From: address@hidden
>
> > 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.
Here is a patch for the feature.
The output now is as follows: "pdf_bla() ... ok (xx tests)". Notice that we
only
count tests for consistent functions.
Applied in the trunk. I also updated the apic2wiki script to include
the new information in the wiki report
http://www.gnupdf.org/Lib:API_Consistency_Report
Thanks Gerel.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [pdf-devel] Re: Improvements for the API consistency report,
jemarch <=