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: [harmony-demo1] Purpose of Basic Borders Test?!
Date Fri, 20 Jun 2008 10:46:16 GMT
But do we have the corresponding test for Metal L&F?

Regards,
Alexei

2008/6/20, Mackie Mathew <mccloud35@gmail.com>:
> Some of the tests are trying to assert the color profile of the basic L&F,
>  which is abstract. It's extended and methods are overridden by the Metal
>  L&F. So the test is carried out against the color profile of the latter. I
>  don't see how it can be tested against the basic L&F's color profile.
>
>  Regards,
>
>  Tharindu
>
>
>  On Thu, Jun 19, 2008 at 7:46 PM, Nathan Beyer <ndbeyer@apache.org> wrote:
>
>  > Are you saying that the test is asserting a default behavior? It would make
>  > sense to set a specific color and then assert that color actually
>  > displayed,
>  > but testing a default can be difficult.
>  >
>  > -Nathan
>  >
>  > On Thu, Jun 19, 2008 at 5:10 AM, Mackie Mathew <mccloud35@gmail.com>
>  > wrote:
>  >
>  > > The Basic Borders test checks to match colour patterns in the Basic Look
>  > > and
>  > > Feel.
>  > >
>  > > But the Metal Look and Feel is taken as the default L&F. Since the Basic
>  > > L&F
>  > > is abstract anyway, the test checks against colours of the Metal L&F
>  > > instead
>  > > of the Basic L&F and thus fails under some tests.
>  > >
>  > > Should color testing be taken out of this test?
>  > >
>  > > Regards,
>  > >
>  > > Tharindu
>  > >
>  >
>

Mime
View raw message