|
||||||||||
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
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 | |
---|---|
WebDavWagonTest()
|
Method Summary | |
---|---|
protected void |
createContext(org.mortbay.jetty.Server server,
File repositoryDirectory)
|
protected long |
getExpectedLastModifiedOnGet(Repository repository,
Resource resource)
|
protected String |
getProtocol()
|
protected String |
getTestRepositoryUrl()
|
protected void |
setHttpHeaders(StreamingWagon wagon,
Properties properties)
|
protected boolean |
supportPreemptiveAuthentication()
|
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()
|
protected void |
testPreemptiveAuthentication(HttpWagonTestCase.TestSecurityHandler sh)
|
void |
testWagonContinuesOnPutFailureIfPropertySet()
|
void |
testWagonFailsOnPutFailureByDefault()
|
void |
testWagonWebDavGetFileList()
Make sure wagon webdav can detect remote directory |
Methods inherited from class org.apache.maven.wagon.StreamingWagonTestCase |
---|
streamRoundTripTesting, testFailedGetIfNewerToStream, testFailedGetToStream, testStreamingWagon, testWagonGetIfNewerToStreamIsNewer, testWagonGetIfNewerToStreamIsOlder, testWagonGetIfNewerToStreamIsSame |
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 |
---|
public WebDavWagonTest()
Method Detail |
---|
protected String getTestRepositoryUrl() throws IOException
getTestRepositoryUrl
in class WagonTestCase
IOException
protected String getProtocol()
getProtocol
in class WagonTestCase
protected void createContext(org.mortbay.jetty.Server server, File repositoryDirectory) throws IOException
createContext
in class HttpWagonTestCase
IOException
protected long getExpectedLastModifiedOnGet(Repository repository, Resource resource)
getExpectedLastModifiedOnGet
in class 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(StreamingWagon wagon, Properties properties)
setHttpHeaders
in class HttpWagonTestCase
public void testWagonWebDavGetFileList() throws Exception
Exception
protected boolean supportPreemptiveAuthentication()
supportPreemptiveAuthentication
in class HttpWagonTestCase
protected void testPreemptiveAuthentication(HttpWagonTestCase.TestSecurityHandler sh)
testPreemptiveAuthentication
in class HttpWagonTestCase
public void testWagonFailsOnPutFailureByDefault() throws Exception
Exception
public void testWagonContinuesOnPutFailureIfPropertySet() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |