filesystem stuff works on linux/host

This commit is contained in:
2023-01-26 17:05:25 +01:00
parent 3e8446ba8b
commit c66fab90f9
2 changed files with 58 additions and 17 deletions

View File

@ -9,6 +9,8 @@ TEST_CASE("Filesystem Mock", "[mocks]") {
auto fsMock = FilesystemMock();
SECTION("Create File") {
std::filesystem::path myPath = "hello.txt";
std::filesystem::path myPath2("hello.txt");
FilesystemParams params("hello.txt");
CHECK(fsMock.createFile(params) == returnvalue::OK);
std::string filename_c("hello.txt");