On 29 Nov 2006, at 18:14, Graham J Lee wrote:

Hi,

I added some tests to testsuite/base/NSURL/basic.m which are trivial and pass. I also extended the helper app "respond" in test00 to sleep for a specified time between writing data...if it goes too high then -[NSURL resourceDataUsingCache:] times out. Which would be fine [BTW, where's the timeout documented, and could it be overridden?], except that the timeout seems to be from the *start* of the transaction, not from the last "data received" event.

Thanks ... I applied your changes ... though with quite a lot of tweaks/modifications.

The -resourceDataUsingCache: method does not use a timeout, and it took me quite some time to work out why the last few tests were failing. In the end it turned out to be trivial ... the respond.m test program only ran for a maximum of 30 seconds (the intention being that it should shut down eventually rather than leave idle processes in the background). Increasing the lifetime of the program to 60 seconds allowed all the tests to run to completion.



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to