MCPcopy Create free account
hub / github.com/Samsung/UTopia / TEST

Function TEST

tests/utils/TestFileUtil.cpp:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4using namespace ftg;
5
6TEST(GetParentDirectory, P) {
7
8 EXPECT_EQ(util::getParentPath("/A/B"), "/A");
9 EXPECT_EQ(util::getParentPath("A/B"), "A");
10 EXPECT_EQ(util::getParentPath("A"), "");
11}
12
13TEST(GetParentDirectory, N) {
14

Callers

nothing calls this directly

Calls 3

getParentPathFunction · 0.85
rebasePathFunction · 0.85
ASSERT_DEATHFunction · 0.85

Tested by

no test coverage detected