mirror of https://github.com/apache/lucene.git
- Removed the main method, which was causing compilation errors with JUnit 3.8.1.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149846 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d6a14107a7
commit
ca982c77db
|
@ -97,11 +97,6 @@ public class TestRussianAnalyzer extends TestCase
|
|||
super(name);
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
junit.textui.TestRunner.run(RussianAnalyzerTest.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see TestCase#setUp()
|
||||
*/
|
||||
|
@ -116,13 +111,11 @@ public class TestRussianAnalyzer extends TestCase
|
|||
*/
|
||||
protected void tearDown() throws Exception
|
||||
{
|
||||
|
||||
super.tearDown();
|
||||
}
|
||||
|
||||
public void testUnicode() throws IOException
|
||||
{
|
||||
|
||||
RussianAnalyzer ra = new RussianAnalyzer(RussianCharsets.UnicodeRussian);
|
||||
inWords =
|
||||
new InputStreamReader(
|
||||
|
|
|
@ -72,11 +72,6 @@ public class TestRussianStem extends TestCase
|
|||
super(name);
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
junit.textui.TestRunner.run(RussianStemTest.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see TestCase#setUp()
|
||||
*/
|
||||
|
@ -109,7 +104,6 @@ public class TestRussianStem extends TestCase
|
|||
stems.add(str);
|
||||
}
|
||||
inStems.close();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue