public abstract class HttpWagonTestCase extends StreamingWagonTestCase
artifactDestFile, artifactSourceFile, checksumObserver, destFile, localRepository, localRepositoryPath, mockTransferListener, POM, resource, sourceFile, testRepository
Constructor and Description |
---|
HttpWagonTestCase() |
streamRoundTripTesting, testFailedGetIfNewerToStream, testFailedGetToStream, testStreamingWagon, testWagonGetIfNewerToStreamIsNewer, testWagonGetIfNewerToStreamIsOlder, testWagonGetIfNewerToStreamIsSame
assertGetIfNewerTest, assertNotExists, assertResourcesAreInRemoteSide, connectWagon, createDirectory, createFileRepository, createTransferEvent, customizeContext, disconnectWagon, fileRoundTripTesting, getAuthInfo, getExpectedContentLengthOnGet, getFile, getPermissions, getProtocol, getTestRepositoryPort, getTestRepositoryUrl, getWagon, message, putFile, putFile, replaceMockForGet, replayMockForPut, setUp, setupGetIfNewerTest, setupRepositories, supportsGetIfNewer, testFailedGet, testFailedGetIfNewer, testWagon, testWagonGetFileListWhenDirectoryDoesNotExist, testWagonGetIfNewerIsNewer, testWagonGetIfNewerIsOlder, testWagonGetIfNewerIsSame, testWagonPutDirectory, testWagonPutDirectoryDeepDestination, testWagonPutDirectoryForDot, testWagonPutDirectoryWhenDirectoryAlreadyExists, testWagonResourceExists, testWagonResourceNotExists, verifyMock
createContainerInstance, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, 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, runTest, setName, toString
protected void setupWagonTestingFixtures() throws Exception
setupWagonTestingFixtures
in class WagonTestCase
Exception
protected void createContext(org.mortbay.jetty.Server server, File repositoryDirectory) throws IOException
IOException
protected void tearDownWagonTestingFixtures() throws Exception
tearDownWagonTestingFixtures
in class WagonTestCase
Exception
public void testWagonGetFileList() throws Exception
WagonTestCase
testWagonGetFileList
in class WagonTestCase
Exception
protected abstract void setHttpHeaders(StreamingWagon wagon, Properties properties)
protected void addConnectors(org.mortbay.jetty.Server server)
protected String getRepositoryUrl(org.mortbay.jetty.Server server)
public void testResourceExistsForbidden() throws Exception
Exception
protected long getExpectedLastModifiedOnGet(Repository repository, Resource resource)
getExpectedLastModifiedOnGet
in class WagonTestCase
protected File getRepositoryDirectory()
public void testProxiedRequestWithAuthentication() throws Exception
Exception
public void testSecuredGetUnauthorized() throws Exception
Exception
public void testSecuredGetWrongPassword() throws Exception
Exception
public void runTestSecuredGet(AuthenticationInfo authInfo) throws Exception
Exception
public void testSecuredResourceExistsUnauthorized() throws Exception
Exception
public void testSecuredResourceExistsWrongPassword() throws Exception
Exception
public void testSecuredResourceExists() throws Exception
Exception
public void runTestSecuredResourceExists(AuthenticationInfo authInfo) throws Exception
Exception
protected org.mortbay.jetty.security.SecurityHandler createSecurityHandler()
public void testSecuredPutUnauthorized() throws Exception
Exception
public void testSecuredPutWrongPassword() throws Exception
Exception
public void runTestSecuredPut(AuthenticationInfo authInfo) throws Exception
Exception
Copyright © 2003–2015. All rights reserved.