harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov" <alexei.zakha...@gmail.com>
Subject Re: [classlib][test]how to set up a http proxy server for unit test.
Date Wed, 28 Feb 2007 10:18:15 GMT
Hi Tony,

IIRC we have agreed that commenting out test code is not the best
possible solution. Can we just split off proxy-related tests into a
separate test class (<something>ProxyTest for example) and then put
this new class to exclude list?

Thanks,

2007/2/27, Tony Wu <wuyuehao@gmail.com>:
> Hello all,
> I have been working on moving out the exclude tests in java.net these
> days. Some of them need a proxy server. IIRC we have adopted jetty to
> avoid external server dependencies before, but unfortunately, the
> ProxyHandler of Jetty has not been implemented yet. So I purpose to
> comment out the proxy related testcases and move out the test class
> from exclude list. I'll add a TODO in the code and wait for the
> upcoming new version of Jetty.
>
> Another way is tha find out another tool to set up a proxy server. In
> my opinion, we'd better not import another dependency if possible. And
> if it is not an embedding server, we have to write some ugly code in
> order to run test automatically.
>
> suggestions?concerns?
>
> --
> Tony Wu
> China Software Development Lab, IBM
>


-- 
Alexei Zakharov,
Intel ESSD

Mime
View raw message