diff --git a/src/test/org/apache/lucene/analysis/ru/TestRussianAnalyzer.java b/src/test/org/apache/lucene/analysis/ru/TestRussianAnalyzer.java index aae9338c0d8..9879f02c82d 100644 --- a/src/test/org/apache/lucene/analysis/ru/TestRussianAnalyzer.java +++ b/src/test/org/apache/lucene/analysis/ru/TestRussianAnalyzer.java @@ -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( diff --git a/src/test/org/apache/lucene/analysis/ru/TestRussianStem.java b/src/test/org/apache/lucene/analysis/ru/TestRussianStem.java index 314fca9561f..f968b36559e 100644 --- a/src/test/org/apache/lucene/analysis/ru/TestRussianStem.java +++ b/src/test/org/apache/lucene/analysis/ru/TestRussianStem.java @@ -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(); - } /**