Lines Matching refs:isOk
30 EXPECT_TRUE(CheckArgumentPath("/").isOk()); in TEST_F()
31 EXPECT_TRUE(CheckArgumentPath("/1/2").isOk()); in TEST_F()
32 EXPECT_TRUE(CheckArgumentPath("/1/2/").isOk()); in TEST_F()
33 EXPECT_TRUE(CheckArgumentPath("/1/2/./3").isOk()); in TEST_F()
34 EXPECT_TRUE(CheckArgumentPath("/1/2/./3/.").isOk()); in TEST_F()
37 .isOk()); in TEST_F()
39 EXPECT_FALSE(CheckArgumentPath("").isOk()); in TEST_F()
40 EXPECT_FALSE(CheckArgumentPath("relative/path").isOk()); in TEST_F()
41 EXPECT_FALSE(CheckArgumentPath("../data/..").isOk()); in TEST_F()
42 EXPECT_FALSE(CheckArgumentPath("/../data/..").isOk()); in TEST_F()
43 EXPECT_FALSE(CheckArgumentPath("/data/../system").isOk()); in TEST_F()
44 EXPECT_FALSE(CheckArgumentPath("/data/..trick/../system").isOk()); in TEST_F()
45 EXPECT_FALSE(CheckArgumentPath("/data/..").isOk()); in TEST_F()
46 EXPECT_FALSE(CheckArgumentPath("/data/././../apex").isOk()); in TEST_F()
47 EXPECT_FALSE(CheckArgumentPath(std::string("/data/strange\0one"sv)).isOk()); in TEST_F()
48 EXPECT_FALSE(CheckArgumentPath(std::string("/data/strange\ntwo"sv)).isOk()); in TEST_F()