Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A440C0D7 for ; Fri, 18 May 2012 07:55:41 +0000 (UTC) Received: (qmail 90907 invoked by uid 500); 18 May 2012 07:55:40 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 90634 invoked by uid 500); 18 May 2012 07:55:39 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 90581 invoked by uid 99); 18 May 2012 07:55:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 07:55:37 +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; Fri, 18 May 2012 07:55:36 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1207BB97D for ; Fri, 18 May 2012 07:55:15 +0000 (UTC) Date: Fri, 18 May 2012 07:55:12 +0000 (UTC) From: "Dawid Weiss (JIRA)" To: dev@lucene.apache.org Message-ID: <142995311.13143.1337327715075.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <101050807.59491.1336897010163.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-4054) Overrides of @Before or @After hooks should cause a test error. 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/LUCENE-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278637#comment-13278637 ] Dawid Weiss commented on LUCENE-4054: ------------------------------------- Committed a fix for this. > Overrides of @Before or @After hooks should cause a test error. > --------------------------------------------------------------- > > Key: LUCENE-4054 > URL: https://issues.apache.org/jira/browse/LUCENE-4054 > Project: Lucene - Java > Issue Type: Sub-task > Components: general/build, general/test > Reporter: Dawid Weiss > Assignee: Dawid Weiss > Priority: Trivial > Fix For: 4.0 > > > The only exceptions are setUp/ tearDown methods in LuceneTestCase, which are historically designed for overriding (and for which chaining is verified). Any other override of am instance hook method should just be banned as it is very likely a mistake. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org