[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSURLProtocol and WebDAV
From: |
Richard Frith-Macdonald |
Subject: |
Re: NSURLProtocol and WebDAV |
Date: |
Tue, 18 Jan 2011 20:53:55 +0000 |
On 17 Jan 2011, at 20:15, Philippe Roussel wrote:
> Hi Richard
>
> Le lundi 17 janvier 2011 à 17:17 +0100, Philippe Roussel a écrit :
>> Le lundi 17 janvier 2011 à 15:33 +0000, Richard Frith-Macdonald a
>> écrit :
>>> On 16 Jan 2011, at 20:06, Philippe Roussel wrote:
>>>> Here's a first round of tests for NSURLRequest, NSURLProtocol and
>>>> NSURLConnection. I'll try to create good client/server tests for
>>>> NSURLConnection next but it will take some time.
>>>
>>> Thanks very much ... I added those to the testsuite with some small
>>> modifications: a couple of fixes for retain/release errors, and a
>>> change to the test for the canonical version of a request.
>>
>> Thanks, I'll take a look.
>
> Just one question : would you mind having a helper in the testsuite
> written in Python ? I know it could be problematic to be dependant on
> Python but it would be a lot easier to test http connections, as writing
> a http server takes maybe 20 lines.
I don't think using Python is a huge problem, though a plain C or ObjC helper
would be better because we want the testsuite to be as self-contained as
possible. At the moment it needs only gnumake, gnustep-make and the toolchain
to build ObjC programs (basically gcc). Ideally any tests using a python
helper would first check that a suitable version of python is available on the
system.
> The helpers I found in NSURL and NSURLHandle directories only compile
> with GNUstep (not sure why) so the related tests are not really useful.
IIRC they use GNUstep specific extensions :-(
> The WebServer library in dev-libs could also be used but I don't know
> how I could force its installation.
That may use GNUstep specific code too (I don't recall). Your test code could
check to see if it's installed, and skip tests which need the helper if it
isn't ... much like checking to see if a suitable Python is installed.
- NSURLProtocol and WebDAV, Philippe Roussel, 2011/01/14
- Re: NSURLProtocol and WebDAV, Richard Frith-Macdonald, 2011/01/14
- Re: NSURLProtocol and WebDAV, Philippe Roussel, 2011/01/14
- Re: NSURLProtocol and WebDAV, Richard Frith-Macdonald, 2011/01/15
- Re: NSURLProtocol and WebDAV, Philippe Roussel, 2011/01/15
- Re: NSURLProtocol and WebDAV, Philippe Roussel, 2011/01/16
- Re: NSURLProtocol and WebDAV, Richard Frith-Macdonald, 2011/01/17
- Re: NSURLProtocol and WebDAV, Philippe Roussel, 2011/01/17
- Re: NSURLProtocol and WebDAV, Philippe Roussel, 2011/01/17
- Re: NSURLProtocol and WebDAV,
Richard Frith-Macdonald <=
- Re: NSURLProtocol and WebDAV, Philippe Roussel, 2011/01/18