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