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

version» Context lines:

Roxen.git/server/etc/test/modules/TEST.pmod/http.pmod/WebDAV.pmod/TestBase.pike:509:   }      public void run()   {    mixed e = catch {    ASSERT_CALL(prepare_testdir, this::testdir);    array(mixed) testcases = indices(this);    if (getenv("TEST_CASE")) {    testcases = ({ getenv("TEST_CASE") });    } -  testcases = ({"test_mkcol_dir_already_exist"}); +     foreach (testcases, mixed testcase) {    if (stringp(testcase) &&    has_prefix((string) testcase, "test_") &&    !Parent::this[testcase]) // Do not mistake functins in parent class for testcases.    {    mixed e2 = catch {    ASSERT_CALL(before_testcase, testcase);    // Only run testcase if before() executed successfully.    report_debug("Webdav: Running testcase: %O\n", testcase);    TEST_CALL(this[testcase]);