You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/12/25 23:35:58 UTC

[jira] [Created] (WAGON-477) Tests from HttpWagonTestCase executed from WebDavWagonTestCase never see the DavServlet

Michael Osipov created WAGON-477:
------------------------------------

             Summary: Tests from HttpWagonTestCase executed from WebDavWagonTestCase never see the DavServlet
                 Key: WAGON-477
                 URL: https://issues.apache.org/jira/browse/WAGON-477
             Project: Maven Wagon
          Issue Type: Bug
          Components: wagon-webdav
    Affects Versions: 2.11
            Reporter: Michael Osipov


Several methods in {{HttpWagonTestCase}} executed from {{WebDavWagonTestCase}} set up their own server and root context instead of using {{createContext()}} or {{setupWagonTestingFixtures()}} which never create the {{DavServlet}} to perform DAV operations, but use the {{DefaultServlet}} or the {{PutHandler}}.

Ultimately, all {{MKCOL}} requests result to {{200}} instead of {{201}} due to the {{PutHandler}} and these tests are not real-world tests because they are not served by a DAV servlet to properly test the DAV usecase.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)