Lines Matching refs:GetString
74 EXPECT_EQ("foobar", value.GetString()); in TEST()
81 EXPECT_EQ("foobar", value.GetString()); in TEST()
88 EXPECT_EQ("foobar", value.GetString()); in TEST()
95 EXPECT_EQ("foobar", value.GetString()); in TEST()
102 EXPECT_EQ("foobar", value.GetString()); in TEST()
124 EXPECT_EQ("bar", value.FindKey("foo")->GetString()); in TEST()
132 EXPECT_EQ("baz", value.FindKey("foo")->GetString()); in TEST()
149 EXPECT_EQ("foo", value.GetList()[0].GetString()); in TEST()
158 EXPECT_EQ("bar", value.GetList()[0].GetString()); in TEST()
217 EXPECT_EQ(value.GetString(), copied_value.GetString()); in TEST()
223 EXPECT_EQ(value.GetString(), blank.GetString()); in TEST()
318 EXPECT_EQ("foobar", moved_value.GetString()); in TEST()
324 EXPECT_EQ("foobar", blank.GetString()); in TEST()
393 EXPECT_EQ("bar", found->GetString()); in TEST()
644 EXPECT_EQ("hello", found->GetString()); in TEST()
696 ASSERT_FALSE(settings.GetString("global.homepage", &homepage)); in TEST()
705 ASSERT_TRUE(settings.GetString("global.homepage", &homepage)); in TEST()
728 ASSERT_TRUE(bookmark->GetString("name", &bookmark_name)); in TEST()
731 ASSERT_TRUE(bookmark->GetString("url", &bookmark_url)); in TEST()
755 ASSERT_FALSE(mixed_list->GetString(2, &string_value)); in TEST()
771 ASSERT_TRUE(mixed_list->GetString(3, &string_value)); in TEST()
828 ASSERT_EQ(string_value->GetString(), narrow); in TEST()
835 ASSERT_EQ(string_value->GetString(), narrow); in TEST()
931 EXPECT_EQ("foo", string_ptr->GetString()); in TEST()
938 EXPECT_EQ("baz", string16_ptr->GetString()); in TEST()
1493 EXPECT_TRUE(base->GetString("base_key", &base_key_value)); in TEST()
1496 EXPECT_TRUE(base->GetString("collide_key", &collide_key_value)); in TEST()
1499 EXPECT_TRUE(base->GetString("merge_key", &merge_key_value)); in TEST()
1506 EXPECT_TRUE(res_sub_dict->GetString("sub_base_key", &sub_base_key_value)); in TEST()
1509 EXPECT_TRUE(res_sub_dict->GetString("sub_collide_key", in TEST()
1513 EXPECT_TRUE(res_sub_dict->GetString("sub_merge_key", &sub_merge_key_value)); in TEST()
1524 EXPECT_TRUE(child->GetString("test", &value)); in TEST()
1540 EXPECT_TRUE(ptr->GetString("test", &value)); in TEST()
1545 EXPECT_TRUE(ptr->GetString("test", &value)); in TEST()
1690 EXPECT_FALSE(main_dict.GetString("bool", static_cast<std::string*>(nullptr))); in TEST()
1691 EXPECT_FALSE(main_dict.GetString("int", static_cast<std::string*>(nullptr))); in TEST()
1693 main_dict.GetString("double", static_cast<std::string*>(nullptr))); in TEST()
1695 main_dict.GetString("string", static_cast<std::string*>(nullptr))); in TEST()
1697 main_dict.GetString("binary", static_cast<std::string*>(nullptr))); in TEST()
1698 EXPECT_FALSE(main_dict.GetString("dict", static_cast<std::string*>(nullptr))); in TEST()
1699 EXPECT_FALSE(main_dict.GetString("list", static_cast<std::string*>(nullptr))); in TEST()
1700 EXPECT_FALSE(main_dict.GetString("DNE", static_cast<std::string*>(nullptr))); in TEST()
1702 EXPECT_FALSE(main_dict.GetString("bool", static_cast<string16*>(nullptr))); in TEST()
1703 EXPECT_FALSE(main_dict.GetString("int", static_cast<string16*>(nullptr))); in TEST()
1704 EXPECT_FALSE(main_dict.GetString("double", static_cast<string16*>(nullptr))); in TEST()
1705 EXPECT_TRUE(main_dict.GetString("string", static_cast<string16*>(nullptr))); in TEST()
1706 EXPECT_FALSE(main_dict.GetString("binary", static_cast<string16*>(nullptr))); in TEST()
1707 EXPECT_FALSE(main_dict.GetString("dict", static_cast<string16*>(nullptr))); in TEST()
1708 EXPECT_FALSE(main_dict.GetString("list", static_cast<string16*>(nullptr))); in TEST()
1709 EXPECT_FALSE(main_dict.GetString("DNE", static_cast<string16*>(nullptr))); in TEST()
1865 EXPECT_FALSE(main_list.GetString(0, static_cast<std::string*>(nullptr))); in TEST()
1866 EXPECT_FALSE(main_list.GetString(1, static_cast<std::string*>(nullptr))); in TEST()
1867 EXPECT_FALSE(main_list.GetString(2, static_cast<std::string*>(nullptr))); in TEST()
1868 EXPECT_TRUE(main_list.GetString(3, static_cast<std::string*>(nullptr))); in TEST()
1869 EXPECT_FALSE(main_list.GetString(4, static_cast<std::string*>(nullptr))); in TEST()
1870 EXPECT_FALSE(main_list.GetString(5, static_cast<std::string*>(nullptr))); in TEST()
1871 EXPECT_FALSE(main_list.GetString(6, static_cast<std::string*>(nullptr))); in TEST()
1872 EXPECT_FALSE(main_list.GetString(7, static_cast<std::string*>(nullptr))); in TEST()
1874 EXPECT_FALSE(main_list.GetString(0, static_cast<string16*>(nullptr))); in TEST()
1875 EXPECT_FALSE(main_list.GetString(1, static_cast<string16*>(nullptr))); in TEST()
1876 EXPECT_FALSE(main_list.GetString(2, static_cast<string16*>(nullptr))); in TEST()
1877 EXPECT_TRUE(main_list.GetString(3, static_cast<string16*>(nullptr))); in TEST()
1878 EXPECT_FALSE(main_list.GetString(4, static_cast<string16*>(nullptr))); in TEST()
1879 EXPECT_FALSE(main_list.GetString(5, static_cast<string16*>(nullptr))); in TEST()
1880 EXPECT_FALSE(main_list.GetString(6, static_cast<string16*>(nullptr))); in TEST()
1881 EXPECT_FALSE(main_list.GetString(7, static_cast<string16*>(nullptr))); in TEST()