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

Robert Muir updated LUCENE-4449:
--------------------------------

    Attachment: LUCENE-4449.patch

Here's the basic idea: before committing I would add a test that extends this 
for every PostingsFormat we support.
                
> Factor TestPostingsFormat into BasePostingsFormatTestCase (or similar)
> ----------------------------------------------------------------------
>
>                 Key: LUCENE-4449
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4449
>             Project: Lucene - Core
>          Issue Type: Sub-task
>          Components: general/test
>            Reporter: Robert Muir
>         Attachments: LUCENE-4449.patch
>
>
> TestPostingsFormat is designed to fail if you have a bug in your postings 
> format.
> But today we just pick a random PF (or mix) and test that: I think instead we 
> should factor this into a base class in test-framework.
> So this way each codec would extend this test and force their codec to be 
> used to ensure basic coverage.
> We could still have the "TestPostingsFormat" in core/ that uses the random 
> mix of PFs too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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