public class DefaultDownloadManagerTest
extends org.codehaus.plexus.PlexusTestCase
| Constructor and Description |
|---|
DefaultDownloadManagerTest() |
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDownassertEquals, 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, toStringpublic void setUp()
throws Exception
setUp in class org.codehaus.plexus.PlexusTestCaseExceptionpublic void testShouldConstructWithNoParamsAndHaveNonNullMessageHolder()
public void testShouldConstructWithWagonManager()
public void testShouldLookupInstanceDefaultRoleHint()
throws Exception
Exceptionpublic void testShouldFailToDownloadMalformedURL()
public void testShouldDownloadFromTempFileWithNoTransferListeners()
throws IOException,
DownloadFailedException
IOExceptionDownloadFailedExceptionpublic void testShouldDownloadFromTempFileTwiceAndUseCache()
throws IOException,
DownloadFailedException
IOExceptionDownloadFailedExceptionpublic void testShouldDownloadFromTempFileWithOneTransferListener()
throws IOException,
DownloadFailedException
IOExceptionDownloadFailedExceptionpublic void testShouldFailToDownloadWhenWagonProtocolNotFound()
throws IOException
IOExceptionpublic void testShouldFailToDownloadWhenWagonConnectThrowsConnectionException()
throws IOException
IOExceptionpublic void testShouldFailToDownloadWhenWagonConnectThrowsAuthenticationException()
throws IOException
IOExceptionpublic void testShouldFailToDownloadWhenWagonGetThrowsTransferFailedException()
throws IOException
IOExceptionpublic void testShouldFailToDownloadWhenWagonGetThrowsResourceDoesNotExistException()
throws IOException
IOExceptionpublic void testShouldFailToDownloadWhenWagonGetThrowsAuthorizationException()
throws IOException
IOExceptionpublic void testShouldFailToDownloadWhenWagonDisconnectThrowsConnectionException()
throws IOException,
DownloadFailedException
IOExceptionDownloadFailedExceptionCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.