Package org.apache.maven.index.updater
Class AbstractIndexUpdaterTest
java.lang.Object
org.eclipse.sisu.launch.InjectedTest
org.apache.maven.index.AbstractTestSupport
org.apache.maven.index.AbstractIndexCreatorHelper
org.apache.maven.index.updater.AbstractIndexUpdaterTest
- All Implemented Interfaces:
com.google.inject.Module
- Direct Known Subclasses:
DefaultIndexUpdaterTest
,DownloadRemoteIndexerManagerTest
,LocalIndexCacheTest
-
Field Summary
Fields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.maven.index.ArtifactContext
createArtifactContext
(String repositoryId, String groupId, String artifactId, String version, String classifier) protected String
createPath
(String groupId, String artifactId, String version, String classifier) protected void
protected void
void
setUp()
void
tearDown()
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
-
Constructor Details
-
AbstractIndexUpdaterTest
public AbstractIndexUpdaterTest()
-
-
Method Details
-
setUp
- Overrides:
setUp
in classAbstractIndexCreatorHelper
- Throws:
Exception
-
tearDown
- Overrides:
tearDown
in classorg.eclipse.sisu.launch.InjectedTest
- Throws:
Exception
-
createArtifactContext
-
createPath
-
packIndex
protected void packIndex(File targetDir, org.apache.maven.index.context.IndexingContext context) throws IllegalArgumentException, IOException - Throws:
IllegalArgumentException
IOException
-
searchFor
protected void searchFor(String groupId, int expected, org.apache.maven.index.context.IndexingContext context) throws IOException, Exception - Throws:
IOException
Exception
-