Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 14946 invoked from network); 1 Aug 2010 21:05:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Aug 2010 21:05:43 -0000 Received: (qmail 58884 invoked by uid 500); 1 Aug 2010 21:05:42 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 58827 invoked by uid 500); 1 Aug 2010 21:05:42 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 58818 invoked by uid 99); 1 Aug 2010 21:05:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 21:05:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Aug 2010 21:05:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7E70B238890A; Sun, 1 Aug 2010 21:04:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r981318 - /tomcat/trunk/test/org/apache/el/TestMethodExpressionImpl.java Date: Sun, 01 Aug 2010 21:04:25 -0000 To: dev@tomcat.apache.org From: markt@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100801210425.7E70B238890A@eris.apache.org> Author: markt Date: Sun Aug 1 21:04:25 2010 New Revision: 981318 URL: http://svn.apache.org/viewvc?rev=981318&view=rev Log: Add an explicit test case for bug 49655 Modified: tomcat/trunk/test/org/apache/el/TestMethodExpressionImpl.java Modified: tomcat/trunk/test/org/apache/el/TestMethodExpressionImpl.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/el/TestMethodExpressionImpl.java?rev=981318&r1=981317&r2=981318&view=diff ============================================================================== --- tomcat/trunk/test/org/apache/el/TestMethodExpressionImpl.java (original) +++ tomcat/trunk/test/org/apache/el/TestMethodExpressionImpl.java Sun Aug 1 21:04:25 2010 @@ -311,4 +311,19 @@ public class TestMethodExpressionImpl ex Object r9 = me9.invoke(context, null); assertEquals("ABB[]: Hello AAA from BBB, BBB", r9.toString()); } + + /* + * This is also tested implicitly in numerous places elsewhere in this + * class. + */ + public void testBug49655() throws Exception { + // This is the call the failed + MethodExpression me = factory.createMethodExpression(context, + "#{beanA.setName('New value')}", null, null); + // The rest is to check it worked correctly + me.invoke(context, null); + ValueExpression ve = factory.createValueExpression(context, + "#{beanA.name}", java.lang.String.class); + assertEquals("New value", ve.getValue(context)); + } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org