Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 7261 invoked by uid 98); 3 Dec 2002 17:37:45 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 7011 invoked from network); 3 Dec 2002 17:37:42 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 3 Dec 2002 17:37:42 -0000 Received: (qmail 28634 invoked by uid 500); 3 Dec 2002 17:36:34 -0000 Received: (qmail 28627 invoked from network); 3 Dec 2002 17:36:34 -0000 Received: from smtp016.mail.yahoo.com (216.136.174.113) by daedalus.apache.org with SMTP; 3 Dec 2002 17:36:34 -0000 Received: from mail.touchdownconsultants.com (HELO lndevjs) (james?strachan@213.121.165.114 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 3 Dec 2002 17:36:37 -0000 Message-ID: <03d001c29af2$82a99470$9865fea9@spiritsoft.com> From: "James Strachan" To: "Jakarta Commons Users List" References: Subject: Re: [jelly] unit testing: detecting exceptions Date: Tue, 3 Dec 2002 17:36:26 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N From: "Dominique Devienne" > I personally believe it's unfortunate it's been named that way. It makes it > quite un-JUnit like to me, and inconsistent with the existing Jelly > assertEquals. Oh well, I haven't started using Jelly yet, just getting > interested by it (and your own interest to it makes it interesting to me ;-) Would you prefer "assertThrows" instead of "assertThrown"? Now I come to think about it, I do to. Knut do you have a strong preference either way? Maybe we should switch it - its a relatively new feature afterall so it shouldn't break too much. James ------- http://radio.weblogs.com/0112098/ > > --DD > > -----Original Message----- > From: Wannheden, Knut [mailto:knut.wannheden@paranor.ch] > Sent: Tuesday, December 03, 2002 2:07 AM > To: 'Jakarta Commons Users List' > Subject: RE: [jelly] unit testing: detecting exceptions > > Dominique, > > Funny that you found the same pattern useful in Java aswell. There you at > least don't have the problem that the try and catch blocks are disconnected > as with Jelly. Well now it's "assertThrown" afterall. See > http://jakarta.apache.org/commons/sandbox/jelly/tags.html#junit:assertThrown > . > > -- > knut > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com