Skip to content

Add System.getProperty("tempDir") as final static to LuceneTestCase(J4) [LUCENE-2318] #3394

@asfimport

Description

@asfimport

Almost every test calls System.getProperty("tempDir") and some of them check the return value for null. In other cases the test simply fails from within eclipse.

We should add this to LuceneTestCase(J4) as a static final constant. For enabling tests run in eclipse, we can add a fallback to ".", if the Sysprop is not defined.


Migrated from LUCENE-2318 by Uwe Schindler (@uschindler), resolved Mar 14 2010
Attachments: LUCENE-2318.patch (versions: 2)
Linked issues:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions