Lines Matching refs:str_val
207 std::string str_val;
208 EXPECT_TRUE(root->GetAsString(&str_val));
209 EXPECT_EQ("hello world", str_val);
215 str_val.clear();
216 EXPECT_TRUE(root->GetAsString(&str_val));
217 EXPECT_EQ("", str_val);
223 str_val.clear();
224 EXPECT_TRUE(root->GetAsString(&str_val));
225 EXPECT_EQ(" \"\\/\b\f\n\r\t\v", str_val);
231 str_val.clear();
232 EXPECT_TRUE(root->GetAsString(&str_val));
233 EXPECT_EQ(std::wstring(L"A\0\x1234", 3), UTF8ToWide(str_val));
338 str_val.clear();
339 EXPECT_TRUE(dict_val->GetString("S", &str_val));
340 EXPECT_EQ("str", str_val);
477 str_val.clear();
478 EXPECT_TRUE(root->GetAsString(&str_val));
479 EXPECT_EQ(L"\x7f51\x9875", UTF8ToWide(str_val));
486 EXPECT_TRUE(dict_val->GetString("path", &str_val));
487 EXPECT_EQ("/tmp/\xC3\xA0\xC3\xA8\xC3\xB2.png", str_val);
501 str_val.clear();
502 EXPECT_TRUE(root->GetAsString(&str_val));
503 EXPECT_EQ("\xe2\x82\xac""3,14", str_val);
508 str_val.clear();
509 EXPECT_TRUE(root->GetAsString(&str_val));
510 EXPECT_EQ("\xf0\x9f\x92\xa9\xf0\x9f\x91\xac", str_val);
544 EXPECT_TRUE(root->GetAsString(&str_val));
545 EXPECT_EQ("root", str_val);