Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 96524 invoked from network); 16 Sep 2002 14:10:04 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Sep 2002 14:10:04 -0000 Received: (qmail 9743 invoked by uid 97); 16 Sep 2002 14:10:39 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 9727 invoked by uid 97); 16 Sep 2002 14:10:38 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 9709 invoked by uid 98); 16 Sep 2002 14:10:38 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-dev@jakarta.apache.org Subject: Re: Is anyone using ANT with jUnit tests written with jFunc References: <5158BC6D771ED3118D6200508B2C272235C2C5@gbrxmsms01.bh.gbr.xerox.com> From: Stefan Bodewig Date: 16 Sep 2002 16:09:56 +0200 In-Reply-To: <5158BC6D771ED3118D6200508B2C272235C2C5@gbrxmsms01.bh.gbr.xerox.com> Message-ID: Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 16 Sep 2002, Andrew Everitt wrote: > I gave it a try and it didn't work :-(. Too bad. > After a little investigation it turns out that JFunc actually > creates a TestletWrapper instance under the hood. Unfortunately that > class implements a method 'name' but not 'getName', it doesn't make > much sense to me but thats it. Probably because name() has been the way to get the name in TestCase up to JUnit 3.6. 3.7 deprecated name() in favor of getName() and 3.8 removed name(). > I modified the code in the else block to look for both method > signatures: committed, thanks. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: