harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: How to test properly when dependent class is not included in RI
Date Sun, 23 May 2010 08:06:33 GMT

In message <AANLkTimsldy9QnL0pn9IA3Ljv9j5ZjxgqoTxW9Q7-q_m@mail.gmail.com>,
Lang Yang writes:
>
> Thanks Alexey and Nathan!
> 
> On Sat, May 22, 2010 at 4:09 PM, Nathan Beyer <ndbeyer@apache.org> wrote:
> 
> > It's not quite as simple as that. There are plenty of cases where
> > using implementation specific classes is fine - most of the modules
> > have hundreds of tests like this. This is why many of the modules have
> > a 'api' and a 'impl' folder separation.
> >
> 
> Is that mean If I have used implementation specific classes, I should
> put the test case in 'impl' folder? Is there an ANT target defined to
> test them seperate?

Adding a folder for implementation specific tests will require changing
the modules/imageio/build.xml and modules/imageio/make/run-test.xml and
changing the src/test directory structure.  I can do this when the code
freeze is over.

-Mark.



Mime
View raw message