public class HttpWagonPreemptiveTest extends HttpWagonTest
org.apache.maven.wagon.http.HttpWagonTestCase.HandlerRequestResponse, org.apache.maven.wagon.http.HttpWagonTestCase.PutHandler, org.apache.maven.wagon.http.HttpWagonTestCase.RedirectHandler, org.apache.maven.wagon.http.HttpWagonTestCase.TestSecurityHandler
SC_TOO_MANY_REQUESTS
artifactDestFile, artifactSourceFile, checksumObserver, destFile, localRepository, localRepositoryPath, logger, mockTransferListener, POM, resource, sourceFile, TEST_CKSUM, TEST_CONTENT, testRepository, testSkipped
Constructor and Description |
---|
HttpWagonPreemptiveTest() |
Modifier and Type | Method and Description |
---|---|
protected Wagon |
getWagon() |
protected boolean |
supportPreemptiveAuthenticationGet() |
protected boolean |
supportPreemptiveAuthenticationPut() |
protected boolean |
supportProxyPreemptiveAuthentication() |
getProtocol, getTestRepositoryUrl, setHttpHeaders
addConnector, checkHandlerResult, checkRequestResponseForRedirectPutWithFullUrl, checkRequestResponseForRedirectPutWithRelativeUrl, createContext, createSecurityHandler, getExpectedLastModifiedOnGet, getLocalPort, getRepositoryDirectory, getRepositoryUrl, getTestRepositoryPort, runTestSecuredGet, runTestSecuredGetToStream, runTestSecuredPut, runTestSecuredPut, runTestSecuredPutFromStream, runTestSecuredResourceExists, setupWagonTestingFixtures, tearDownWagonTestingFixtures, testGet404, testGet500, testGetForbidden, testGzipGet, testHttpHeaders, testHttpHeadersWithCommonMethods, testList429, testNonSecuredPutFromStream, testPreemptiveAuthentication, testPreemptiveAuthenticationGet, testPreemptiveAuthenticationPut, testProxiedRequest, testProxiedRequestWithAuthentication, testProxiedRequestWithAuthenticationWithProvider, testPut404, testPut429, testPut500, testPutForbidden, testRedirectGet, testRedirectGetToStream, testRedirectPutFileRelativeUrl, testRedirectPutFileWithFullUrl, testRedirectPutFromStreamRelativeUrl, testRedirectPutFromStreamWithFullUrl, testResourceExists404, testResourceExists429, testResourceExists500, testResourceExistsForbidden, testSecuredGet, testSecuredGetToStream, testSecuredGetUnauthorized, testSecuredGetWrongPassword, testSecuredPut, testSecuredPutFromStream, testSecuredPutUnauthorized, testSecuredPutWrongPassword, testSecuredResourceExists, testSecuredResourceExistsUnauthorized, testSecuredResourceExistsWrongPassword, testUserAgentHeaderIsPresentByDefault, testUserAgentHeaderIsPresentOnlyOnceIfSetMultipleTimes, testWagonGetFileList
streamRoundTripTesting, testFailedGetIfNewerToStream, testFailedGetToStream, testStreamingWagon, testWagonGetIfNewerToStreamIsNewer, testWagonGetIfNewerToStreamIsOlder, testWagonGetIfNewerToStreamIsSame
assertGetIfNewerTest, assertNotExists, assertOnTransferProgress, assertResourcesAreInRemoteSide, cksum, connectWagon, createDirectory, createFileRepository, createTransferEvent, customizeContext, disconnectWagon, fileRoundTripTesting, getAuthInfo, getExpectedContentLengthOnGet, getFile, getPermissions, isSystemCmd, message, putFile, putFile, replaceMockForGet, replayMockForPut, runTest, setUp, setupGetIfNewerTest, setupRepositories, supportsGetIfNewer, testFailedGet, testFailedGetIfNewer, testWagon, testWagonGetFileListWhenDirectoryDoesNotExist, testWagonGetIfNewerIsNewer, testWagonGetIfNewerIsOlder, testWagonGetIfNewerIsSame, testWagonPutDirectory, testWagonPutDirectoryDeepDestination, testWagonPutDirectoryForDot, testWagonPutDirectoryWhenDirectoryAlreadyExists, testWagonResourceExists, testWagonResourceNotExists, verifyMock
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
public HttpWagonPreemptiveTest()
protected Wagon getWagon() throws Exception
getWagon
in class WagonTestCase
Exception
protected boolean supportPreemptiveAuthenticationPut()
supportPreemptiveAuthenticationPut
in class HttpWagonTest
protected boolean supportPreemptiveAuthenticationGet()
supportPreemptiveAuthenticationGet
in class HttpWagonTest
protected boolean supportProxyPreemptiveAuthentication()
supportProxyPreemptiveAuthentication
in class HttpWagonTest
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.