From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13933 invoked by alias); 7 Sep 2007 16:27:57 -0000 Received: (qmail 13923 invoked by uid 22791); 7 Sep 2007 16:27:56 -0000 X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.31) with SMTP; Fri, 07 Sep 2007 16:27:51 +0000 Received: (qmail invoked by alias); 07 Sep 2007 16:27:49 -0000 Received: from unknown (EHLO [131.130.120.166]) [131.130.120.166] by mail.gmx.net (mp028) with SMTP; 07 Sep 2007 18:27:49 +0200 X-Authenticated: #24390232 Message-ID: <46E17BE7.9060707@gmx.net> Date: Fri, 07 Sep 2007 16:27:00 -0000 From: =?ISO-8859-1?Q?Mathias_Panzenb=F6ck?= User-Agent: Thunderbird 2.0.0.5 (X11/20070716) MIME-Version: 1.0 To: mauve-discuss Subject: testcases: annotations and java.lang.Class Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-IsSubscribed: yes Mailing-List: contact mauve-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00015.txt.bz2 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