pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] FS module unit test design, unit test for pdf_fsys_get_f


From: jemarch
Subject: Re: [pdf-devel] FS module unit test design, unit test for pdf_fsys_get_free_space
Date: Sun, 27 Jul 2008 16:08:51 +0200
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)

Hi Hans.

   pdf_size_t pdf_fsys_get_free_space (pdf_fsys_t file_system, 
                                       pdf_text_t path_name)

   returns the free space on a fs. Currently I have no idea, how a good
   unit test for this function could look like. Any thoughts?

Hm. Since we are not using stabs would be difficult to simulate
concrete conditions in a filesystem.

I would go ahead implementing a single positive test with valid
parameters and some negative tests with invalid parameters.





reply via email to

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