This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]