* Classpath-specific tests
@ 2007-01-23 20:50 Francis Kung
2007-01-24 8:43 ` Gary Benson
0 siblings, 1 reply; 2+ messages in thread
From: Francis Kung @ 2007-01-23 20:50 UTC (permalink / raw)
To: mauve-discuss
Hi,
(It's been so quiet lately!! =) )
Is there any special way to write tests that are Classpath-specific, ie,
for our own packages like gnu.java.*? Or should this be left out of
Mauve altogether?
I've noticed we already have a few in mauve (gnu.java.security,
gnu.javax.crypto, and gnu.javax.swing), but wanted to ask before
committing some of my own.
Thanks,
Francis
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Classpath-specific tests
2007-01-23 20:50 Classpath-specific tests Francis Kung
@ 2007-01-24 8:43 ` Gary Benson
0 siblings, 0 replies; 2+ messages in thread
From: Gary Benson @ 2007-01-24 8:43 UTC (permalink / raw)
To: mauve-discuss
Francis Kung wrote:
> Is there any special way to write tests that are Classpath-specific,
> ie, for our own packages like gnu.java.*? Or should this be left
> out of Mauve altogether?
I've used System.getProperty("gnu.classpath.version") != null
before to exclude tests when not running on Classpath. Check
out gnu/testlet/java/lang/Thread/security.java for an example.
Cheers,
Gary
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-24 8:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-23 20:50 Classpath-specific tests Francis Kung
2007-01-24 8:43 ` Gary Benson
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).