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

Function TEST

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

Source from the content-addressed store, hash-verified

48}
49
50TEST(FileInfo, BaseName) {
51 auto info = FileInfo();
52 ASSERT_EQ(info.base_name(), "");
53 info.set_path("foo");
54 ASSERT_EQ(info.base_name(), "foo");
55 info.set_path("foo/bar/baz.qux");
56 ASSERT_EQ(info.base_name(), "baz.qux");
57}
58
59TEST(PathUtil, SplitAbstractPath) {
60 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