[RFC][icedtea-web] Signed JNLP file: added regression tests
Jiri Vanek
jvanek at redhat.com
Tue May 29 01:19:22 PDT 2012
On 05/28/2012 11:55 PM, Saad Mohammad wrote:
> On 05/28/2012 03:29 PM, Omair Majid wrote:
>> On 05/28/2012 01:03 PM, Saad Mohammad wrote:
>>> Hello,
>>>
>>> The attached patches contains the suggested changes and some additional
>>> tests requested from the previous email. The three patches tests the
>>> launch of applications with:
>>>
>>> 1) A signed JNLP application/template file
>>> 2) An unsigned JNLP application/template file
>>> 3) A signed jnlp application/template file with case
>>> insensitive filenames
>>>
>>
>> I dont quite follow the patch. Much of this already exists as unit
>> tests. Why duplicate it?
>>
>> IMHO, it makes much more sense to verify all the corner cases of signed
>> jnlp files (missing elements, extra elements, elements not exactly
>> matching) in unit tests, and have reproducer tests to ensure that the
>> matching rules that you have already extensively tested using unit tests
>> are being applied.
>>
>> Also, because so many tests are now duplicates, it means that changing
>> one detail in the implementation will require you to modify multiple tests.
>>
>> Cheers,
>> Omair
>
> Thanks Omair for the review . I do agree with you and will be updating the patch to avoid such
> duplicates.
>
Agree with Omair, please reduce a bit number of tests. And btw - please remove stdout/err according
to Re: [rfc] [icedtea-web] get rid of repated sout/serr in reproducers testcases
Anyway thanx for 1,2,3 cases :)
J.
More information about the distro-pkg-dev
mailing list