[Top][All Lists]

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

Re: NSURL tests, including failures...

From: Richard Frith-Macdonald
Subject: Re: NSURL tests, including failures...
Date: Thu, 30 Nov 2006 09:43:27 +0000

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


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.

reply via email to

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