lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4054) Overrides of @Before or @After hooks should cause a test error.
Date Fri, 18 May 2012 15:31:06 GMT


Steven Rowe commented on LUCENE-4054:

Thanks Dawid - IntelliJ now shows an icon indicating the affected test is ignored, and no
exception is printed.
> Overrides of @Before or @After hooks should cause a test error.
> ---------------------------------------------------------------
>                 Key: LUCENE-4054
>                 URL:
>             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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message