org.apache.maven.wagon.providers.http
Class HttpWagonTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.wagon.WagonTestCase
                  extended by org.apache.maven.wagon.StreamingWagonTestCase
                      extended by org.apache.maven.wagon.http.HttpWagonTestCase
                          extended by org.apache.maven.wagon.providers.http.HttpWagonTest
All Implemented Interfaces:
Test
Direct Known Subclasses:
HttpsWagonTest

public class HttpWagonTest
extends HttpWagonTestCase

Version:
$Id: HttpWagonTest.java 1213499 2011-12-12 23:44:16Z olamy $
Author:
Michal Maczka

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.maven.wagon.http.HttpWagonTestCase
HttpWagonTestCase.SecurityHandlerRequestReponse, HttpWagonTestCase.TestSecurityHandler
 
Field Summary
 
Fields inherited from class org.apache.maven.wagon.WagonTestCase
artifactDestFile, artifactSourceFile, checksumObserver, destFile, localRepository, localRepositoryPath, logger, mockTransferListener, mockTransferListenerControl, POM, resource, sourceFile, testRepository
 
Constructor Summary
HttpWagonTest()
           
 
Method Summary
protected  String getProtocol()
           
protected  String getTestRepositoryUrl()
           
protected  void setHttpHeaders(StreamingWagon wagon, Properties properties)
           
protected  boolean supportPreemptiveAuthentication()
           
protected  boolean supportProxyPreemptiveAuthentication()
           
 void testDefaultPooledConnectionManager()
           
 
Methods inherited from class org.apache.maven.wagon.http.HttpWagonTestCase
addConnectors, createContext, createSecurityHandler, getExpectedLastModifiedOnGet, getRepositoryDirectory, getRepositoryUrl, getTestRepositoryPort, runTestSecuredGet, runTestSecuredPut, runTestSecuredPut, runTestSecuredPutFromStream, runTestSecuredResourceExists, setupWagonTestingFixtures, tearDownWagonTestingFixtures, testGet404, testGet500, testGetForbidden, testGzipGet, testHttpHeaders, testHttpHeadersWithCommonMethods, testNonSecuredPutFromStream, testPreemptiveAuthentication, testProxiedRequest, testProxiedRequestWithAuthentication, testPut404, testPut500, testPutForbidden, testResourceExists404, testResourceExists500, testResourceExistsForbidden, testSecuredGet, testSecuredGetUnauthorized, testSecuredGetWrongPassword, testSecuredPut, testSecuredPutFromStream, testSecuredPutUnauthorized, testSecuredPutWrongPassword, testSecuredResourceExists, testSecuredResourceExistsUnauthorized, testSecuredResourceExistsWrongPassword, testWagonGetFileList
 
Methods inherited from class org.apache.maven.wagon.StreamingWagonTestCase
streamRoundTripTesting, testFailedGetIfNewerToStream, testFailedGetToStream, testStreamingWagon, testWagonGetIfNewerToStreamIsNewer, testWagonGetIfNewerToStreamIsOlder, testWagonGetIfNewerToStreamIsSame
 
Methods inherited from class org.apache.maven.wagon.WagonTestCase
assertGetIfNewerTest, assertNotExists, assertResourcesAreInRemoteSide, connectWagon, createDirectory, createFileRepository, createTransferEvent, customizeContext, disconnectWagon, fileRoundTripTesting, getAuthInfo, getExpectedContentLengthOnGet, getFile, getPermissions, getWagon, message, putFile, putFile, replaceMockForGet, replayMockForPut, setUp, setupGetIfNewerTest, setupRepositories, supportsGetIfNewer, testFailedGet, testFailedGetIfNewer, testWagon, testWagonGetFileListWhenDirectoryDoesNotExist, testWagonGetIfNewerIsNewer, testWagonGetIfNewerIsOlder, testWagonGetIfNewerIsSame, testWagonPutDirectory, testWagonPutDirectoryDeepDestination, testWagonPutDirectoryForDot, testWagonPutDirectoryWhenDirectoryAlreadyExists, testWagonResourceExists, testWagonResourceNotExists, verifyMock
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpWagonTest

public HttpWagonTest()
Method Detail

getProtocol

protected String getProtocol()
Specified by:
getProtocol in class WagonTestCase

getTestRepositoryUrl

protected String getTestRepositoryUrl()
Specified by:
getTestRepositoryUrl in class WagonTestCase

setHttpHeaders

protected void setHttpHeaders(StreamingWagon wagon,
                              Properties properties)
Specified by:
setHttpHeaders in class HttpWagonTestCase

testDefaultPooledConnectionManager

public void testDefaultPooledConnectionManager()
                                        throws Exception
Throws:
Exception

supportPreemptiveAuthentication

protected boolean supportPreemptiveAuthentication()
Specified by:
supportPreemptiveAuthentication in class HttpWagonTestCase

supportProxyPreemptiveAuthentication

protected boolean supportProxyPreemptiveAuthentication()
Overrides:
supportProxyPreemptiveAuthentication in class HttpWagonTestCase


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.