Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2012-06-26 20:29:57 +0000
committerJohn Arthorne2012-07-24 17:19:13 +0000
commitd0135d6ee61f6c700c0779320ed513dc20be5100 (patch)
tree45263268bf71a20338674638bc3e94df601874e7 /org.eclipse.ua.tests/help
parentc3212ea5ec223c1145a8834ab2d7cb2b04b2cf32 (diff)
downloadeclipse.platform.ua-d0135d6ee61f6c700c0779320ed513dc20be5100.tar.gz
eclipse.platform.ua-d0135d6ee61f6c700c0779320ed513dc20be5100.tar.xz
eclipse.platform.ua-d0135d6ee61f6c700c0779320ed513dc20be5100.zip
Bug 383586 - Test failure caused by new German stemmer in Lucene 3.5
Diffstat (limited to 'org.eclipse.ua.tests/help')
-rw-r--r--org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/LocaleTest.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/LocaleTest.java b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/LocaleTest.java
index e35c840f5..08ce54ed4 100644
--- a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/LocaleTest.java
+++ b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/search/LocaleTest.java
@@ -77,13 +77,19 @@ public class LocaleTest extends TestCase {
SearchTestUtils.searchOneLocale("dhdsahkdshakjd", new String[0], "en");
}
+ /**
+ * Tests that the stemmer properly removes the German "e" suffix.
+ */
public void testSearchGermanStemming_e() {
SearchTestUtils.searchOneLocale("dfskajkfsafaisch", new String[] { "/org.eclipse.ua.tests/data/help/search/test10.xhtml"}, "de");
}
+ /**
+ * Tests that the stemmer properly removes the German "en" suffix.
+ */
public void testSearchGermanStemming_en() {
- SearchTestUtils.searchOneLocale("fdsufds", new String[] { "/org.eclipse.ua.tests/data/help/search/test10.xhtml"}, "de");
- SearchTestUtils.searchOneLocale("fdsufds", new String[0], "en");
+ SearchTestUtils.searchOneLocale("kirch", new String[] { "/org.eclipse.ua.tests/data/help/search/test10.xhtml"}, "de");
+ SearchTestUtils.searchOneLocale("kirch", new String[0], "en");
}
public void testSearchQualifiedNames_en() {

Back to the top