Java 类org.apache.lucene.analysis.ReusableAnalyzerBase 实例源码

项目:Tank    文件:TankAnalyzerTest.java   
/**
 * Run the org.apache.lucene.analysis.ReusableAnalyzerBase.TokenStreamComponents createComponents(String,Reader)
 * method test.
 * 
 * @throws Exception
 * 
 * @generatedBy CodePro at 9/10/14 10:27 AM
 */
@Test
public void testCreateComponents_1()
        throws Exception {
    TankAnalyzer fixture = new TankAnalyzer(Version.LUCENE_20);
    String fieldName = "";
    Reader reader = new PipedReader();

    org.apache.lucene.analysis.ReusableAnalyzerBase.TokenStreamComponents result = fixture.createComponents(
            fieldName, reader);

    assertNotNull(result);
}