Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DFA14A6A for ; Tue, 17 May 2011 21:58:30 +0000 (UTC) Received: (qmail 35210 invoked by uid 500); 17 May 2011 21:58:30 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 35083 invoked by uid 500); 17 May 2011 21:58:29 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 35075 invoked by uid 99); 17 May 2011 21:58:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2011 21:58:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2011 21:58:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 55A2FCE6DA for ; Tue, 17 May 2011 21:57:47 +0000 (UTC) Date: Tue, 17 May 2011 21:57:47 +0000 (UTC) From: "Maurizio Cucchiara (JIRA)" To: issues@commons.apache.org Message-ID: <1344619620.20783.1305669467347.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <220892199.9690.1305280788080.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (OGNL-9) Upgrade JUnit to version4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OGNL-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035090#comment-13035090 ] Maurizio Cucchiara commented on OGNL-9: --------------------------------------- Patch applied. What's more this behaviour agrees with the api docs: {code} /** * Finds the best possible match for a method on the specified target class with a matching name. *

* The name matched will also try different combinations like is + name, has + name, get + name, etc.. *

* * @param target The class to find a matching method against. * @param name The name of the method. * @return The most likely matching {@link Method}, or null if none could be found. */ {code} > Upgrade JUnit to version4 > ------------------------- > > Key: OGNL-9 > URL: https://issues.apache.org/jira/browse/OGNL-9 > Project: OGNL (Incubating) > Issue Type: Task > Reporter: Simone Tripodi > Assignee: Simone Tripodi > Attachments: OGNL-9-1.patch, ognl-9.patch > > > Actually OGNL is tested using JUnit3; in Commons we've been migrating tests to JUnit4, as a first step just upgrading the dependency and refactoring the Test classes just by dropping the TestCase inheritance and using the annotation would be enough (methods refactoring dropping the 'test' prefix can be postponed). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira