[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-myserver] Test for class File, not tested :D
From: |
ivailo ilionov |
Subject: |
Re: [bug-myserver] Test for class File, not tested :D |
Date: |
Mon, 23 Mar 2009 13:57:39 +0200 |
Giuseppe,
I hope i followed the instructions correctly : )
You said that using the default constructor may leave the file
descriptor in the object inconsistent, but now I explicitly open and
close the file I'm working with.
>From what I saw in the source for openFile(), I should be either
getting the right descriptor
or getting an error.
fname is
"/home/sun/tmp/myserver/myserver/trunk/myserver/tests/myserver_2_0.tmp",
so there's no problem with my using of FilesUtility::temporaryFileName().
So, for now the tests always write to the stdout and read from stdin : )
Any ideas or should I dive more in the problem? ( well, at least i'll
learn more that way : )
test_file.cpp.gz
Description: GNU Zip compressed data