Roxen.git / server / etc / test / modules / TEST.pmod / http.pmod / WebDAV.pmod / TestUtils.pmod

version» Context lines:

Roxen.git/server/etc/test/modules/TEST.pmod/http.pmod/WebDAV.pmod/TestUtils.pmod:1:   inherit "etc/test/tests/pike_test_common.pike"; // Necessary for stuff in testsuite.h to work...      #include <testsuite.h>    + #ifdef DAV_DEBUG + #define DAV_WERROR(X...) werror(X) + #else /* !DAV_DEBUG */ + #define DAV_WERROR(X...) + #endif /* DAV_DEBUG */ +    array(Standards.URI) get_test_urls(Configuration conf,    string webdav_mount_point,    string|void username,    string|void password)   {    array(Standards.URI) uris = ({});    // Run the suite once with every http protocol modules in the conf.    // This allows for testing such things as sub-path mounted sites etc.    foreach(conf->registered_urls, string full_url) {    mapping(string:string|Configuration|array(Protocol)) port_info =