Lines Matching refs:IsValidObjectPath
10 TEST(StringUtilTest, IsValidObjectPath) {
11 EXPECT_TRUE(IsValidObjectPath("/"));
12 EXPECT_TRUE(IsValidObjectPath("/foo/bar"));
13 EXPECT_TRUE(IsValidObjectPath("/hoge_fuga/piyo123"));
15 EXPECT_FALSE(IsValidObjectPath(std::string()));
17 EXPECT_FALSE(IsValidObjectPath("//"));
18 EXPECT_FALSE(IsValidObjectPath("/foo//bar"));
19 EXPECT_FALSE(IsValidObjectPath("/foo///bar"));
21 EXPECT_FALSE(IsValidObjectPath("/foo/"));
22 EXPECT_FALSE(IsValidObjectPath("/foo/bar/"));
24 EXPECT_FALSE(IsValidObjectPath("foo/bar"));
26 EXPECT_FALSE(IsValidObjectPath("/foo.bar"));
27 EXPECT_FALSE(IsValidObjectPath("/foo/*"));
28 EXPECT_FALSE(IsValidObjectPath("/foo/bar(1)"));