public class GetWagonTests extends HttpWagonTests
| Constructor and Description |
|---|
GetWagonTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
basic() |
void |
error() |
void |
forbidden() |
void |
highLatencyHighTimeout() |
void |
highLatencyLowTimeout() |
void |
infinitePermanentMove() |
void |
infiniteTemporaryMove() |
void |
inifiniteLatencyTimeout() |
void |
missing() |
void |
nonExistentHost() |
void |
oneLevelPermanentMove() |
void |
oneLevelTemporaryMove() |
void |
permanentMove_TooManyRedirects_limit20()
NOTE: This test depends on a
WagonTestCaseConfigurator configuration to limit redirects to 20. |
void |
proxied() |
void |
proxyTimeout() |
void |
sixLevelPermanentMove() |
void |
sixLevelTemporaryMove() |
void |
successfulAuthentication() |
void |
temporaryMove_TooManyRedirects_limit20()
NOTE: This test depends on a
WagonTestCaseConfigurator configuration to limit redirects to 20. |
protected void |
testAuthFailure(java.lang.String path,
AuthenticationInfo info) |
protected void |
testErrorHandling(int code) |
protected void |
testSuccessfulGet(java.lang.String path) |
protected void |
testSuccessfulGet(java.lang.String path,
java.lang.String checkPath) |
void |
unsuccessfulAuthentication() |
addNotificationTarget, afterAll, afterEach, beforeAll, beforeEach, getBaseUrl, getConfigurator, getContainer, getDefaultPort, getPort, getPortPropertyValue, getRepo, getServerFixture, getTmpfiles, getWagon, initTest, initTest, isSsl, isSupported, newProxyInfo, newTempFile, setDefaultPortpublic void basic()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void proxied()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void highLatencyHighTimeout()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void highLatencyLowTimeout()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void inifiniteLatencyTimeout()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void nonExistentHost()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void oneLevelPermanentMove()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void oneLevelTemporaryMove()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void sixLevelPermanentMove()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void sixLevelTemporaryMove()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void infinitePermanentMove()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void infiniteTemporaryMove()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void permanentMove_TooManyRedirects_limit20()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
WagonTestCaseConfigurator configuration to limit redirects to 20. In the
case of the Sun HTTP implementation, this is the default limit.ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void temporaryMove_TooManyRedirects_limit20()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
ResourceDoesNotExistException,
AuthorizationException
WagonTestCaseConfigurator configuration to limit redirects to 20. In the
case of the Sun HTTP implementation, this is the default limit.ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void missing()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionAuthorizationExceptionpublic void error()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
AuthorizationException,
ResourceDoesNotExistException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionAuthorizationExceptionResourceDoesNotExistExceptionpublic void proxyTimeout()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
AuthorizationException,
ResourceDoesNotExistException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionAuthorizationExceptionResourceDoesNotExistExceptionpublic void forbidden()
throws ConnectionException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
ResourceDoesNotExistException,
TransferFailedException
ConnectionExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionResourceDoesNotExistExceptionTransferFailedExceptionpublic void successfulAuthentication()
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void unsuccessfulAuthentication()
throws ConnectionException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException
ConnectionExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionprotected void testAuthFailure(java.lang.String path,
AuthenticationInfo info)
throws ConnectionException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException
ConnectionExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionprotected void testSuccessfulGet(java.lang.String path)
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionprotected void testSuccessfulGet(java.lang.String path,
java.lang.String checkPath)
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionprotected void testErrorHandling(int code)
throws ConnectionException,
AuthenticationException,
org.codehaus.plexus.component.configurator.ComponentConfigurationException,
java.io.IOException,
AuthorizationException,
ResourceDoesNotExistException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionjava.io.IOExceptionAuthorizationExceptionResourceDoesNotExistExceptionCopyright © 2003-2013. All Rights Reserved.