Lines Matching refs:str_val
173 std::string str_val;
174 ASSERT_TRUE(root->GetAsString(&str_val));
175 ASSERT_EQ("hello world", str_val);
181 str_val.clear();
182 ASSERT_TRUE(root->GetAsString(&str_val));
183 ASSERT_EQ("", str_val);
190 str_val.clear();
191 ASSERT_TRUE(root->GetAsString(&str_val));
192 ASSERT_EQ(" \"\\/\b\f\n\r\t\v", str_val);
199 str_val.clear();
200 ASSERT_TRUE(root->GetAsString(&str_val));
201 ASSERT_EQ(std::wstring(L"A\0\x1234", 3), UTF8ToWide(str_val));
312 str_val.clear();
313 ASSERT_TRUE(dict_val->GetString("S", &str_val));
314 ASSERT_EQ("str", str_val);
447 str_val.clear();
448 ASSERT_TRUE(root->GetAsString(&str_val));
449 ASSERT_EQ(L"\x7f51\x9875", UTF8ToWide(str_val));