Home | History | Annotate | Download | only in prefs

Lines Matching defs:string

21 const char kStringPref[] = "string";
82 std::string* pref_name_in = Details<std::string>(details).ptr();
164 // Test string
165 StringPrefMember string;
166 string.Init(kStringPref, &prefs, NULL);
170 EXPECT_EQ("default", string.GetValue());
171 EXPECT_EQ("default", *string);
174 string.SetValue("foo");
175 EXPECT_EQ("foo", string.GetValue());
177 EXPECT_EQ("foo", *string);
182 EXPECT_EQ("bar", string.GetValue());
183 EXPECT_EQ("bar", *string);