This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Need Help Writing Testcases
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: java at gcc dot gnu dot org
- Date: Thu, 06 May 2004 23:26:41 +0530
- Subject: Need Help Writing Testcases
Hi,
I was trying to add testcases for PR9685 and PR15073
to the libjava testsuite when I realised that I had
ventured into unknown territory. Can someone help
me please?
1. Where do I add these tests (checking for illegal
package-private accesses)? libjava.compile or libjava.lang?
2. One file in each testcase needs to be in a different package,
so at least after compilation, the class files should be
in another folder. Can I achieve this without adding another
folder to CVS? How do I tell the testsuite machinery that
(say) PR9685.java and "foo/PR9685_1.java" should be linked
together?
I see some testcases in libjava.compile that are in a
non-default package and some that use classes in a sub-folder
but I don't fully understand how they manage it.
Thanks in advance,
Ranjit.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/