You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2012/09/29 17:42:07 UTC
[jira] [Commented] (LUCENE-4449) Factor TestPostingsFormat into
BasePostingsFormatTestCase (or similar)
[ https://issues.apache.org/jira/browse/LUCENE-4449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466249#comment-13466249 ]
Michael McCandless commented on LUCENE-4449:
--------------------------------------------
+1
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org