[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] FS module unit test design
From: |
derhans |
Subject: |
Re: [pdf-devel] FS module unit test design |
Date: |
Tue, 28 Oct 2008 17:13:59 -0400 (EDT) |
User-agent: |
SquirrelMail/1.4.13 |
>
> Hello.
>
> after a few busy month I know finished university, found a new job
> and put everything else in order, so finally I have some more free
> time :)
>
> Superb. Congratulations for finishing the univ and your new job :)
>
> Attached is what I have so far regarding the unit test design for the
> filesystem module.
>
> Many thanks. There are some problems with the Texinfo sectioning. A
> report with the compilation errors is appended to this email. The unit
> tests seems to be quite good.
>
> What is missing are:
>
> pdf_fsys_file_flush
>
> I was not entirely sure, what this function is supposed to do. Does it
> flush all the data from an open file or just the data that was
> added?
>
> The function should flush the output "buffer" of the open file, if
> there is any in the underlying filesystem implementation. It is not
> easy to test because the specific caching mechanism used by the
> filesystem implementation is now known.
>
> At least we should provide a simple positive test writing some data
> into the file, calling flush and testing if the data has been written
> into the file.
>
> pdf_fsys_create/pdf_fsys_destroy
>
> For this function a simple positive test would be enough, I think.
>
> Compilation errors:
>
> ...
Hi,
ok, thx. I'll add what is missing and take care of those errors. Should be
done latest this weekend.
regards,
Hans