harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib] testing guidlines -- support classes
Date Mon, 03 Jul 2006 10:33:56 GMT
Mikhail Loenko wrote:
> That means that all the API tests will be in the bootclasspath when
> impl/bootclasspath tests run? Will this run be clear enough?

No I don't think that will be clear.

So can you describe how the bootclasspath and classpath are set up for
running each set of tests?  Maybe we should add that info to the document?

Also I'm left wondering how the support classes should be compiled?
Presumably they can be compiled against the APIs only?

Regards,
Tim


> 2006/6/30, Tim Ellison <t.p.ellison@gmail.com>:
>> Mikhail Loenko wrote:
>> > I'm refereing to those support classes that are used by both API
>> > and impl tests
>>
>> Sure, but if the support classes themselves only use API then they can
>> be in the api dir right?  i.e. we expect our impl tests to use some APIs
>> too.
>>
>> Regards,
>> Tim
>>
>> > 2006/6/30, Tim Ellison <t.p.ellison@gmail.com>:
>> >> Mikhail Loenko wrote:
>> >> > There are support classes that are shared by various types of the
>> >> tests,
>> >> > e.g. api and impl or classpath and bootclasspath
>> >> >
>> >> > We can either separate them from the tests or duplicate.
>> >>
>> >> I'm confused.
>> >>
>> >> Either the support classes are used by API tests and only make API
>> calls
>> >> into the code, or they are harmony implementation-specific; and either
>> >> they need to be loaded on the bootclasspath or not -- right?
>> >>
>> >> So can't they just go into the existing bin directory classifications?
>> >>
>> >> Regards,
>> >> Tim
>> >>
>> >> > I suggest that we separate these classes into folder
>> >> >    src/test/support/[platform]/java
>> >> > and
>> >> >    org.apache.harmony.module.tests.support.*
>> >> > package.
>> >> >
>> >> > Probably it makes sense to put all the module's support
>> >> > classes there (not only shared ones).
>> >> >
>> >> > Thoughts?
>> >> >
>> >> > Thanks,
>> >> > Mikhail
>> >> >
>> >> >
>> ---------------------------------------------------------------------
>> >> > 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
>> >> >
>> >> >
>> >>
>> >> --
>> >>
>> >> Tim Ellison (t.p.ellison@gmail.com)
>> >> IBM Java technology centre, UK.
>> >>
>> >> ---------------------------------------------------------------------
>> >> 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
>> >
>> >
>>
>> -- 
>>
>> Tim Ellison (t.p.ellison@gmail.com)
>> IBM Java technology centre, UK.
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

---------------------------------------------------------------------
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