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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkResults
(org.apache.maven.index.Field field, String query, org.apache.lucene.search.Query q, org.apache.maven.index.IteratorSearchResponse res, File expectedResults) Will "print" the result set, and suck up a file and compare the twovoid
performQueryCreatorNGSearch
(org.apache.maven.index.NexusIndexer indexer, org.apache.maven.index.context.IndexingContext context) void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
deleteDirectory, getDirectory, setUp, testDirectory
Methods inherited from class org.apache.maven.index.AbstractTestSupport
getTestFile
Methods 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(org.apache.maven.index.NexusIndexer indexer, org.apache.maven.index.context.IndexingContext context) throws Exception - Throws:
Exception
-
testQueryCreatorNGSearch
- Throws:
Exception
-
testQueryCreatorNGSearchOnMergedContext
- Throws:
Exception
-
checkResults
public void checkResults(org.apache.maven.index.Field field, String query, org.apache.lucene.search.Query q, org.apache.maven.index.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
-