Package org.apache.maven.index.updater
Class AbstractIndexUpdaterTest
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.updater.AbstractIndexUpdaterTest
- All Implemented Interfaces:
junit.framework.Test
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ArtifactContextcreateArtifactContext(String repositoryId, String groupId, String artifactId, String version, String classifier) protected StringcreatePath(String groupId, String artifactId, String version, String classifier) protected voidpackIndex(File targetDir, IndexingContext context) protected voidsearchFor(String groupId, int expected, IndexingContext context) protected voidsetUp()protected voidtearDown()Methods inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
deleteDirectory, getDirectory, testDirectoryMethods inherited from class org.apache.maven.index.AbstractTestSupport
customizeContainerConfigurationMethods 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, teardownContainerMethods 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
-
Constructor Details
-
AbstractIndexUpdaterTest
public AbstractIndexUpdaterTest()
-
-
Method Details
-
setUp
- Overrides:
setUpin classAbstractIndexCreatorHelper- Throws:
Exception
-
tearDown
- Overrides:
tearDownin classorg.codehaus.plexus.PlexusTestCase- Throws:
Exception
-
createArtifactContext
-
createPath
-
packIndex
protected void packIndex(File targetDir, IndexingContext context) throws IllegalArgumentException, IOException - Throws:
IllegalArgumentExceptionIOException
-
searchFor
protected void searchFor(String groupId, int expected, IndexingContext context) throws IOException, Exception - Throws:
IOExceptionException
-