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() |
setUpcheckConfig, checkConfig, comparisonTest, getAnalyzer, getTokenStream, tearDowngetDelegate, getOurDelegate, getProperties, getStore, getStore, reopenStore, setDelegatecheckIfProxy, fail, getRandomData, setUp, tearDownassertCondition, assertCondition, assertEquals, assertEquals, getBytes, getPort, getRandomData, getRandomDataassertEquals, 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, logPropertiesassertEquals, 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, toStringpublic 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
IOExceptionpublic void testStopWordSwitch()
throws IOException
IOExceptionpublic void testSyapseExample1()
throws IOException
IOExceptionpublic void testSyapseExample2()
throws IOException
IOExceptionpublic void testSyapseExample4()
throws IOException
IOExceptionpublic void testSyapseExample3()
throws IOException
IOExceptionpublic void testSyapseExample5()
throws IOException
IOExceptionpublic void testSyapseExample6()
throws IOException
IOExceptionpublic void testSyapseExample7()
throws IOException
IOExceptionpublic void testSyapseExample8()
throws IOException
IOExceptionpublic void testSyapseExample9()
throws IOException
IOExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.