This commit is contained in:
2024-10-22 09:25:55 -05:00
parent 0f60a5a467
commit 5138b0d1ab
6 changed files with 18 additions and 68 deletions

View File

@@ -165,65 +165,6 @@ namespace repertory {
// }
// }
// }
//
// TEST_F(winfsp_test, all_tests) {
// if (PROVIDER_INDEX == 0) {
// for (std::size_t idx = 0U; idx < 2U; idx++) {
// launch_app(
// ("cmd.exe /c unittests.exe --gtest_filter=winfsp_test.all_tests "
// "--provider_index " +
// std::to_string(idx) + " > unittests" + std::to_string(idx) +
// ".log 2>&1"));
// }
//
// return;
// }
//
// if (PROVIDER_INDEX == 1U) {
// return;
// }
//
// std::string mount_point;
// const auto drive_args = mount_setup(mount_point);
//
// event_capture ec({
// "drive_mounted",
// "drive_unmounted",
// "drive_unmount_pending",
// "drive_mount_result",
// });
//
// std::thread th([&] {
// const auto mounted = ec.wait_for_event("drive_mounted");
// EXPECT_TRUE(mounted);
// if (mounted) {
// root_creation_test(mount_point);
// {
// const auto file = create_test(this, mount_point);
// delete_file_test(file);
// }
// {
// const auto dir = utils::path::combine(mount_point, {"TestDir"});
// create_directory_test(dir);
// remove_directory_test(dir);
// }
// write_file_test(mount_point);
// read_file_test(mount_point);
// // TODO enable after rename support is available
// // rename_file_test(this, mount_point);
// // rename_directory_test(mount_point);
// overwrite_file_test(mount_point);
// get_set_basic_info_test(mount_point);
// }
//
// if (mounted) {
// unmount(this, mount_point);
// ec.wait_for_empty();
// }
// });
//
// execute_mount(this, drive_args, th);
// }
TYPED_TEST_CASE(winfsp_test, winfsp_provider_types);