public class NexusIndexerTest extends AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS
Constructor and Description |
---|
NexusIndexerTest() |
Modifier and Type | Method and Description |
---|---|
void |
checkResults(Field field,
String query,
org.apache.lucene.search.Query q,
IteratorSearchResponse res,
File expectedResults)
Will "print" the result set, and suck up a file and compare the two
|
void |
performQueryCreatorNGSearch(NexusIndexer indexer,
IndexingContext context) |
void |
testIdentity() |
void |
testQueryCreatorNG() |
void |
testQueryCreatorNGSearch() |
void |
testQueryCreatorNGSearchOnMergedContext() |
void |
testSearchFlat() |
void |
testSearchGrouped() |
void |
testSearchIterator() |
void |
testSearchIteratorWithFilter() |
void |
testSearchPackaging() |
void |
testUnpack() |
void |
testUpdateArtifact() |
deleteDirectory, getDirectory, setUp, testDirectory
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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, fail, fail, failNotEquals, failNotSame, failSame, format
public void performQueryCreatorNGSearch(NexusIndexer indexer, IndexingContext context) throws Exception
Exception
public void testQueryCreatorNGSearchOnMergedContext() throws Exception
Exception
public void checkResults(Field field, String query, org.apache.lucene.search.Query q, IteratorSearchResponse res, File expectedResults) throws IOException
IOException
public void testSearchIteratorWithFilter() throws Exception
Exception
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.