public class GetWagonTests extends HttpWagonTests
logger| 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(String path,
AuthenticationInfo info) |
protected void |
testErrorHandling(int code) |
protected void |
testSuccessfulGet(String path) |
protected void |
testSuccessfulGet(String path,
String checkPath) |
void |
unsuccessfulAuthentication() |
addNotificationTarget, afterAll, afterEach, beforeAll, beforeEach, getBaseUrl, getConfigurator, getContainer, getPort, getPortPropertyValue, getRepo, getServerFixture, getTmpfiles, getWagon, initTest, initTest, isSsl, isSupported, newProxyInfo, newTempFilepublic GetWagonTests()
public void basic() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void proxied() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void highLatencyHighTimeout() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void highLatencyLowTimeout() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void inifiniteLatencyTimeout() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void nonExistentHost() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void oneLevelPermanentMove() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void oneLevelTemporaryMove() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void sixLevelPermanentMove() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void sixLevelTemporaryMove() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void infinitePermanentMove() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void infiniteTemporaryMove() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void permanentMove_TooManyRedirects_limit20() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, 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.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void temporaryMove_TooManyRedirects_limit20() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, 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.ComponentConfigurationExceptionIOExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void missing() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionAuthorizationExceptionpublic void error() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, AuthorizationException, ResourceDoesNotExistException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionAuthorizationExceptionResourceDoesNotExistExceptionpublic void proxyTimeout() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, AuthorizationException, ResourceDoesNotExistException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionAuthorizationExceptionResourceDoesNotExistExceptionpublic void forbidden() throws ConnectionException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, ResourceDoesNotExistException, TransferFailedException
ConnectionExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionResourceDoesNotExistExceptionTransferFailedExceptionpublic void successfulAuthentication() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionpublic void unsuccessfulAuthentication() throws ConnectionException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException
ConnectionExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionprotected void testAuthFailure(String path, AuthenticationInfo info) throws ConnectionException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException
ConnectionExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionprotected void testSuccessfulGet(String path) throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionprotected void testSuccessfulGet(String path, String checkPath) throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionTransferFailedExceptionResourceDoesNotExistExceptionAuthorizationExceptionprotected void testErrorHandling(int code) throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, AuthorizationException, ResourceDoesNotExistException
ConnectionExceptionAuthenticationExceptionorg.codehaus.plexus.component.configurator.ComponentConfigurationExceptionIOExceptionAuthorizationExceptionResourceDoesNotExistExceptionCopyright © 2003–2013 The Apache Software Foundation. All rights reserved.