harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko" <mloe...@gmail.com>
Subject Re: should strings in exceptions match the reference implementation?
Date Mon, 17 Apr 2006 06:35:00 GMT
Sorry, Anton, I did not catch.

Only one branch means "no branches, just one way" or does it mean
"two different ways (one normal way and one branch)"?

If we have just one way, why isHarmony() method necessary?

Thanks,
Mikhail

2006/4/17, Anton Avtamonov <anton.avtamonov@gmail.com>:
> On 4/17/06, Mikhail Loenko <mloenko@gmail.com> wrote:
> > Why we should test something other than Harmony?
> >
> > We might run our tests on different implemetations to
> > see whether/how they differ from Harmony, but we do not need
> > special branches in our tests like
> >
> > if( isHarmony() ) {
> >  assert(harmony behavior)
> > } else if( is BEA ) {
> >  assert(BEA behav) {
> > } else if( Classpath ) {
>
> Hi Mikhail.
>
> No, we don't need all those branches. Only the branch for Harmony.
> Only for those cases when we DO know that we have a deviation.
> IMHO, I prefer to have all tests passing on RI (which verify tests
> itself) and on Harmony (which verifies Harmony). Failures should
> indicate something wrong with tests or with Harmony code. There should
> be no other failures, I think.
>
> That is a bit similar to 'exclude list' we introduced: we don't want
> to have failures when they are expected and predictable.
>
> --
> Anton Avtamonov,
> Intel Middleware Products Division
>
> ---------------------------------------------------------------------
> 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