mirror of https://github.com/apache/lucene.git
Move remaining Solr factory tests (LUCENE-3909)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305421 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0b1c526b67
commit
c6a8b487e5
|
@ -26,7 +26,7 @@ import org.apache.solr.core.SolrResourceLoader;
|
||||||
/**
|
/**
|
||||||
* Simple tests for {@link JapaneseBaseFormFilterFactory}
|
* Simple tests for {@link JapaneseBaseFormFilterFactory}
|
||||||
*/
|
*/
|
||||||
public class TestKuromojiBaseFormFilterFactory extends BaseTokenTestCase {
|
public class TestJapaneseBaseFormFilterFactory extends BaseTokenTestCase {
|
||||||
public void testBasics() throws IOException {
|
public void testBasics() throws IOException {
|
||||||
JapaneseTokenizerFactory tokenizerFactory = new JapaneseTokenizerFactory();
|
JapaneseTokenizerFactory tokenizerFactory = new JapaneseTokenizerFactory();
|
||||||
tokenizerFactory.init(DEFAULT_VERSION_PARAM);
|
tokenizerFactory.init(DEFAULT_VERSION_PARAM);
|
|
@ -26,9 +26,9 @@ import org.apache.solr.core.SolrResourceLoader;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simple tests for {@link KuromojiPartOfSpeechStopFilter}
|
* Simple tests for {@link JapanesePartOfSpeechStopFilterFactory}
|
||||||
*/
|
*/
|
||||||
public class TestKuromojiPartOfSpeechStopFilterFactory extends BaseTokenTestCase {
|
public class TestJapanesePartOfSpeechStopFilterFactory extends BaseTokenTestCase {
|
||||||
public void testBasics() throws IOException {
|
public void testBasics() throws IOException {
|
||||||
String tags =
|
String tags =
|
||||||
"# verb-main:\n" +
|
"# verb-main:\n" +
|
|
@ -28,7 +28,7 @@ import org.apache.solr.core.SolrResourceLoader;
|
||||||
/**
|
/**
|
||||||
* Simple tests for {@link JapaneseTokenizerFactory}
|
* Simple tests for {@link JapaneseTokenizerFactory}
|
||||||
*/
|
*/
|
||||||
public class TestKuromojiTokenizerFactory extends BaseTokenTestCase {
|
public class TestJapaneseTokenizerFactory extends BaseTokenTestCase {
|
||||||
public void testSimple() throws IOException {
|
public void testSimple() throws IOException {
|
||||||
JapaneseTokenizerFactory factory = new JapaneseTokenizerFactory();
|
JapaneseTokenizerFactory factory = new JapaneseTokenizerFactory();
|
||||||
factory.init(DEFAULT_VERSION_PARAM);
|
factory.init(DEFAULT_VERSION_PARAM);
|
Loading…
Reference in New Issue