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
FieldsModifier and TypeFieldDescriptionprotected IndexingContextprotected org.apache.lucene.store.Directoryprotected NexusIndexerFields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertGroup(int expected, String group, IndexingContext context) protected abstract voidprepareNexusIndexer(NexusIndexer nexusIndexer) voidsetUp()voidtearDown()protected voidunprepareNexusIndexer(NexusIndexer nexusIndexer) Methods inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
deleteDirectory, getDirectory, 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
-
Field Details
-
nexusIndexer
-
indexDir
protected org.apache.lucene.store.Directory indexDir -
context
-
-
Constructor Details
-
AbstractNexusIndexerTest
public AbstractNexusIndexerTest()
-
-
Method Details
-
setUp
- Overrides:
setUpin classAbstractIndexCreatorHelper- Throws:
Exception
-
tearDown
- Overrides:
tearDownin classorg.eclipse.sisu.launch.InjectedTest- Throws:
Exception
-
prepareNexusIndexer
- Throws:
Exception
-
unprepareNexusIndexer
- Throws:
Exception
-
assertGroup
- Throws:
IOException
-