Package org.apache.maven.index
Class AbstractNexusIndexerTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.index.AbstractTestSupport
org.apache.maven.index.AbstractIndexCreatorHelper
org.apache.maven.index.AbstractNexusIndexerTest
- All Implemented Interfaces:
junit.framework.Test
- 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 IndexingContext
protected org.apache.lucene.store.Directory
protected 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, IndexingContext context) protected abstract void
prepareNexusIndexer
(NexusIndexer nexusIndexer) protected void
setUp()
protected void
tearDown()
protected void
unprepareNexusIndexer
(NexusIndexer nexusIndexer) Methods inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
deleteDirectory, getDirectory, testDirectory
Methods inherited from class org.apache.maven.index.AbstractTestSupport
customizeContainerConfiguration
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, teardownContainer
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
Field Details
-
nexusIndexer
-
indexDir
protected org.apache.lucene.store.Directory indexDir -
context
-
-
Constructor Details
-
AbstractNexusIndexerTest
public AbstractNexusIndexerTest()
-
-
Method Details
-
setUp
- Overrides:
setUp
in classAbstractIndexCreatorHelper
- Throws:
Exception
-
tearDown
- Overrides:
tearDown
in classorg.codehaus.plexus.PlexusTestCase
- Throws:
Exception
-
prepareNexusIndexer
- Throws:
Exception
-
unprepareNexusIndexer
- Throws:
Exception
-
assertGroup
- Throws:
IOException
-