winfsp unit tests and fixes
This commit is contained in:
parent
c16d9f9712
commit
0de0e511ee
@ -35,7 +35,7 @@ TYPED_TEST(winfsp_test, cr8_nl_can_create_file_of_max_component_length) {
|
|||||||
DWORD max_length{};
|
DWORD max_length{};
|
||||||
EXPECT_TRUE(::GetVolumeInformationA(this->mount_location.c_str(), nullptr,
|
EXPECT_TRUE(::GetVolumeInformationA(this->mount_location.c_str(), nullptr,
|
||||||
0, nullptr, &max_length, nullptr,
|
0, nullptr, &max_length, nullptr,
|
||||||
nullptr, nullptr));
|
nullptr, 0));
|
||||||
EXPECT_EQ(255U, max_length);
|
EXPECT_EQ(255U, max_length);
|
||||||
|
|
||||||
auto file_path = utils::path::combine(this->mount_location,
|
auto file_path = utils::path::combine(this->mount_location,
|
||||||
@ -58,7 +58,7 @@ TYPED_TEST(winfsp_test,
|
|||||||
DWORD max_length{};
|
DWORD max_length{};
|
||||||
EXPECT_TRUE(::GetVolumeInformationA(this->mount_location.c_str(), nullptr,
|
EXPECT_TRUE(::GetVolumeInformationA(this->mount_location.c_str(), nullptr,
|
||||||
0, nullptr, &max_length, nullptr,
|
0, nullptr, &max_length, nullptr,
|
||||||
nullptr, nullptr));
|
nullptr, 0));
|
||||||
EXPECT_EQ(255U, max_length);
|
EXPECT_EQ(255U, max_length);
|
||||||
|
|
||||||
auto file_path = utils::path::combine(this->mount_location,
|
auto file_path = utils::path::combine(this->mount_location,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user