|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.wagon.WagonTestCase org.apache.maven.wagon.StreamingWagonTestCase org.apache.maven.wagon.http.HttpWagonTestCase org.apache.maven.wagon.providers.webdav.WebDavWagonTest
public class WebDavWagonTest
Field Summary |
---|
Fields inherited from class org.apache.maven.wagon.WagonTestCase |
---|
artifactDestFile, artifactSourceFile, checksumObserver, destFile, localRepository, localRepositoryPath, mockTransferListener, mockTransferListenerControl, POM, resource, sourceFile, testRepository |
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
WebDavWagonTest()
|
Method Summary | |
---|---|
protected void |
createContext(org.mortbay.jetty.Server server,
File repositoryDirectory)
|
protected long |
getExpectedLastModifiedOnGet(org.apache.maven.wagon.repository.Repository repository,
org.apache.maven.wagon.resource.Resource resource)
|
protected String |
getProtocol()
|
protected String |
getTestRepositoryUrl()
|
protected void |
setHttpHeaders(org.apache.maven.wagon.StreamingWagon wagon,
Properties properties)
|
void |
testGetURLDavHttp()
Tests the maven 2.0.x way to define a webdav URL without SSL. |
void |
testGetURLDavHttps()
Tests the maven 2.0.x way to define a webdav URL with SSL. |
void |
testGetURLDavPlusHttp()
Tests the URI spec way of defining a webdav URL without SSL. |
void |
testGetURLDavPlusHttps()
Tests the URI spec way of defining a webdav URL with SSL. |
void |
testGetURLDavUri()
Tests the URI spec way of defining a webdav URL without SSL. |
void |
testGetURLDavUriWithSsl()
Tests the URI spec way of defining a webdav URL with SSL. |
void |
testMkdirs()
|
void |
testMkdirsWithNoBasedir()
|
void |
testWagonWebDavGetFileList()
Make sure wagon webdav can detect remote directory |
Methods inherited from class org.apache.maven.wagon.http.HttpWagonTestCase |
---|
addConnectors, createSecurityHandler, getRepositoryDirectory, getRepositoryUrl, runTestSecuredGet, runTestSecuredPut, runTestSecuredResourceExists, setupWagonTestingFixtures, tearDownWagonTestingFixtures, testGet404, testGet500, testGetForbidden, testGzipGet, testHttpHeaders, testProxiedRequest, testProxiedRequestWithAuthentication, testPut404, testPut500, testPutForbidden, testResourceExists404, testResourceExists500, testResourceExistsForbidden, testSecuredGet, testSecuredGetUnauthorized, testSecuredGetWrongPassword, testSecuredPut, 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 |
---|
createContainerInstance, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WebDavWagonTest()
Method Detail |
---|
protected String getTestRepositoryUrl() throws IOException
getTestRepositoryUrl
in class org.apache.maven.wagon.WagonTestCase
IOException
protected String getProtocol()
getProtocol
in class org.apache.maven.wagon.WagonTestCase
protected void createContext(org.mortbay.jetty.Server server, File repositoryDirectory) throws IOException
createContext
in class org.apache.maven.wagon.http.HttpWagonTestCase
IOException
protected long getExpectedLastModifiedOnGet(org.apache.maven.wagon.repository.Repository repository, org.apache.maven.wagon.resource.Resource resource)
getExpectedLastModifiedOnGet
in class org.apache.maven.wagon.http.HttpWagonTestCase
public void testGetURLDavHttp()
public void testGetURLDavHttps()
public void testGetURLDavUri()
public void testGetURLDavUriWithSsl()
public void testGetURLDavPlusHttp()
public void testGetURLDavPlusHttps()
public void testMkdirs() throws Exception
Exception
public void testMkdirsWithNoBasedir() throws Exception
Exception
protected void setHttpHeaders(org.apache.maven.wagon.StreamingWagon wagon, Properties properties)
setHttpHeaders
in class org.apache.maven.wagon.http.HttpWagonTestCase
public void testWagonWebDavGetFileList() throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |