Re: [widgets] test-cases for icons: some possible errors

On 9 Dec 2009, at 13:46, Robin Berjon wrote:

> On Dec 9, 2009, at 14:31 , Cyril Concolato wrote:
>> Actually, I have a problem with the way the test suite result are  
>> expressed. Since there is no normative algorithm for the selection  
>> of the actual displayed icon, why should the test suite results but  
>> so strict. In particular, why does an implementation need to list  
>> all icons, if its policy is to select the first one, correct  
>> according to the spec, and that matches its needs. For example, one  
>> could say:
>
> Agreed, I think we should test for what the *first* icon is in the  
> list (the one that's selected). Listing all the others isn't useful,  
> they're never used.

In our case we do want to process and store all valid icons for a  
widget package, as we can display instances of the widget for multiple  
users, each with different preferred locales. In which case we need to  
have an appropriate list of widgets that we can select from.

However its not quite so clear why we need them stored in a particular  
order, as we'd query them for the best match to the user's preferences.

>
> -- 
> Robin Berjon - http://berjon.com/
>
>
>

Received on Wednesday, 9 December 2009 14:08:17 UTC