Lines Matching refs:str_val
202 std::string str_val;
203 EXPECT_TRUE(root->GetAsString(&str_val));
204 EXPECT_EQ("hello world", str_val);
210 str_val.clear();
211 EXPECT_TRUE(root->GetAsString(&str_val));
212 EXPECT_EQ("", str_val);
218 str_val.clear();
219 EXPECT_TRUE(root->GetAsString(&str_val));
220 EXPECT_EQ(" \"\\/\b\f\n\r\t\v", str_val);
226 str_val.clear();
227 EXPECT_TRUE(root->GetAsString(&str_val));
228 EXPECT_EQ((std::string{'A', '\0', '\xE1', '\x88', '\xB4'}), str_val);
333 str_val.clear();
334 EXPECT_TRUE(dict_val->GetString("S", &str_val));
335 EXPECT_EQ("str", str_val);
472 str_val.clear();
473 EXPECT_TRUE(root->GetAsString(&str_val));
474 EXPECT_EQ("\xE7\xBD\x91\xE9\xA1\xB5", str_val);
481 EXPECT_TRUE(dict_val->GetString("path", &str_val));
482 EXPECT_EQ("/tmp/\xC3\xA0\xC3\xA8\xC3\xB2.png", str_val);
496 str_val.clear();
497 EXPECT_TRUE(root->GetAsString(&str_val));
498 EXPECT_EQ("\xe2\x82\xac""3,14", str_val);
503 str_val.clear();
504 EXPECT_TRUE(root->GetAsString(&str_val));
505 EXPECT_EQ("\xf0\x9f\x92\xa9\xf0\x9f\x91\xac", str_val);
539 EXPECT_TRUE(root->GetAsString(&str_val));
540 EXPECT_EQ("root", str_val);