[kaffe] Arrays.equals

Dalibor Topic robilad at yahoo.com
Thu May 22 05:50:02 PDT 2003


--- Daniel Bonniot <Daniel.Bonniot at inria.fr> wrote:
> 
> Hi,
> 
> Is there any reason to include a testcase for java libs in Kaffe's suite 
> instead of putting it into Mauve?

There is no reason, unless it's kaffe specific, which your tests don't seem to
be. 'Mauvify' the test cases and send them to the mauve mailing list. For a
really basic & simple mauve test, see my
gnu/testlet/java/sql/Date/DateTest.java 
 implementation. It essentially comes down to calling the test harness to
register your tests and their results instead of encoding them in comments,
like kaffe does.

> >But I wouldn't want to enforce a specific indentation style, since we are
> using
> >third party sources from different projects and they may have different
> >opinions on indentation. Re-indenting their files could make merging harder
> >than necessary.
> >
> 
> I see.
> Are there published (emacs) indentation style for Classpath (and 
> others)? It seems like prj.el should be able to automagically guess the 
> file source (looking for Classpath header, Kaffe header, ...), and apply 
> the corresponding style.

I don't think there is anything official, at least not in Classpath's hacker's
guide. I don't know about other projects, but I assume that the GNU JAXP and
regexp projects follow a similar scheme to Classpath's. I think the best would
be to have an elisp program check what the indentation size is in a file (if
that's somehow possible) and to use that.

cheers,
dalibor topic

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com




More information about the kaffe mailing list