Home | History | Annotate | Download | only in common

Lines Matching refs:SetString

97 TEST_F(PrefsTest, SetString) {
99 EXPECT_TRUE(prefs_.SetString(kKey, kValue));
107 EXPECT_FALSE(prefs_.SetString(kKeyWithDots, "some value"));
115 EXPECT_TRUE(prefs_.SetString(kKey, kValue));
123 EXPECT_FALSE(prefs_.SetString(kKey, "test value"));
128 EXPECT_FALSE(prefs_.SetString(kKey, "test value"));
291 prefs_.SetString(kKey, "value");
309 prefs_.SetString(kKey, "value");
321 EXPECT_TRUE(prefs_.SetString(kKey, "value"));
323 EXPECT_TRUE(prefs_.SetString(kKey, "other value"));
325 EXPECT_TRUE(prefs_.SetString(kKey, "yet another value"));
335 EXPECT_FALSE(prefs_.SetString(kInvalidKey, "value"));