public inbox for mauve-discuss@sourceware.org
 help / color / mirror / Atom feed
* Character Test
@ 1999-01-07 20:18 Aaron M. Renn
       [not found] ` < 36957A24.B7BB761F@urbanophile.com >
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Aaron M. Renn @ 1999-01-07 20:18 UTC (permalink / raw)
  To: mauve-discuss; +Cc: abies

I convertered Artur's Character test to the Mauve framework (a simple task)
and checked into the gnu/testlet/java/lang/Character directory as
unicode.java.  A word of warning: This test is very thorough and takes a
very long time to run.  It is possible we might not want to run it at all by
default.  Running debug it printed over 150MB of output before I killed the
job to avoid filling up my filesystem.

For the record, it runs 3,578,944 tests spanning the entire Unicode
database.  The JDK failed 746 of them.  (I might kick off the
Japhar/Classpath combo before bed and hope it finishes by the time I get
home from work tomorrow :-)  I'm using the Unicode 2.1.2 database file,
which I also checked into the archive.

-- 
Aaron M. Renn (arenn@urbanophile.com) http://www.urbanophile.com/arenn/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: File access (was: Character Test)
@ 1999-01-08 10:54 Aaron M. Renn
  0 siblings, 0 replies; 11+ messages in thread
From: Aaron M. Renn @ 1999-01-08 10:54 UTC (permalink / raw)
  To: Anthony Green; +Cc: mauve-discuss

>I was thinking about File usage the other day.  I'd like to suggest
>that we introduce an abstract interface to test input data (like
>UnicodeData.txt).  So rather than having testlets open files
>themselves, they would pass the file name to the TestHarness, and the
>harness would return a Reader.

This is ok by me. You will notice that I converted Artur's test to use
getSourceDirectory, but I appened a Unix style "path/path/path" filename,
which is really a no-no.  If we can't use getSystemResource to do this, we
should use an equivalent facility in our TestHarness to avoid this
situation.

If we do build the facility into the Harness, we might want to also support
automagic handling of different versions of the file for differnt
versions/subspecifications of Java.  The recently discussed Unicode file
would be an example of this.  We could have a basename for the requested
resource, and try appending various tags to it to generate the file name
similar to how ResourceBundle does it.

--
Aaron M. Renn (arenn@urbanophile.com) http://www.urbanophile.com/arenn/



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~1999-01-14 18:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-07 20:18 Character Test Aaron M. Renn
     [not found] ` < 36957A24.B7BB761F@urbanophile.com >
1999-01-08  7:41   ` File access (was: Character Test) Anthony Green
1999-01-08 10:33 ` Character Test Tom Tromey
1999-01-09  6:06   ` Artur Biesiadowski
1999-01-14 14:45     ` Tom Tromey
1999-01-14 15:53     ` Tom Tromey
1999-01-14 18:00     ` Tom Tromey
1999-01-09  7:29 ` Artur Biesiadowski
1999-01-14 14:20   ` Tom Tromey
1999-01-14 16:10   ` Tom Tromey
1999-01-08 10:54 File access (was: Character Test) Aaron M. Renn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).