You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/04/16 14:20:24 UTC
[jira] Commented: (LUCENE-2398) Improve tests to work easier from
IDEs
[ https://issues.apache.org/jira/browse/LUCENE-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857791#action_12857791 ]
Robert Muir commented on LUCENE-2398:
-------------------------------------
I checked into this "lucene.common.dir", its only used currently in two places:
1. a couple benchmark tests use it to create some .alg files, for example TestQualityRun
{code}
private static String getReuters578LinesFile() {
return System.getProperty("lucene.common.dir").replace('\\','/') +
"/contrib/benchmark/src/test/org/apache/lucene/benchmark/quality/reuters.578.lines.txt.bz2";
}
{code}
2. the memory index test uses it as a base to find files on your hard drive to index.
I think this is similar to LUCENE-1756, and needs to also be fixed.
If we could improve these tests in this way, we could remove this lucene.common.dir alltogether and simplify the build system, too.
> Improve tests to work easier from IDEs
> --------------------------------------
>
> Key: LUCENE-2398
> URL: https://issues.apache.org/jira/browse/LUCENE-2398
> Project: Lucene - Java
> Issue Type: Test
> Reporter: Robert Muir
> Priority: Minor
> Attachments: LUCENE-2398.patch
>
>
> As reported by Paolo Castagna on the mailing lists, some tests fail when you run them from eclipse.
> Some of the failures he reports are actually code problems such as base test classes not being
> abstract when they should be... we should fix things like that.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org