Lines Matching refs:ParseOneDictionaryEntry
369 TEST(FuzzerDictionary, ParseOneDictionaryEntry) { in TEST() argument
371 EXPECT_FALSE(ParseOneDictionaryEntry("", &U)); in TEST()
372 EXPECT_FALSE(ParseOneDictionaryEntry(" ", &U)); in TEST()
373 EXPECT_FALSE(ParseOneDictionaryEntry("\t ", &U)); in TEST()
374 EXPECT_FALSE(ParseOneDictionaryEntry(" \" ", &U)); in TEST()
375 EXPECT_FALSE(ParseOneDictionaryEntry(" zz\" ", &U)); in TEST()
376 EXPECT_FALSE(ParseOneDictionaryEntry(" \"zz ", &U)); in TEST()
377 EXPECT_FALSE(ParseOneDictionaryEntry(" \"\" ", &U)); in TEST()
378 EXPECT_TRUE(ParseOneDictionaryEntry("\"a\"", &U)); in TEST()
380 EXPECT_TRUE(ParseOneDictionaryEntry("\"abc\"", &U)); in TEST()
382 EXPECT_TRUE(ParseOneDictionaryEntry("abc=\"abc\"", &U)); in TEST()
384 EXPECT_FALSE(ParseOneDictionaryEntry("\"\\\"", &U)); in TEST()
385 EXPECT_TRUE(ParseOneDictionaryEntry("\"\\\\\"", &U)); in TEST()
387 EXPECT_TRUE(ParseOneDictionaryEntry("\"\\xAB\"", &U)); in TEST()
389 EXPECT_TRUE(ParseOneDictionaryEntry("\"\\xABz\\xDE\"", &U)); in TEST()
391 EXPECT_TRUE(ParseOneDictionaryEntry("\"#\"", &U)); in TEST()
393 EXPECT_TRUE(ParseOneDictionaryEntry("\"\\\"\"", &U)); in TEST()