[icedtea-web] RFC: Unit tests for BrowserAwareProxySelector

Andrew Azores aazores at redhat.com
Tue Oct 1 10:02:24 PDT 2013


On 10/01/2013 11:55 AM, Omair Majid wrote:
> On 09/30/2013 12:43 PM, Andrew Azores wrote:
>> On 09/27/2013 07:32 PM, Omair Majid wrote:
>>> On 09/24/2013 02:46 PM, Omair Majid wrote:
>>>> Hi,
>>>>
>>>> The attached patch adds unit tests for BrowserAwareProxySelector and
>>>> makes minor changes to make testing it easier.
>>>>
>>>> It also removes duplicate logic of selecting a host and port depending
>>>> on the protocol into JNLPProxySelector.getFromArguments. The semantics
>>>> of 'sameProxy' are different between BrowserAwareProxySelector and
>>>> JNLPProxy selector; the socks proxy is included in firefox [1].
>>>>
>>> Ping. Can anyone review this?
>> Different filename in the license header of
>> BrowserAwareProxySelectorTest.java.
>>
>> Anyway, like I said I don't insist on this refactoring, because the
>> tests are still readable and make clear sense. The class is just a lot
>> longer in LoC than it probably has to be :) your call on bothering with
>> refactor or not. Just fix the filename in that license header before
>> push at least though.
> Thanks for the suggestions. Does the attached patch look okay?
>
> Thanks,
> Omair
>

Looks good to me.

Thanks,

-- 
Andrew A



More information about the distro-pkg-dev mailing list