geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <>
Subject Re: DownloadTest Failure when working offline/ behind firewall
Date Fri, 29 Aug 2003 09:04:01 GMT
> It looks to me that in including a remote http download in the unit 
> test, we're effectively just testing the HttpURLConnection class 
> (which we can probably assume is working).
> Does the test really lose anything by not connecting to a real or mock 
> http server?

I must admit I do not really know what these tests do... :-|

> A better way to test might be to add our own URL protocol 
> "geronimo-test://", for example. I guess ideally we'd like to pass in 
> a mockURL class, but is designated final.

Sounds reasonable.


View raw message