Package org.apache.maven.index
Class NexusIndexerTest
java.lang.Object
org.eclipse.sisu.launch.InjectedTest
org.apache.maven.index.AbstractTestSupport
org.apache.maven.index.AbstractIndexCreatorHelper
org.apache.maven.index.NexusIndexerTest
- All Implemented Interfaces:
com.google.inject.Module
- Author:
- Jason van Zyl
-
Field Summary
Fields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckResults(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 twovoidperformQueryCreatorNGSearch(NexusIndexer indexer, IndexingContext context) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
deleteDirectory, getDirectory, setUp, testDirectoryMethods inherited from class org.apache.maven.index.AbstractTestSupport
getTestFileMethods inherited from class org.eclipse.sisu.launch.InjectedTest
configure, configure, getBasedir, lookup, lookup, lookup, lookup, scanning, space, spaceModule, tearDown
-
Constructor Details
-
NexusIndexerTest
public NexusIndexerTest()
-
-
Method Details
-
testSingleQuery
- Throws:
Exception
-
testQueryCreatorNG
- Throws:
Exception
-
performQueryCreatorNGSearch
public void performQueryCreatorNGSearch(NexusIndexer indexer, IndexingContext context) throws Exception - Throws:
Exception
-
testQueryCreatorNGSearch
- Throws:
Exception
-
testQueryCreatorNGSearchOnMergedContext
- Throws:
Exception
-
checkResults
public void checkResults(Field field, String query, org.apache.lucene.search.Query q, IteratorSearchResponse res, File expectedResults) throws IOException Will "print" the result set, and suck up a file and compare the two- Throws:
IOException
-
testSearchIterator
- Throws:
Exception
-
testSearchIteratorWithFilter
- Throws:
Exception
-
testSearchGrouped
- Throws:
Exception
-
testSearchFlat
- Throws:
Exception
-
testSearchPackaging
- Throws:
Exception
-
testIdentity
- Throws:
Exception
-
testUpdateArtifact
- Throws:
Exception
-
testUnpack
- Throws:
Exception
-