On Tue, Dec 20, 2011 at 9:39 AM, Gabriel Roldan <[email protected]> wrote:

> Attached a patch to the issue. Testing, review and comments welcomed.
>
> I tested it with geoserver and seems to work fine. Yet I'm not sure how to
> write a unit test for that.
>

Yeah, me neither. I've seen people setup a temporary http server using
Grizzlie to run tests
(I guess the same could be done with an embedded Jetty),
that might work, but it's quite the heavy handed way to make a build test.

I'll setup a proxy using Burp (http://portswigger.net/burp/proxy.html),
apply the patch, and manually
check the requests actually go through it

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

Please take note that GeoSolutions will be closed for Christmas holidays
from 27/12 to 30/12

-------------------------------------------------------
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to