MCPcopy Create free account
hub / github.com/apache/arrow / TEST

Function TEST

cpp/src/arrow/filesystem/filesystem_test.cc:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49TEST(FileInfo, BaseName) {
50 auto info = FileInfo();
51 ASSERT_EQ(info.base_name(), "");
52 info.set_path("foo");
53 ASSERT_EQ(info.base_name(), "foo");
54 info.set_path("foo/bar/baz.qux");
55 ASSERT_EQ(info.base_name(), "baz.qux");
56}
57
58TEST(PathUtil, SplitAbstractPath) {
59 std::vector<std::string> parts;

Callers

nothing calls this directly

Calls 15

SplitAbstractPathFunction · 0.85
AssertPartsEqualFunction · 0.85
SliceAbstractPathFunction · 0.85
GetAbstractPathExtensionFunction · 0.85
GetAbstractPathDepthFunction · 0.85
GetAbstractPathParentFunction · 0.85
AssertPairEqualFunction · 0.85
ValidateAbstractPathFunction · 0.85
ConcatAbstractPathFunction · 0.85
JoinAbstractPathFunction · 0.85
EnsureTrailingSlashFunction · 0.85

Tested by

no test coverage detected