public class TestSearch extends AbstractSearchTest
There is a worksheet src/architecture/search.xls
that gives
the background for this test suite.
TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
TestSearch() |
TestSearch(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertSameHits(IHit[] hits,
Iterator<? extends IHit> itr)
Compares the hit list to the expected hit list.
|
Properties |
getProperties()
Overrides some properties to setup the
FullTextIndex configuration. |
void |
test_ChildProofing() |
checkConfig, checkConfig, comparisonTest, getAnalyzer, getTokenStream, tearDown
getDelegate, getOurDelegate, getStore, getStore, reopenStore, setDelegate, setUp
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 TestSearch()
public TestSearch(String name)
public Properties getProperties()
FullTextIndex
configuration.getProperties
in class ProxyTestCase<IIndexManager>
Properties
object that supplies bindings for
property names according to the described hierarchy among
property resources. The returned Properties
is NOT
cached.
TODO This does not handle the recursive truncation of the
class name to search for "test.properties" yet.public void test_ChildProofing() throws InterruptedException
InterruptedException
protected void assertSameHits(IHit[] hits, Iterator<? extends IHit> itr)
Note: Ties on cosine are broken by sorting the ties into increasing order by docId.
hits
- The expected hits.itr
- The iterator visiting the actual hits.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.