Lines Matching refs:ContainsOneFormatSpecifier
36 TEST_F(CmdlineBuilderTest, ContainsOneFormatSpecifier) { in TEST_F() argument
37 EXPECT_TRUE(internal::ContainsOneFormatSpecifier("--flag=%s", 's')); in TEST_F()
38 EXPECT_TRUE(internal::ContainsOneFormatSpecifier("--flag=[%s]", 's')); in TEST_F()
39 EXPECT_TRUE(internal::ContainsOneFormatSpecifier("--flag=%s%%", 's')); in TEST_F()
40 EXPECT_TRUE(internal::ContainsOneFormatSpecifier("--flag=[%s%%]", 's')); in TEST_F()
41 EXPECT_TRUE(internal::ContainsOneFormatSpecifier("--flag=%%%s", 's')); in TEST_F()
42 EXPECT_FALSE(internal::ContainsOneFormatSpecifier("--flag=", 's')); in TEST_F()
43 EXPECT_FALSE(internal::ContainsOneFormatSpecifier("--flag=%s%s", 's')); in TEST_F()
44 EXPECT_FALSE(internal::ContainsOneFormatSpecifier("--flag=%s%", 's')); in TEST_F()
45 EXPECT_FALSE(internal::ContainsOneFormatSpecifier("--flag=%d", 's')); in TEST_F()
46 EXPECT_FALSE(internal::ContainsOneFormatSpecifier("--flag=%s%d", 's')); in TEST_F()
47 EXPECT_FALSE(internal::ContainsOneFormatSpecifier("--flag=%%s", 's')); in TEST_F()