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, newTempFile
public GetWagonTests()
public void basic() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
public void proxied() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
public void highLatencyHighTimeout() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
public void highLatencyLowTimeout() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
public void inifiniteLatencyTimeout() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
public void nonExistentHost() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
ResourceDoesNotExistException
AuthorizationException
public void oneLevelPermanentMove() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
public void oneLevelTemporaryMove() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
public void sixLevelPermanentMove() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
public void sixLevelTemporaryMove() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
public void infinitePermanentMove() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
public void infiniteTemporaryMove() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
ResourceDoesNotExistException
AuthorizationException
public 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.ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
public 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.ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
ResourceDoesNotExistException
AuthorizationException
public void missing() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
AuthorizationException
public void error() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, AuthorizationException, ResourceDoesNotExistException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
AuthorizationException
ResourceDoesNotExistException
public void proxyTimeout() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, AuthorizationException, ResourceDoesNotExistException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
AuthorizationException
ResourceDoesNotExistException
public void forbidden() throws ConnectionException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, ResourceDoesNotExistException, TransferFailedException
ConnectionException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
ResourceDoesNotExistException
TransferFailedException
public void successfulAuthentication() throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
public void unsuccessfulAuthentication() throws ConnectionException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException
ConnectionException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
protected void testAuthFailure(String path, AuthenticationInfo info) throws ConnectionException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException
ConnectionException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
protected void testSuccessfulGet(String path) throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
protected void testSuccessfulGet(String path, String checkPath) throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, TransferFailedException, ResourceDoesNotExistException, AuthorizationException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
TransferFailedException
ResourceDoesNotExistException
AuthorizationException
protected void testErrorHandling(int code) throws ConnectionException, AuthenticationException, org.codehaus.plexus.component.configurator.ComponentConfigurationException, IOException, AuthorizationException, ResourceDoesNotExistException
ConnectionException
AuthenticationException
org.codehaus.plexus.component.configurator.ComponentConfigurationException
IOException
AuthorizationException
ResourceDoesNotExistException
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.