mirror of https://github.com/apache/lucene.git
make the test case also work in Eclipse, not only in the ant task
Submitted by: Bernhard Messer git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150414 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b1a8660d17
commit
b968175664
|
@ -40,7 +40,7 @@ public class TestGermanStemFilter extends TestCase {
|
|||
public void testStemming() {
|
||||
try {
|
||||
// read test cases from external file:
|
||||
File dataDir = new File(System.getProperty("dataDir"));
|
||||
File dataDir = new File(System.getProperty("dataDir", "./bin"));
|
||||
File testFile = new File(dataDir, "org/apache/lucene/analysis/de/data.txt");
|
||||
FileInputStream fis = new FileInputStream(testFile);
|
||||
InputStreamReader isr = new InputStreamReader(fis, "iso-8859-1");
|
||||
|
|
Loading…
Reference in New Issue