Branch: Tag:

2018-04-03

2018-04-03 13:12:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite [WebDAV]: Adjusted expectations for partial success.

1532:    }    // The destination directory has been wiped, except for dst_file2,    // which was locked. -  // No actual copy or move was performed. +  // No actual delete, copy or move was performed.    webdav_ls(this::testcase_dir,    ({ this::testcase_dir,    src_dir,    src_file1,    src_file2,    dst_dir, -  +  dst_file1,    dst_file2 }));    ASSERT_CALL_TRUE(filesystem_check_content, dst_file2, "file2 in dir2");   }
1577:    src_file2,    dst_dir,    dst_file1 })); +  ASSERT_CALL_TRUE(filesystem_check_content, dst_file1, "file1 in dir1");    } else { // method == "MOVE"    webdav_ls(this::testcase_dir,    ({ this::testcase_dir,    src_dir, -  src_file2, -  dst_dir, -  dst_file1 })); +  src_file1, +  src_file2 }));    }    ASSERT_CALL_FALSE(filesystem_check_exists, dst_file2); -  ASSERT_CALL_TRUE(filesystem_check_content, dst_file1, "file1 in dir1"); +    }      public void test_copy_col_fails_partly_1()