harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko" <mloe...@gmail.com>
Subject Re: [classlib] Testing
Date Fri, 05 May 2006 03:08:08 GMT
According to guidlines draft both are possible if you run tests
from bootclasspath:

"If the test is designed to be run from bootclasspath then its package
is the same
as the package of the class under test"

Thanks,
Mikhail

2006/5/4, Geir Magnusson Jr <geir@pobox.com>:
> For example, you have
>
> org.apache.harmony.luni.internal.net.www.protocol - package under test
> org.apache.harmony.luni.tests.internal.net.www.protocol - package for
> the test
>
> where if it's an implementation test since it's an 'internal' package,
> wouldn't the the test most likely be
>
>    o.a.h.l.i.n.w.p ?
>
> (no "tests")
>
> It should also be possible to have a testcase
>
>   java.util.HashMapTest
>
> if we want to test some internal thing about j.u.HM?
>
> geir
>
>
> Mikhail Loenko wrote:
> > Geir
> >
> > What kind of conventions do you mean?
> >
> > If it is package naming then I thought we have the same conventions
> > for all types of the tests:  bootclasspath tests go to the same package as
> > class, classpath tests go to o.a.h.module.tests.package
> >
> > Am I missing something?
> >
> > Thanks,
> > Mikhail
> >
> > 2006/5/4, Geir Magnusson Jr <geir@pobox.com>:
> >>
> >>
> >> Mikhail Loenko wrote:
> >> > 2006/5/3, Mikhail Loenko <mloenko@gmail.com>:
> >> >>
> >> >> Ok, I'll put this on the website
> >> >
> >> > I've put it on the web-site (it has not appeared yet)
> >> >
> >> > Comments are welcome
> >>
> >> I think you only captures half of it.  You also need to describe
> >> conventions for harmony-specific tests...
> >>
> >> I'm happy to help there if you want...
> >>
> >> geir
> >>
> >> ---------------------------------------------------------------------
> >> Terms of use : http://incubator.apache.org/harmony/mailing.html
> >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> >> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message