r68120 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68119‎ | r68120 | r68121 >
Date:13:36, 16 June 2010
Author:daniel
Status:deferred
Tags:
Comment:
made test case use enwiki config
Modified paths:
  • /trunk/WikiWord/WikiWordBuilder/src/test/java/de/brightbyte/wikiword/analyzer/PlainTextAnalyzerTest.java (modified) (history)

Diff [purge]

Index: trunk/WikiWord/WikiWordBuilder/src/test/java/de/brightbyte/wikiword/analyzer/PlainTextAnalyzerTest.java
@@ -19,7 +19,7 @@
2020 public class PlainTextAnalyzerTest extends PlainTextAnalyzerTestBase {
2121
2222 public PlainTextAnalyzerTest() {
23 - super("test");
 23+ super("en");
2424 }
2525
2626 //TODO: tests for all sensors (and manglers) !
@@ -174,7 +174,7 @@
175175 public void setUp() throws URISyntaxException, IOException {
176176 LanguageConfiguration config = new LanguageConfiguration();
177177
178 - corpus = new Corpus("TEST", "en", "en", "en", "en", "en", "en", null);
 178+ //corpus = new Corpus("TEST", "en", "en", "en", "en", "en", "en", null);
179179 testAnalyzer = new TestPlainTextAnalyzer(corpus);
180180 testAnalyzer.configure(config, tweaks);
181181 testAnalyzer.initialize();

Status & tagging log