[ 
https://issues.apache.org/jira/browse/LUCENE-4047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dawid Weiss updated LUCENE-4047:
--------------------------------

    Attachment: LUCENE-4047.patch

A patch with cleanups to LuceneTestCase. Most of the previous code blobs from 
before-after methods have been refactored into rules that have a single concern 
(there are exceptions).

I'd appreciate if folks could test against temporarily introduced bugs to check 
that the output indeed catches them and is consistent. It can be more verbose 
than previously (that is: more errors can be printed than before) because with 
rules you can push more than a single failure.
                
> Cleanup of LuceneTestCase
> -------------------------
>
>                 Key: LUCENE-4047
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4047
>             Project: Lucene - Java
>          Issue Type: Sub-task
>          Components: general/build, general/test
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: LUCENE-4047.patch, LUCENE-4047.patch
>
>
> functionally split large blocks of code that do logically different things, 
> organize and order them into rules. Use RandomizedRunner facilities for 
> ensuring scope resources (Directory, temporary folders) are properly disposed 
> of. Use RandomizedRunner facilities for reporting reproduce message.
> I have a working branch for this at github. Polishing off the rough edges.

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to