This is the mail archive of the
mauve-discuss@sourceware.org
mailing list for the Mauve project.
testcases: annotations and java.lang.Class
- From: Mathias Panzenböck <grosser dot meister dot morti at gmx dot net>
- To: mauve-discuss <mauve-discuss at sources dot redhat dot com>
- Date: Fri, 07 Sep 2007 18:27:19 +0200
- Subject: testcases: annotations and java.lang.Class
Hi.
A while ago I wrote testcases for some methods of java.lang.Class and for annotations.
The annotations testcase assumes that javac produced right annotations (right
annotation types in particular). It just checks if the jvm parses the annotations
right. This testcase makes heavily use of reflection.
I wrote this testcases because I implemented annotations support in cacao
(http://www.cacaojvm.org/) and had to test it.
Download:
http://twoday.tuwien.ac.at/pub/files/MinimalClassReflection (ZIP, 2 KB)
http://twoday.tuwien.ac.at/pub/files/TestAnnotations (ZIP, 9 KB)
-panzi