org.apache.maven.shared.io.download
Class DefaultDownloadManagerTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.shared.io.download.DefaultDownloadManagerTest
- All Implemented Interfaces:
- Test
public class DefaultDownloadManagerTest
- extends org.codehaus.plexus.PlexusTestCase
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
basedir, container |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, tearDown |
Methods inherited from class junit.framework.Assert |
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, fail, fail |
DefaultDownloadManagerTest
public DefaultDownloadManagerTest()
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class org.codehaus.plexus.PlexusTestCase
- Throws:
Exception
testShouldConstructWithNoParamsAndHaveNonNullMessageHolder
public void testShouldConstructWithNoParamsAndHaveNonNullMessageHolder()
testShouldConstructWithWagonManager
public void testShouldConstructWithWagonManager()
testShouldLookupInstanceDefaultRoleHint
public void testShouldLookupInstanceDefaultRoleHint()
throws Exception
- Throws:
Exception
testShouldFailToDownloadMalformedURL
public void testShouldFailToDownloadMalformedURL()
testShouldDownloadFromTempFileWithNoTransferListeners
public void testShouldDownloadFromTempFileWithNoTransferListeners()
throws IOException,
org.apache.maven.shared.io.download.DownloadFailedException
- Throws:
IOException
org.apache.maven.shared.io.download.DownloadFailedException
testShouldDownloadFromTempFileTwiceAndUseCache
public void testShouldDownloadFromTempFileTwiceAndUseCache()
throws IOException,
org.apache.maven.shared.io.download.DownloadFailedException
- Throws:
IOException
org.apache.maven.shared.io.download.DownloadFailedException
testShouldDownloadFromTempFileWithOneTransferListener
public void testShouldDownloadFromTempFileWithOneTransferListener()
throws IOException,
org.apache.maven.shared.io.download.DownloadFailedException
- Throws:
IOException
org.apache.maven.shared.io.download.DownloadFailedException
testShouldFailToDownloadWhenWagonProtocolNotFound
public void testShouldFailToDownloadWhenWagonProtocolNotFound()
throws IOException
- Throws:
IOException
testShouldFailToDownloadWhenWagonConnectThrowsConnectionException
public void testShouldFailToDownloadWhenWagonConnectThrowsConnectionException()
throws IOException
- Throws:
IOException
testShouldFailToDownloadWhenWagonConnectThrowsAuthenticationException
public void testShouldFailToDownloadWhenWagonConnectThrowsAuthenticationException()
throws IOException
- Throws:
IOException
testShouldFailToDownloadWhenWagonGetThrowsTransferFailedException
public void testShouldFailToDownloadWhenWagonGetThrowsTransferFailedException()
throws IOException
- Throws:
IOException
testShouldFailToDownloadWhenWagonGetThrowsResourceDoesNotExistException
public void testShouldFailToDownloadWhenWagonGetThrowsResourceDoesNotExistException()
throws IOException
- Throws:
IOException
testShouldFailToDownloadWhenWagonGetThrowsAuthorizationException
public void testShouldFailToDownloadWhenWagonGetThrowsAuthorizationException()
throws IOException
- Throws:
IOException
testShouldFailToDownloadWhenWagonDisconnectThrowsConnectionException
public void testShouldFailToDownloadWhenWagonDisconnectThrowsConnectionException()
throws IOException,
org.apache.maven.shared.io.download.DownloadFailedException
- Throws:
IOException
org.apache.maven.shared.io.download.DownloadFailedException
Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.