harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mackie Mathew" <mcclou...@gmail.com>
Subject Re: [harmony-demo1] Purpose of Basic Borders Test?!
Date Fri, 20 Jun 2008 09:10:17 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message