org.apache.maven.wagon.providers.webdav
Class WebDavWagonTest

java.lang.Object
  extended by HttpWagonTestCase
      extended by org.apache.maven.wagon.providers.webdav.WebDavWagonTest
Direct Known Subclasses:
WebDavsWagonTest

public class WebDavWagonTest
extends HttpWagonTestCase


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)
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDavWagonTest

public WebDavWagonTest()
Method Detail

getTestRepositoryUrl

protected String getTestRepositoryUrl()
                               throws IOException
Throws:
IOException

getProtocol

protected String getProtocol()

createContext

protected void createContext(org.mortbay.jetty.Server server,
                             File repositoryDirectory)
                      throws IOException
Throws:
IOException

getExpectedLastModifiedOnGet

protected long getExpectedLastModifiedOnGet(Repository repository,
                                            Resource resource)

testGetURLDavHttp

public void testGetURLDavHttp()
Tests the maven 2.0.x way to define a webdav URL without SSL.


testGetURLDavHttps

public void testGetURLDavHttps()
Tests the maven 2.0.x way to define a webdav URL with SSL.


testGetURLDavUri

public void testGetURLDavUri()
Tests the URI spec way of defining a webdav URL without SSL.


testGetURLDavUriWithSsl

public void testGetURLDavUriWithSsl()
Tests the URI spec way of defining a webdav URL with SSL.


testGetURLDavPlusHttp

public void testGetURLDavPlusHttp()
Tests the URI spec way of defining a webdav URL without SSL.


testGetURLDavPlusHttps

public void testGetURLDavPlusHttps()
Tests the URI spec way of defining a webdav URL with SSL.


testMkdirs

public void testMkdirs()
                throws Exception
Throws:
Exception

testMkdirsWithNoBasedir

public void testMkdirsWithNoBasedir()
                             throws Exception
Throws:
Exception

setHttpHeaders

protected void setHttpHeaders(StreamingWagon wagon,
                              Properties properties)

testWagonWebDavGetFileList

public void testWagonWebDavGetFileList()
                                throws Exception
Make sure wagon webdav can detect remote directory

Throws:
Exception


Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.