Need Help Writing Testcases

Ranjit Mathew rmathew@gmail.com
Thu May 6 17:56:00 GMT 2004


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/



More information about the Java mailing list