how to use BaseTokenStreamTestCase classe with maven
I want to unit test my lucene filter (whi开发者_StackOverflow中文版ch extends TokenFilter).
I use maven.
The "BaseTokenStreamTestCase" class looks perfect but I have no idea in which maven artifactId I can find it ?
Any idea ?
The class o.a.l.a.BaseTokenStreamTestCase.java
is part of Lucene's test
tree and it doesn't seem to be published as a Maven artifact (I may be wrong but I couldn't find it in any repository search engine). Maybe the easiest way would be to duplicate it in your own sources.
精彩评论