19 #include <glog/logging.h> 23 using namespace folly;
28 path abs1(
"/hello/world");
37 path abs4(
"/hello/world");
38 path abs5(
"/hello/world/");
39 path abs6(
"/hello/wo");
52 TEST(Simple, CanonicalizeParent) {
53 path
a(
"/usr/bin/tail");
54 path
b(
"/usr/lib/../bin/tail");
55 path
c(
"/usr/bin/DOES_NOT_EXIST_ASDF");
56 path d(
"/usr/lib/../bin/DOES_NOT_EXIST_ASDF");
#define EXPECT_THROW(statement, expected_exception)
#define EXPECT_EQ(val1, val2)
—— Concurrent Priority Queue Implementation ——
path remove_prefix(const path &pth, const path &prefix)
#define EXPECT_TRUE(condition)
#define EXPECT_FALSE(condition)
TEST(SequencedExecutor, CPUThreadPoolExecutor)
path canonical_parent(const path &pth, const path &base)
bool starts_with(const path &pth, const path &prefix)