Package org.apache.maven.index
Class AbstractNexusIndexerTest
java.lang.Object
org.eclipse.sisu.launch.InjectedTest
org.apache.maven.index.AbstractTestSupport
org.apache.maven.index.AbstractIndexCreatorHelper
org.apache.maven.index.AbstractNexusIndexerTest
- All Implemented Interfaces:
com.google.inject.Module
- Direct Known Subclasses:
AbstractRepoNexusIndexerTest
,ArtifactLocatorTest
,ConcurrentUseTest
,DefaultSearchEngineTest
,DuplicateSearchTest
,IndexTreeViewTest
,Mindexer14HitLimitTest
,Mindexer35NexusIndexerTest
,Nexus1179NexusIndexerTest
,Nexus13NexusIndexerTest
,Nexus2046NexusIndexerTest
,Nexus3177HitLimitChecks
,Nexus3233NexusIndexerTest
,Nexus3881NexusIndexerTest
,NEXUS4149TransferFormatTest
,Nexus4674GavPathReindexTest
,Nexus645NexusIndexerTest
,Nexus658NexusIndexerTest
,Nexus687NexusIndexerTest
,Nexus737NexusIndexerTest
,SubPathReindexTest
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.maven.index.context.IndexingContext
protected org.apache.lucene.store.Directory
protected org.apache.maven.index.NexusIndexer
Fields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
assertGroup
(int expected, String group, org.apache.maven.index.context.IndexingContext context) protected abstract void
prepareNexusIndexer
(org.apache.maven.index.NexusIndexer nexusIndexer) void
setUp()
void
tearDown()
protected void
unprepareNexusIndexer
(org.apache.maven.index.NexusIndexer nexusIndexer) Methods inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
deleteDirectory, getDirectory, 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
-
Field Details
-
nexusIndexer
protected org.apache.maven.index.NexusIndexer nexusIndexer -
indexDir
protected org.apache.lucene.store.Directory indexDir -
context
protected org.apache.maven.index.context.IndexingContext context
-
-
Constructor Details
-
AbstractNexusIndexerTest
public AbstractNexusIndexerTest()
-
-
Method Details
-
setUp
- Overrides:
setUp
in classAbstractIndexCreatorHelper
- Throws:
Exception
-
tearDown
- Overrides:
tearDown
in classorg.eclipse.sisu.launch.InjectedTest
- Throws:
Exception
-
prepareNexusIndexer
protected abstract void prepareNexusIndexer(org.apache.maven.index.NexusIndexer nexusIndexer) throws Exception - Throws:
Exception
-
unprepareNexusIndexer
protected void unprepareNexusIndexer(org.apache.maven.index.NexusIndexer nexusIndexer) throws Exception - Throws:
Exception
-
assertGroup
protected void assertGroup(int expected, String group, org.apache.maven.index.context.IndexingContext context) throws IOException - Throws:
IOException
-