public class TestConfigurableAnalyzerFactory extends AbstractAnalyzerFactoryTest
ConfigurableAnalyzerFactory
.
We use the same setup, as defined in getExtraProperties()
for all the tests. Some of the tests check whether bad combinations
of options are detected and reported correctly.
Others check that some input, in a particular language is
tokenized as expected.Modifier and Type | Class and Description |
---|---|
static class |
TestConfigurableAnalyzerFactory.NoStopWordsAnalyzer |
TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestConfigurableAnalyzerFactory() |
TestConfigurableAnalyzerFactory(String arg0) |
Modifier and Type | Method and Description |
---|---|
void |
testBadLike() |
void |
testCantAlwaysHaveDefaultStopWords() |
void |
testCantAlwaysHaveStopWords() |
void |
testCantFindStopWords() |
void |
testEmptyAnalyzer() |
void |
testLikeAndClass() |
void |
testLikeAndStopwords() |
void |
testMissingClass() |
void |
testStopWordSwitch() |
void |
testSyapseExample1() |
void |
testSyapseExample2() |
void |
testSyapseExample3() |
void |
testSyapseExample4() |
void |
testSyapseExample5() |
void |
testSyapseExample6() |
void |
testSyapseExample7() |
void |
testSyapseExample8() |
void |
testSyapseExample9() |
setUp
checkConfig, checkConfig, comparisonTest, getAnalyzer, getTokenStream, tearDown
getDelegate, getOurDelegate, getProperties, getStore, getStore, reopenStore, setDelegate
checkIfProxy, fail, getRandomData, setUp, tearDown
assertCondition, assertCondition, assertEquals, assertEquals, getBytes, getPort, getRandomData, getRandomData
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public TestConfigurableAnalyzerFactory()
public TestConfigurableAnalyzerFactory(String arg0)
public void testBadLike()
public void testMissingClass()
public void testLikeAndClass()
public void testLikeAndStopwords()
public void testCantAlwaysHaveStopWords()
public void testCantAlwaysHaveDefaultStopWords()
public void testCantFindStopWords()
public void testEmptyAnalyzer() throws IOException
IOException
public void testStopWordSwitch() throws IOException
IOException
public void testSyapseExample1() throws IOException
IOException
public void testSyapseExample2() throws IOException
IOException
public void testSyapseExample4() throws IOException
IOException
public void testSyapseExample3() throws IOException
IOException
public void testSyapseExample5() throws IOException
IOException
public void testSyapseExample6() throws IOException
IOException
public void testSyapseExample7() throws IOException
IOException
public void testSyapseExample8() throws IOException
IOException
public void testSyapseExample9() throws IOException
IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.