MCPcopy Create free account
hub / github.com/ClassicOldSong/Apollo / TEST_P

Function TEST_P

tests/unit/test_file_handler.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10struct FileHandlerParentDirectoryTest: testing::TestWithParam<std::tuple<std::string, std::string>> {};
11
12TEST_P(FileHandlerParentDirectoryTest, Run) {
13 auto [input, expected] = GetParam();
14 EXPECT_EQ(file_handler::get_parent_directory(input), expected);
15}
16
17INSTANTIATE_TEST_SUITE_P(
18 FileHandlerTests,

Callers

nothing calls this directly

Calls 5

get_parent_directoryFunction · 0.85
make_directoryFunction · 0.85
write_fileFunction · 0.85
read_fileFunction · 0.85
appdataFunction · 0.50

Tested by

no test coverage detected