file db unit tests and fixes
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
parent
68e76285fe
commit
f5c9fb3842
@ -199,10 +199,10 @@ TYPED_TEST(file_db_test, can_get_file_data) {
|
|||||||
|
|
||||||
i_file_db::file_data data{};
|
i_file_db::file_data data{};
|
||||||
EXPECT_EQ(api_error::success, this->file_db->get_file_data("/file", data));
|
EXPECT_EQ(api_error::success, this->file_db->get_file_data("/file", data));
|
||||||
EXPECT_STREQ("/file", data.api_path);
|
EXPECT_STREQ("/file", data.api_path.c_str());
|
||||||
EXPECT_EQ(1U, data.file_size);
|
EXPECT_EQ(1U, data.file_size);
|
||||||
EXPECT_EQ(2U, data.iv_list.size());
|
EXPECT_EQ(2U, data.iv_list.size());
|
||||||
EXPECT_STREQ("c:\\test\\file.txt", data.source_path);
|
EXPECT_STREQ("c:\\test\\file.txt", data.source_path.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
TYPED_TEST(file_db_test,
|
TYPED_TEST(file_db_test,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user