public abstract class HttpWagonTestCase extends StreamingWagonTestCase
artifactDestFile, artifactSourceFile, checksumObserver, destFile, localRepository, localRepositoryPath, mockTransferListener, mockTransferListenerControl, 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 java.lang.Exception
setupWagonTestingFixtures
in class WagonTestCase
java.lang.Exception
protected void createContext(org.mortbay.jetty.Server server, java.io.File repositoryDirectory) throws java.io.IOException
java.io.IOException
protected void tearDownWagonTestingFixtures() throws java.lang.Exception
tearDownWagonTestingFixtures
in class WagonTestCase
java.lang.Exception
public void testWagonGetFileList() throws java.lang.Exception
WagonTestCase
testWagonGetFileList
in class WagonTestCase
java.lang.Exception
public void testHttpHeaders() throws java.lang.Exception
java.lang.Exception
protected abstract void setHttpHeaders(StreamingWagon wagon, java.util.Properties properties)
protected void addConnectors(org.mortbay.jetty.Server server)
protected java.lang.String getRepositoryUrl(org.mortbay.jetty.Server server)
public void testGetForbidden() throws java.lang.Exception
java.lang.Exception
public void testGet404() throws java.lang.Exception
java.lang.Exception
public void testGet500() throws java.lang.Exception
java.lang.Exception
public void testResourceExistsForbidden() throws java.lang.Exception
java.lang.Exception
public void testResourceExists404() throws java.lang.Exception
java.lang.Exception
public void testResourceExists500() throws java.lang.Exception
java.lang.Exception
protected long getExpectedLastModifiedOnGet(Repository repository, Resource resource)
getExpectedLastModifiedOnGet
in class WagonTestCase
protected java.io.File getRepositoryDirectory()
public void testGzipGet() throws java.lang.Exception
java.lang.Exception
public void testProxiedRequest() throws java.lang.Exception
java.lang.Exception
public void testProxiedRequestWithAuthentication() throws java.lang.Exception
java.lang.Exception
public void testSecuredGetUnauthorized() throws java.lang.Exception
java.lang.Exception
public void testSecuredGetWrongPassword() throws java.lang.Exception
java.lang.Exception
public void testSecuredGet() throws java.lang.Exception
java.lang.Exception
public void runTestSecuredGet(AuthenticationInfo authInfo) throws java.lang.Exception
java.lang.Exception
public void testSecuredResourceExistsUnauthorized() throws java.lang.Exception
java.lang.Exception
public void testSecuredResourceExistsWrongPassword() throws java.lang.Exception
java.lang.Exception
public void testSecuredResourceExists() throws java.lang.Exception
java.lang.Exception
public void runTestSecuredResourceExists(AuthenticationInfo authInfo) throws java.lang.Exception
java.lang.Exception
protected org.mortbay.jetty.security.SecurityHandler createSecurityHandler()
public void testPutForbidden() throws java.lang.Exception
java.lang.Exception
public void testPut404() throws java.lang.Exception
java.lang.Exception
public void testPut500() throws java.lang.Exception
java.lang.Exception
public void testSecuredPutUnauthorized() throws java.lang.Exception
java.lang.Exception
public void testSecuredPutWrongPassword() throws java.lang.Exception
java.lang.Exception
public void testSecuredPut() throws java.lang.Exception
java.lang.Exception
public void runTestSecuredPut(AuthenticationInfo authInfo) throws java.lang.Exception
java.lang.Exception
Copyright © 2003-2013. All Rights Reserved.