From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20717 invoked by alias); 21 May 2006 20:30:00 -0000 Received: (qmail 20290 invoked by uid 22791); 21 May 2006 20:29:32 -0000 X-Spam-Check-By: sourceware.org Received: from smtp807.mail.ukl.yahoo.com (HELO smtp807.mail.ukl.yahoo.com) (217.12.12.197) by sourceware.org (qpsmtpd/0.31) with SMTP; Sun, 21 May 2006 20:29:17 +0000 Received: (qmail 61213 invoked from network); 21 May 2006 20:29:09 -0000 Received: from unknown (HELO orthanc.middle-earth.co.uk) (hughes2002@btinternet.com@81.132.123.209 with plain) by smtp807.mail.ukl.yahoo.com with SMTP; 21 May 2006 20:29:09 -0000 Received: from rivendell.middle-earth.co.uk ([192.168.0.1] helo=localhost.localdomain ident=gandalf) by orthanc.middle-earth.co.uk with smtp (Exim 4.50) id 1FhuY0-0004zs-1y for mauve-patches@sources.redhat.com; Sun, 21 May 2006 21:29:09 +0100 Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 21 May 2006 21:29:08 +0100 From: "Andrew John Hughes" Date: Sun, 21 May 2006 20:30:00 -0000 To: mauve-patches@sources.redhat.com Subject: FYI: Fix for InstantiateChild test Message-ID: <20060521202908.GA7910@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI" Content-Disposition: inline User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact mauve-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-patches-owner@sourceware.org X-SW-Source: 2006/txt/msg00337.txt.bz2 --PmA2V3Z32TCmWXqI Content-Type: multipart/mixed; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 929 I'm committing the attached patch which fixes a bug in the recent InstantiateChild test; it shouldn't compare the return value as we do with add. Changelog: 2006-05-21 Andrew John Hughes * gnu/testlet/java/beans/beancontext/InstantiateChild.java:=20 Fix incorrect test of return value of InstantiateChild. --=20 Andrew :-) Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachment= s. See http://www.fsf.org/philosophy/no-word-attachments.html If you use Microsoft Office, support movement towards the end of vendor loc= k-in: http://opendocumentfellowship.org/petition/ "Value your freedom, or you will lose it, teaches history.=20 `Don't bother us with politics' respond those who don't want to learn."=20 -- Richard Stallman Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html public class gcj extends Freedom implements Java { ... } --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="beancontext-03b.diff" Content-Transfer-Encoding: quoted-printable Content-length: 1146 Index: gnu/testlet/java/beans/beancontext/InstantiateChild.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/mauve/mauve/gnu/testlet/java/beans/beancontext/InstantiateCh= ild.java,v retrieving revision 1.1 diff -u -3 -p -u -r1.1 InstantiateChild.java --- gnu/testlet/java/beans/beancontext/InstantiateChild.java 21 May 2006 20= :09:11 -0000 1.1 +++ gnu/testlet/java/beans/beancontext/InstantiateChild.java 21 May 2006 20= :23:34 -0000 @@ -42,8 +42,7 @@ public class InstantiateChild h.check(context.isEmpty(), "Empty check"); h.check(context.size() =3D=3D 0, "Size of 0 check"); /* Add child */ - h.check(context.instantiateChild("java.beans.beancontext.BeanContextChild= Support"),=20 - "Child instantiated addition check"); + context.instantiateChild("java.beans.beancontext.BeanContextChildSupport"= ); /* Check child is added to context */ h.check(context.isEmpty() =3D=3D false, "Non-empty check"); h.check(context.size() =3D=3D 1, "Size of 1 check"); --ZGiS0Q5IWpPtfppv-- --PmA2V3Z32TCmWXqI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline Content-length: 189 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEcM2TiJkFJGin1vIRAoJRAJ44Mtx9jKMNkiCGLAdLimlga/HUZgCfaoM1 Jg4szeFfotGjYjSNij14kZo= =C9C0 -----END PGP SIGNATURE----- --PmA2V3Z32TCmWXqI--