pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] data files in unit tests


From: Aleksander Morgado
Subject: Re: [pdf-devel] data files in unit tests
Date: Fri, 03 Oct 2008 17:14:52 +0200
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

> Now that we are implementing some and compression filters we need to
> design a proper way to introduce data files in the unit tests, to hold
> encoded and decoded data for comparison.
> 
> I am thinking in something like this:
> 
>    - Store any data file used by the the unit tests in 
> 
>          torture/unit/data/
> 
>      Since a lot of the data files will be in binary format and since
>      they may use a lot of disk space (think on large jbig2 or jpeg
>      chunks, for example) we can store the files in
>      www.gnupdf.org/prmgt/test-files/ and provide a little script in
>      torture/unit/data/get-test-files.sh that will download the files
>      to the proper place.
> 
>    - Provide some functions to ease the reading and writing of files
>      to the unit tests. We can store these common functions in, for
>      example, torture/unit/testlib.c
> 
> What do you thinkg about that? Suggestions?
> Aleksander, would do it work with the nocheck library?

It should :-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]