Class AutomaticPomDownloadTest
- java.lang.Object
-
- org.commonjava.indy.ftest.core.AbstractIndyFunctionalTest
-
- org.commonjava.indy.folo.ftest.content.AbstractFoloContentManagementTest
-
- org.commonjava.indy.folo.ftest.content.AutomaticPomDownloadTest
-
public class AutomaticPomDownloadTest extends AbstractFoloContentManagementTest
Test checking that a pom is downloaded automatically without requesting it. The test runs an http server that expects download of /org/foo/bar/1.0/bar-1.0.jar and /org/foo/bar/1.0/bar-1.0.pom. Then the test ensures that the pom does not exist, downloads the jar and after a timeout it checks that the pom exists.- Author:
- pkocandr
-
-
Field Summary
Fields Modifier and Type Field Description org.commonjava.test.http.expect.ExpectationServerserver-
Fields inherited from class org.commonjava.indy.folo.ftest.content.AbstractFoloContentManagementTest
CENTRAL, centralServer, PUBLIC, STORE
-
-
Constructor Summary
Constructors Constructor Description AutomaticPomDownloadTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddownloadJarAndCheckIfPomWasDownloaded()-
Methods inherited from class org.commonjava.indy.folo.ftest.content.AbstractFoloContentManagementTest
before, getAdditionalClientModules
-
Methods inherited from class org.commonjava.indy.ftest.core.AbstractIndyFunctionalTest
copyToConfigFile, copyToDataFile, createIndyClient, getAdditionalMapperModules, getTemp, getTestEnvironmentTimeoutMultiplier, getTestTimeoutMultiplier, getTestTimeoutSeconds, initBaseTestConfig, initTestConfig, initTestData, isEmpty, isPathMappedStorageEnabled, isSchedulerEnabled, lookup, newName, newServerFixture, newUrl, readTestResource, readTestResourceAsStream, sleepAndRunFileGC, start, stop, waitForEventPropagation, waitForEventPropagationWithMultiplier, writeConfigFile, writeDataFile
-
-