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 10816 invoked by uid 98); 10 Dec 2002 09:08:49 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 10797 invoked from network); 10 Dec 2002 09:08:47 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 10 Dec 2002 09:08:47 -0000 Received: (qmail 61059 invoked by uid 500); 10 Dec 2002 09:07:26 -0000 Received: (qmail 61047 invoked from network); 10 Dec 2002 09:07:26 -0000 Received: from smtp018.mail.yahoo.com (216.136.174.115) by daedalus.apache.org with SMTP; 10 Dec 2002 09:07:26 -0000 Received: from pc-80-193-217-22-hw.blueyonder.co.uk (HELO lndevjs) (james?strachan@80.193.217.22 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 10 Dec 2002 09:07:38 -0000 Message-ID: <067801c2a02b$8e6d2270$9865fea9@spiritsoft.com> From: "James Strachan" To: "Jakarta Commons Users List" References: Subject: Re: [Jelly] JellyUnit JellyAssertionFailedError not an Error Date: Tue, 10 Dec 2002 09:07:23 -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: "Todd Jonker" > Is there a good reason that JellyAssertionFailedError is not an Error but an > Exception? Besides the misleading name, its quite different from plain > JUnit, where AssertionFailedError is actually an Error so you don't have to > handle it explicitly. Whoops. JellyAssertionFailedError was always meant to extend AssertionFailedError. The idea being that it really was a JUnit assertion failure exception, but just that it was adorned with the JellyUnit context (file, line, column, tag name etc). I've patched the code in CVS to make this the case now. > Background: I'm trying to write a scripting system for acceptance tests of > GUI apps. This involves several custom Jelly tags to do various GUI > assertions an manipulations. I'll post some other questions/problems on > other threads. Sounds interesting. James ------- http://radio.weblogs.com/0112098/ __________________________________________________ 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